Convert IMU message to world system
I have a question about the IMU message. Is the orientation quaternion from the message defined in the world coordinate system or the robot base_link system the IMU is attached to?
You might want to take a look at REP-145: Conventions for IMU Sensor Drivers.
Note that whether a driver actually complies with that REP is something else.