stop
Initiate an immediate halt for the Unitree Go2 robot, ensuring safe and controlled cessation of all active operations using ROS2 commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "stopArguments",
"type": "object"
}
Implementation Reference
- server.py:112-115 (handler)The main handler for the 'stop' MCP tool. It is registered via the @mcp.tool() decorator and executes by calling the WirelessController's stop() method, which publishes a stop command to the robot, then returns the result message.@mcp.tool() def stop(): _, msg = wirelesscontroller.stop() return msg
- msgs/wirelesscontroller.py:87-88 (helper)Supporting helper method in the WirelessController class. Publishes a WirelessController message with keys=0 (stop command) three times at the specified rate via ros2 topic pub.def stop(self): return self._customised_movements(keys=0, times=3)