Performance: Action definition (.action files)
This affects the responsiveness and communication efficiency between ROS nodes during asynchronous tasks.
# Goal string command # Result bool success string message # Feedback string status
# Goal string command int32[] large_data # Result bool success string message # Feedback string status
| Pattern | Message Size | Serialization Time | Network Load | Verdict |
|---|---|---|---|---|
| Large data in action messages | High | High | High | [X] Bad |
| Minimal essential fields | Low | Low | Low | [OK] Good |
.action file in ROS?.action file?.action file snippet:int32 goal_value --- int32 result_value --- float32 progress
float32 progress, so the feedback field type is float32..action file?int32 goal_value --- float32 feedback_value --- int32 result_value
.action file snippet correctly defines this?Pass the test and this pattern moves unknown