Skip to main content

IMU

The IMU node publishes orientation, angular velocity, and linear acceleration from the onboard NavX sensor.

Configuration​

imu:
enabled: true
name: "imu"
topic: "imu"
frame_id: "imu_link"

Parameters​

ParameterDescription
nameNode name
topicTopic name to publish on
frame_idTF frame ID included in the message header

Topics​

Published​

TopicTypeDescriptionRate
/<topic>sensor_msgs/ImuOrientation quaternion, angular velocity, linear acceleration20 Hz

Service​

Service name: /<name>/get_imu_data
Type: studica_control/SetData

CommandDescription
zero_yawReset the yaw reference to zero at the current heading
(any other string)Returns current pitch, yaw, and roll as a comma-separated string