Skip to main content
Glama

publish_once

Send a single message to a specified ROS topic using defined message type and content to control robotic movements or systems.

Instructions

Publish a single message to a ROS topic. Example: publish_once(topic='/cmd_vel', msg_type='geometry_msgs/msg/TwistStamped', msg={'linear': {'x': 1.0}})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
msgNo
msg_typeNo
topicNo

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/robotmcp/ros-mcp-server'

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