optimize_trajectory
Optimize a robot trajectory by adjusting waypoints to minimize time, energy consumption, or smoothness. Specify the robot IP and waypoints to obtain an improved path.
Instructions
优化轨迹(时间、能耗或平滑度)
参数:
- ip: 机器人IP地址
- waypoints: 路径点列表
- optimization_type: 优化类型,可选值包括"time", "energy", "smoothness"
返回:
- 优化后的路径
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>",
"waypoints": "<waypoints>"
},
"name": "optimize_trajectory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| waypoints | Yes | ||
| optimization_type | No | time |