-
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
Costmap activation blocks for ever if required tf transform is not available #3749
Comments
A timeout parameter could be made that could fail a transition after The only additional thing is to check that output in the planner / controller servers to make sure that the return type is sent back to the main server to fail its transition |
Any update? 😄 |
I think the change is not so trivial, because the costmap lifecycle node will then transition to the error state and you would need to check its current lifecycle state in the controller_server |
I think that you might be overthinking it, but I also could be missing an important detail :-) The planner/controller servers call The costmap transitions mirror the main server's transitions, so as part of planner/controller configuring/activating, we can just pay attention to what the costmap is telling us and relay that as a failure to the main server's transitions if the costmap is unable to do so. |
Merged! |
Bug report
Required Info:
Steps to reproduce issue
Activate the controller server without providing the transformation from
robot_base_frame
toglobal_frame
Expected behavior
The transition from configured to active fails
Actual behavior
The transitions blocks indefinitely
Additional information
In the costmaps
on_activate
method it is waited indefinitely for the transform fromrobot_base_frame
toglobal_frame
to become available. In my opinion a behavior wherenav2_util::CallbackReturn::FAILURE
is returned after some timeout would make more sense.The text was updated successfully, but these errors were encountered: