diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_node.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_node.hpp index 52cb37b5cb..2be52da798 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_node.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_node.hpp @@ -149,15 +149,12 @@ class BtActionNode : public BT::CoroActionNode switch (result_.code) { case rclcpp_action::ResultCode::SUCCEEDED: on_success(); - setStatus(BT::NodeStatus::IDLE); return BT::NodeStatus::SUCCESS; case rclcpp_action::ResultCode::ABORTED: - setStatus(BT::NodeStatus::IDLE); return BT::NodeStatus::FAILURE; case rclcpp_action::ResultCode::CANCELED: - setStatus(BT::NodeStatus::IDLE); return BT::NodeStatus::SUCCESS; default: diff --git a/tools/build_all.sh b/tools/build_all.sh index 2a69fe1f3a..d592fc929b 100755 --- a/tools/build_all.sh +++ b/tools/build_all.sh @@ -7,11 +7,11 @@ # set at the time we start the last step, the ros1_bridge build. if [ "$ROS2_DISTRO" = "" ]; then - export ROS2_DISTRO=dashing + export ROS2_DISTRO=eloquent fi -if [ "$ROS2_DISTRO" != "dashing" ]; then - echo "ROS2_DISTRO variable must be set to dashing" - exit 1 +if [ "$ROS2_DISTRO" != "eloquent" ]; then + echo "ROS2_DISTRO variable must be set to eloquent" + exit 1 fi set -e diff --git a/tools/initial_ros_setup.sh b/tools/initial_ros_setup.sh index 64f9dd4d53..b64e799d39 100755 --- a/tools/initial_ros_setup.sh +++ b/tools/initial_ros_setup.sh @@ -4,10 +4,10 @@ ENABLE_BUILD=true ENABLE_ROS2=true if [ "$ROS2_DISTRO" = "" ]; then - export ROS2_DISTRO=dashing + export ROS2_DISTRO=eloquent fi -if [ "$ROS2_DISTRO" != "dashing" ]; then - echo "ROS2_DISTRO variable must be set to dashing" +if [ "$ROS2_DISTRO" != "eloquent" ]; then + echo "ROS2_DISTRO variable must be set to eloquent" exit 1 fi @@ -24,7 +24,7 @@ for opt in "$@" ; do *) echo "Invalid option: $opt" echo "Valid options:" - echo "--no-ros2 Uses the binary distribution of ROS2 dashing" + echo "--no-ros2 Uses the binary distribution of ROS2 eloquent" echo "--download-only Skips the build step and only downloads the code" exit 1 ;;