robot_msg_viz

Imu

Acceleration (m/s²), angular velocity (deg/s) and roll/pitch/yaw (deg) over time, x/y/z in red/green/blue, and the sensor's orientation as a turning frame in 3D.

robot_msgs.sensor.Imu · its fields and functions on robotmsgs.com

Download .rrd256 KB

Sample data: sensor-Imu.rrd (256 KB), a recording over time: drag the timeline at the bottom to scrub it. The layout (a Rerun blueprint) is inside the file.

Use it in your code

import robot_msg_viz as viz

# live: opens the viewer; time comes from each message's header.stamp
with viz.stream("imu") as live:
    for reading in imu_readings:  # your robot_msgs.sensor.Imu messages
        live.log(reading)

# or a file, t in seconds (open it with: rerun imu.rrd)
viz.save_series("imu.rrd", [(i / 50.0, reading) for i, reading in enumerate(imu_readings)])

Robot state