ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
What do you need the transformation for?
If you use a URDF and make sure your IMU link is upside down in there too, the packages that use the IMU data will use your URDF to get the TF from base_link
to imu_link
automatically (I've done the same with lidars and never had issues).
You could also use a tf listener to request the transform between base_link
to imu_link
yourself (tutorial, I'm not sure if you want cpp or python).
If you want the "right side up" IMU data yourself, is point 4 or 5 relevant to you? It's about applying rotation or inverting your TF.