Skip to content

Commit

Permalink
Fix and complement multi-group motion capabilities
Browse files Browse the repository at this point in the history
- Implement watchdog timer to check the entire robot (all robot groups) feedback state reception.
- Increase error checking for "global"/"multi-group" trajectory goals for the `JointTrajectoryAction` server.
- Implement goal abortion/cancel capabilities for the "global/multi-group" `JointTrajectoryAction` server. 
- Implement `JointTrajectoryAction::withinGoalConstraints` function for "global"/"multi-group" trajectory goals. *Note: previous implementation of this function was not working*.
  • Loading branch information
Danfoa committed Mar 1, 2019
1 parent 72cd3af commit 5a05e89
Show file tree
Hide file tree
Showing 2 changed files with 286 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ class JointTrajectoryAction
bool has_active_goal_;

std::map<int, bool> has_active_goal_map_;

/**
* \brief Indicates which groups are active on `multi-group` action goals,
* Note: independant of `has_active_goal_map_` which handles single group goals.
*/
std::map<int, bool> multi_group_active_goals_map_;
/**
* \brief Cache of the current active goal
*/
Expand Down
Loading

0 comments on commit 5a05e89

Please sign in to comment.