The IM19 Integration Guide is the best documentation we have for this. You can also refer to the RTK Everywhere Tilt source code for how the firmware configures the IM19. The critical part is ensuring the LEVER_ARM / LEVER_ARM2, INSTALL_ANGLE and CLUB_VECTOR are set correctly. This forum post contains more detail on the LEVER_ARM2 settings and coordinate system.
The RTK Everywhere firmware extracts the compensated pole tip position from the IM19 binary NAVI messages and - if enabled - will cut and paste that position into the standard NMEA messages from the GNSS. Please see applyCompensationGGA for more detail. In future firmware we will be moving from the binary NAVI message to the NMEA ASCII format GPFMI message; it contains the same information but is human-readable.
For alternate IMUs, you may want to look at the Forsense FSS-IMU614E-P. But we currently have no experience with that part. Integrating a AHRS IMU may be possible but you would need to calculate the compensated pole tip position manually. That’s not something we can help you with. We know the IM19 works well and is very accurate. We will be supporting the IM19 for the foreseeable future.