diagnose_gimbal_tuning
Diagnose RoboMaster gimbal PID step response, oscillation, windup, and saturation issues by analyzing live or recorded data to detect false-deadlock and provide reset guidance.
Instructions
Detailed domain-specific diagnosis tool for RoboMaster Gimbal PID step response, velocity oscillation, windup, and saturation.
PREFER passing in-memory topic_data directly from capture_topic_sync for fast tuning loops without disk I/O. Accepts bag_path for offline analysis.
False-deadlock detection: when feedback already starts at the final setpoint (step test was not reset), returns step_info.initial_position_at_final_value=True, warnings code "initial_position_at_final_value", and prepends reset guidance (send traj_=0 first, then re-run the step test).
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": "diagnose_gimbal_tuning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | yaw | |
| bag_path | No | ||
| topic_data | No | ||
| settle_criterion | No | ||
| step_threshold_rad | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |