00
In productionProbeginnerAgentic safety
The agent's tool publishes a bad type
Make the MCP publish tool validate the message type before sending.
Pairs with MCP and agentic control of ROS in Use AI efficiently with ROS 2. Read the concept first, then diagnose it here.
Unlock this lab with ProOperator report
The agent 'moves' the robot but the base ignores it; the tool published the wrong type on /cmd_vel.
Ubuntu 24.04, ROS 2 Jazzy, rclpy/rclcpp, an LLM coding assistant + MCP
System boundary
Trace only the relevant path.
- 01agent request→
- 02type validation→
- 03publisherOUT
02
How this lab works
You diagnose it. No command list.
Open the repair workspace and gather your own evidence in a real terminal. No diagnostic commands are handed to you - finding the fault is the exercise. Stuck? Progressive hints unlock inside the workspace.
Verification
Pass more than the visible symptom.
- Type is validated
- Bad payloads rejected
- Hidden regression behavior
- Root cause explanation