love
Enable the Unitree Go2 robot to express affection through gestures or actions using natural language commands, translated into ROS2 instructions for execution.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "love"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- msgs/wirelesscontroller.py:63-65 (helper)Core implementation of the 'love' action in the WirelessController class. It first stands up from a fall and then publishes custom key presses (keys=2064) to the ROS2 topic.
def love(self): self.stand_up_from_a_fall() return self._customised_movements(keys=2064)