Skip to content

Commit

Permalink
set defaults in action messages and popular instance field for param
Browse files Browse the repository at this point in the history
Signed-off-by: David Brown <[email protected]>
  • Loading branch information
david-wb committed Dec 5, 2024
1 parent 3ea2011 commit accc5f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class DriveOnHeading : public TimedBehavior<ActionT>
command_x_ = command->target.x;
command_speed_ = command->speed;
command_time_allowance_ = command->time_allowance;
command_disable_collision_checks_ = command->disable_collision_checks;

end_time_ = this->clock_->now() + command_time_allowance_;

Expand Down
2 changes: 1 addition & 1 deletion nav2_msgs/action/BackUp.action
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
geometry_msgs/Point target
float32 speed
builtin_interfaces/Duration time_allowance
bool disable_collision_checks
bool disable_collision_checks False
---
#result definition

Expand Down
2 changes: 1 addition & 1 deletion nav2_msgs/action/DriveOnHeading.action
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
geometry_msgs/Point target
float32 speed
builtin_interfaces/Duration time_allowance
bool disable_collision_checks
bool disable_collision_checks False
---
#result definition

Expand Down

0 comments on commit accc5f4

Please sign in to comment.