You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Robot continues moving when pressing "cancel" button during navigation (happens only sometimes) #911
I followed the steps above and reproduced the behavior. The console output is:
[bt_navigator-8] [INFO] [bt_navigator]: Begin navigating from current location to (1.58, -0.65)
[dwb_controller-5] [INFO] [dwb_controller]: Received a goal, begin following path
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[bt_navigator-8] [INFO] [bt_navigator]: Navigation canceled
[dwb_controller-5] [INFO] [dwb_controller]: Goal was canceled. Cancelling and stopping.
[bt_navigator-8] [INFO] [bt_navigator]: Begin navigating from current location to (1.65, -0.52)
[dwb_controller-5] [INFO] [dwb_controller]: Received a goal, begin following path
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[bt_navigator-8] [INFO] [bt_navigator]: Navigation canceled
[dwb_controller-5] [INFO] [dwb_controller]: Goal was canceled. Cancelling and stopping.
[dwb_controller-5] terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
[dwb_controller-5] what(): goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at /home/caorduno/ros2_ws/src/ros2/rcl/rcl_action/src/rcl_action/goal_handle.c:94
[ERROR] [dwb_controller-5]: process has died [pid 9720, exit code -6, cmd '/home/caorduno/overlay_ws/install/dwb_controller/lib/dwb_controller/dwb_controller __params:=/tmp/tmpqmlbsh4q'].
[bt_navigator-8] [INFO] [bt_navigator]: Begin navigating from current location to (2.09, -1.49)
[dwb_controller-5] [INFO] [dwb_controller]: Received a goal, begin following path
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[dwb_controller-5] [INFO] [dwb_controller]: Preempting the goal. Passing the new path to the planner.
[bt_navigator-8] [INFO] [bt_navigator]: Navigation canceled
[dwb_controller-5] [INFO] [dwb_controller]: Goal was canceled. Cancelling and stopping.
[dwb_controller-5] terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
[dwb_controller-5] what(): goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at /tmp/binarydeb/ros-dashing-rcl-action-0.7.5/src/rcl_action/goal_handle.c:94
[ERROR] [dwb_controller-5]: process has died [pid 8479, exit code -6, cmd '/home/andreasziegler/ros/ros2_turtlebot3_ws/install/dwb_controller/lib/dwb_controller/dwb_controller __params:=/tmp/tmpqs_jcrgi'].
Activity
orduno commentedon Jul 8, 2019
I followed the steps above and reproduced the behavior. The console output is:
@AndreasAZiegler is this similar to your console output?
AndreasAZiegler commentedon Jul 9, 2019
@orduno Yes, my console output is similar.
orduno commentedon Jul 9, 2019
@AndreasAZiegler I've addressed the bug on #918, could you please try it and let me know if that fixes the issue on your side?
AndreasAZiegler commentedon Jul 10, 2019
@orduno I tried it a couple of times and it seems to work. Thanks.
orduno commentedon Jul 11, 2019
Closing the issue as #918 was merged.