-
Notifications
You must be signed in to change notification settings - Fork 552
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
LookupTransform error when using nav2 behavior tree #378
Comments
I would say that |
I agree with you, timestamp from scan message should not affect by behavior tree. I think this should be fixed eventually with humble update. Since from nav2 humble release, they do have more example behavior trees that will cause this issue. Thank you! |
Not that I can think of right now since the overall behavior depends a lot on all the timestamps in your tf-tree. By using the zero stamp you are allowing that particular lookup to consider the latest tfs in the tree, regardless of how old they are. The possible outcomes of doing so will be platform-specific. |
It seems like ROS1 TEB uses
How about changing it similar to ROS1 method? |
There is a comment block seems doing the same thing in
|
This seems to be ported to crystal long time ago from this PR by @vinnamkim Hey @vinnamkim , if possible can you explain your decision for changing the lookup time stamp? |
Problem
navigate_w_replanning_only_if_path_becomes_invalid.xml
, the global plan only publish once, as long as the path is valid, it won't triggercomputePathToPose
.teb_local_planner_ros.cpp
, lookup transform will take the stamp from global path. teb_local_planner_ros.cpp:724tf2::timeFromSec(0)
(The second argument of lookupTransform)Conclusion
Looking forwarfd to your reply, thanks!
The text was updated successfully, but these errors were encountered: