From accc5f49605c9b140faa192cf0aa961fd0aa7ec8 Mon Sep 17 00:00:00 2001 From: David Brown Date: Thu, 5 Dec 2024 21:50:23 +0000 Subject: [PATCH] set defaults in action messages and popular instance field for param Signed-off-by: David Brown --- .../include/nav2_behaviors/plugins/drive_on_heading.hpp | 1 + nav2_msgs/action/BackUp.action | 2 +- nav2_msgs/action/DriveOnHeading.action | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nav2_behaviors/include/nav2_behaviors/plugins/drive_on_heading.hpp b/nav2_behaviors/include/nav2_behaviors/plugins/drive_on_heading.hpp index 8eb27fc407..8a37f26a63 100644 --- a/nav2_behaviors/include/nav2_behaviors/plugins/drive_on_heading.hpp +++ b/nav2_behaviors/include/nav2_behaviors/plugins/drive_on_heading.hpp @@ -77,6 +77,7 @@ class DriveOnHeading : public TimedBehavior 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_; diff --git a/nav2_msgs/action/BackUp.action b/nav2_msgs/action/BackUp.action index c9a590dc8d..a3bd0cf1af 100644 --- a/nav2_msgs/action/BackUp.action +++ b/nav2_msgs/action/BackUp.action @@ -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 diff --git a/nav2_msgs/action/DriveOnHeading.action b/nav2_msgs/action/DriveOnHeading.action index 735761ad76..567fdc718a 100644 --- a/nav2_msgs/action/DriveOnHeading.action +++ b/nav2_msgs/action/DriveOnHeading.action @@ -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