dance
Enables the Unitree Go2 robot to execute dance routines by translating natural language commands into ROS2 instructions via the MCP server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "danceArguments",
"type": "object"
}
Implementation Reference
- server.py:106-110 (handler)MCP tool handler for the 'dance' tool, registered via @mcp.tool() decorator. Executes by calling wirelesscontroller.dance() and then stop().@mcp.tool() def dance(): _, msg = wirelesscontroller.dance() wirelesscontroller.stop() return msg
- msgs/wirelesscontroller.py:83-85 (helper)Helper method implementing the dance action on the WirelessController instance used by the tool handler.def dance(self): self.stand_up_from_a_fall() return self._customised_movements(keys=514)