Skip to content
Snippets Groups Projects
Commit bb35787d authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Modified the ExecuteActivity result message. Added more information when requested.

parent a86035c0
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ add_message_files( ...@@ -62,6 +62,7 @@ add_message_files(
Question.msg Question.msg
Screen.msg Screen.msg
Speech.msg Speech.msg
Result.msg
) )
## Generate services in the 'srv' folder ## Generate services in the 'srv' folder
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
iri_raadical_msgs/Activity activity iri_raadical_msgs/Activity activity
--- ---
int32 return_code # Code after finishing the activity. iri_raadical_msgs/Result result
string return_msg # Optional returning msg to pass information to higher levels.
--- ---
string feedback_status string feedback_status
string[] answers
...@@ -3,4 +3,4 @@ int32 year ...@@ -3,4 +3,4 @@ int32 year
int32 month int32 month
int32 day int32 day
int32 hour int32 hour
int32 minute int32 minute
\ No newline at end of file
string activity_id # to identify the parent activity
int32 return_code # code after finishing the activity.
string return_msg # optional returning msg to pass information to higher levels.
string[] answers # sorted array containing each action answer. empty element if not captured or failed
string[] emotions # sorted array containing each action emotion. empty element if not captured or failed
string[] locations # sorted array containing each action location. empty element if not captured or failed
geometry_msgs/Pose[] poses # sorted Pose message containing each action pose. empty element if not captured or failed
...@@ -8,4 +8,4 @@ int32 emotion ...@@ -8,4 +8,4 @@ int32 emotion
# 2: tristeza # 2: tristeza
# 3: enfado # 3: enfado
--- ---
string result string result
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment