Robot state
The question it answers
What is the robot doing right now, and is anything unhealthy? A live page: the URDF arm moved by the JointState with its wrist wrench, the joints, efforts and base IMU over time, and apart from them the health: a lane per component, drive temperatures and the warnings.
It runs Rerun's desktop viewer on this recording; uvx fetches it the first time and installs nothing for good. Already have it? pip install rerun-sdk==0.40.0 once, then rerun <url>.
Sample data: robot_state.rrd (1.1 MB), 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_dashboards as dash
with dash.stream("robot_state") as live:
for t, state, wrench, imu in robot.read(): # e.g. 25-500 Hz
live.log(t=t, joint_state=state, wrench=wrench, imu=imu)
if t >= next_health: # e.g. 1 Hz
live.log(t=t, servos=drives.read(), diagnostics=monitor.records())
next_health += 1.0