Skip to main content
Glama

subscribe_for_duration

Subscribe to a specific ROS topic for a defined duration to collect messages, specifying message type and maximum message count for precise data gathering.

Instructions

Subscribe to a topic for a duration and collect messages. Example: subscribe_for_duration(topic='/cmd_vel', msg_type='geometry_msgs/msg/TwistStamped', duration=5, max_messages=10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
durationNo
max_messagesNo
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