Tools
Visualizer
A real-time dashboard that connects to your running robot and shows you exactly what's happening under the hood. It's like x-ray vision for robots.
How to Launch
Run this command while your robot is connected:
$ kenate visualize Starting WebSocket server on :8080 Opening dashboard at http://localhost:3000
Your browser will open automatically to the dashboard. Fancy, right?
Features
State Viewer
See exactly which State is active right now. Watch transitions happen in real-time.
Sensor Graphs
Real-time graphs of distance sensors, encoders, IMU heading, and battery voltage.
Motor Monitor
See the current speed of all motors. Instantly spot if something is stuck or not responding.
Transition Debugger
Visualize state transitions as a graph. Debug why your robot switched states unexpectedly.
How It Works
The visualizer connects to your running Engine via WebSocket. Every tick, the Engine sends:
- Current state name
- All sensor readings
- All motor speeds
- Log messages
- State transition history
The dashboard renders this data in real-time. No polling. It's push-based and instant.
Tips
- Run
kenate visualizeon a separate machine if your robot's CPU is limited. - Use the "Pause" button to freeze the graph and inspect a specific moment.
- Click on any state in the transition graph to see when and why it was entered.