Skip to main content
Glama

love

Enable the Unitree Go2 robot to express affection through gestures or actions using natural language commands, translated into ROS2 instructions for execution.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "loveArguments", "type": "object" }

Implementation Reference

  • server.py:76-80 (handler)
    MCP tool handler for the 'love' tool. Calls WirelessController.love() method and then stops the controller, returning the result message.
    @mcp.tool() def love(): _, msg = wirelesscontroller.love() wirelesscontroller.stop() return msg
  • 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)

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lpigeon/unitree-go2-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server