Skip to content

Commit

Permalink
Update to change in task composer node info
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed May 29, 2024
1 parent f985c17 commit a6b1a7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions tesseract_msgs/msg/TaskComposerNodeInfo.msg
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ string[] output_keys
# Value returned from the Task on completion
int32 return_value

# Debug message
string message
# Status code
int32 status_code

# Status message
string status_message

# Time elapsed
float64 elapsed_time
Expand Down
6 changes: 4 additions & 2 deletions tesseract_rosutils/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2309,7 +2309,8 @@ bool toMsg(tesseract_msgs::TaskComposerNodeInfo& node_info_msg, tesseract_planni
node_info_msg.input_keys = node_info.input_keys;
node_info_msg.output_keys = node_info.output_keys;
node_info_msg.return_value = node_info.return_value;
node_info_msg.message = node_info.message;
node_info_msg.status_code = node_info.status_code;
node_info_msg.status_message = node_info.status_message;
node_info_msg.elapsed_time = node_info.elapsed_time;

return true;
Expand All @@ -2331,7 +2332,8 @@ fromMsg(const tesseract_msgs::TaskComposerNodeInfo& node_info_msg)
node_info->input_keys = node_info_msg.input_keys;
node_info->output_keys = node_info_msg.output_keys;
node_info->return_value = node_info_msg.return_value;
node_info->message = node_info_msg.message;
node_info->status_code = node_info_msg.status_code;
node_info->status_message = node_info_msg.status_message;
node_info->elapsed_time = node_info_msg.elapsed_time;

return node_info;
Expand Down

0 comments on commit a6b1a7b

Please sign in to comment.