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])
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": "publish_for_durations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| durations | No | ||
| messages | No | ||
| msg_type | No | ||
| topic | No |