-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigate To Pose and Pause Near Goal Obstacle Doesn't Work #4729
Comments
Do you see logging that the control is canceled and the with behavior action is being called? That section of the BT looks correct to me, so I’m wondering if that section of tree is being called. #4681 files a ticket that the path longer on approach has some problems that @padhupradheep is looking at. If you can see that these are not being called in your ros logs, then it’s the case that the condition isn’t working in your case and we should migrate the conversation over to that ticket to consolidate. Or, I think my memory serves that there was another issue with that condition node, @padhupradheep is there something we (cough I cough) should have back ported but didn’t to humble? |
I added RCLCPP_INFO's but I can't get any log from the node...
My Logs...
|
That is inside of the if statement, so that doesn’t generally show what’s being outputted by each. I think this relates to the ticket I linked to above. Maybe we should consolidate the discussion there with your findings of the logging before the if statement? |
I think this behavior is different than #4681. |
Got it! I just checked and that was not backported to Humble yet. I plan to do a sync once I’m back from Europe for ROSCon and ROS-I the week of Nov 3. If you’re in a rush, you can open a backport PR for that commit to Humble and I can merge it into the branch so that mainline source works for you! |
I changed my cpp file to this commit My new cpp file:
But the problem is still the same... new.example.mp4Output:
|
Thanks for reporting @yigitboracagiran and it is a good find. I'd check it out and get back to you soon. Probably in few days. @SteveMacenski I think we cannot just back port the changes made for Jazzy to humble because of the difference in BT versions and as well as the node functionalities. This needs to be checked carefully. I'll take care of both the issues related to the node and get back ASAP. |
Thank you, I'll be waiting for your answer... |
Thanks @padhupradheep -- let me know how it goes! I'm just now back from Europe from ROSCon and associated events. |
Any progress? |
Sorry for the delay, I'm swamped for few more weeks. I'd try to get to the bottom of it ASAP. |
One quick point @yigitboracagiran would be great if you can test it out.. And I don't remember why I didn't take care of it then.. 🤯 |
How can I try it without composition, can you help me |
|
I think now something has changed, I'm analyzing... |
Why has it changed? How does new_video.online-video-cutter.com.mp4 |
@SteveMacenski have you seen any other behaviors exhibiting this problem with composition ? |
Thanks for the help @yigitboracagiran |
For humble, we have to do this back port as suggested by @chanhhoang99 for sure: #4729 (comment) |
I've never seen anything behaviorally change because of composition, no. Only computation use and latencies. |
Bug report
Required Info:
Steps to reproduce issue
1- I've changed the
default_nav_to_pose_bt_xml
frombt_navigator
's parameters and set the value to<path_to>nav_to_pose_and_pause_near_goal_obstacle.xml
nav_to_pose_and_pause_near_goal_obstacle.xml:
2- Running
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
3- Running
ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=True
4- Give a NAV2 Goal to the robot.
5- Put an obstacle in the path.
Expected behavior
Robot should wait for
wait_duration
parameter inside theCancelingControlAndWait
.Actual behavior
I can't make the robot to wait. When I put an obstacle dynamically in Gazebo, it recalculates the path and it moves to the goal, instead of waiting for
wait_duration
parameter inside theCancelingControlAndWait
.Additional information
378824118-3af2c407-5152-4e3d-9bc0-53be97746100.mp4
The text was updated successfully, but these errors were encountered: