|
@@ -20,3 +20,19 @@ type LocateInfo struct {
|
|
|
ErrorCode int64 `rosname:"error_code"`
|
|
|
Message string `rosname:"message"`
|
|
|
}
|
|
|
+type TaskInfo struct {
|
|
|
+ msg.Package `ros:"common_msgs"`
|
|
|
+ TaskID string `rosname:"task_id"`
|
|
|
+ TaskType int32 `rosname:"task_type"`
|
|
|
+ SubTaskType int32 `rosname:"sub_task_type"`
|
|
|
+ TransitionTask bool `rosname:"transition_task"`
|
|
|
+ CanRotation bool `rosname:"can_rotation"`
|
|
|
+ Point geometry_msgs.PoseStamped `rosname:"point"`
|
|
|
+}
|
|
|
+type TaskFeedbackInfo struct {
|
|
|
+ msg.Package `ros:"common_msgs"`
|
|
|
+ TaskInfo TaskInfo `rosname:"task_info"`
|
|
|
+ TaskStatus int8 `rosname:"task_status"`
|
|
|
+ TaskErrorCode int64 `rosname:"task_error_code"`
|
|
|
+ Message string `rosname:"message"`
|
|
|
+}
|