Skip to main content
Glama

ROS MCP Server

Apache 2.0
173
  • Apple
  • Linux

publish_for_durations

Schedule and publish a sequence of ROS messages with specified delays to control robotic movements, enabling precise velocity manipulation through timed commands.

Instructions

Publish a sequence of messages with delays. Example: publish_for_durations(topic='/cmd_vel', msg_type='geometry_msgs/msg/TwistStamped', messages=[{'linear': {'x': 1.0}}, {'linear': {'x': 0.0}}], durations=[1, 2])

Input Schema

NameRequiredDescriptionDefault
durationsNo
messagesNo
msg_typeNo
topicNo

Input Schema (JSON Schema)

{ "properties": { "durations": { "default": [], "items": {}, "title": "Durations", "type": "array" }, "messages": { "default": [], "items": {}, "title": "Messages", "type": "array" }, "msg_type": { "default": "", "title": "Msg Type", "type": "string" }, "topic": { "default": "", "title": "Topic", "type": "string" } }, "title": "publish_for_durationsArguments", "type": "object" }

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