MPU-9250
sensors. We recommend the Grove - IMU 9DOF v2.0
board but most modules with this sensor should work.leo_firmware
. 00189_imu
part). The files can be found here:/core2/set_imu
service./core2/reset_board
service:/imu/gyro
, /imu/accel
, /imu/mag
on which IMU gyroscope, accelerometer and magnetometer readings are published. (you can check available topics with rostopic list
)rostopic echo
, for example:imu/gyro
topic) represents angular velocity around sensor's axes in rad/s (radians per second).
The accelerometer data (imu/accel
topic) represents linear acceleration along sensor's axes in m/s2 (meters per second squared).
The magnetometer data (imu/mag
topic) represents magnetic field along sensor's axes in G (Gauss)./etc/ros/urdf/robot.urdf.xacro
. Simply open the file in nano
editor by typing:<robot>
tags:imu
link represents the reference frame of the sensor readings.
base_link
is the origin of the robot.
imu_joint
specifies the transformation between these two links.<origin>
tag) depending on how you mounted the module.base_link
and imu
frames: