-
Notifications
You must be signed in to change notification settings - Fork 59
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
Navigation delay during multi-robot planning different paths. #252
Comments
Thanks for reporting this issue. Are you able to share your map package and a set of launch files that can recreate this issue so we can debug it on our end? |
Hi @mxgrey
We can see, robot1 did not move and kept waiting untill robot2 had arrived at P8. In fact ,there is no overlap between the two paths. delay.mp4
The test result is as expected ,robot1 began to move immediately. The only difference between the two test cases is the initial position of robot2. |
I've seen this happen before, but I haven't tracked down a cause because I've found it difficult to reproduce. The intended behavior is for robot1 to start moving once robot2 reaches P9, but it seems that dependency is not being calculated correctly. Is this being done in simulation and does it happen consistently? If so, you could share the launch files. I should be able to debug and fix this behavior if I can just reproduce it consistently. That being said, the next generation of RMF will be migrating to a more robust approach to traffic dependency management so the issue should be solved either way eventually. |
this is being done using my own fleet_adapter not rmf_demos. I don't think my launch file is useful to you to investigate this issue. I think it is a better way that I reproduce this issue and save the log for you to debug. I ran this case multiple times. Sometimes robot1 starts to move when robot2 reaches P9, sometimes robot1 starts to move when robot 2 reaches P8. The unexpected behavior happened very frequently, I can reproduce this issue easily. |
The log won't provide enough information to debug the internals. We're going to improve debug logs in the next generation. If you're able to provide the |
@mxgrey sure, you can get test.building.yaml from the following link. |
@mxgrey Thanks |
Apologies for the delay on this. I did manage to reproduce the problem and I found a solution. I've incorporated the solution into this PR (which is the main thing I've been working on this past month). Once that PR is merged, simply switching to that branch should fix the problem. Additionally with that PR you can consider switching to the new EasyFullControl Python API which should both drastically simplify your fleet adapter code as well as fix some known pain points that can cause misbehaviors. But you shouldn't have to switch to this new API to still benefit from the traffic dependency fix. |
@mxgrey This is absolutely a great news for me! Thank you very much! |
@mxgrey Could you please tell me the merge plan for this fix? I can hardly wait to test it. :) |
We're adding one more small piece to the API for more configuration options, and then we're going to continue testing various use cases for a while. I expect it will be merged into In the meantime if you're building RMF from source code, you can go into
to get the relevant code. Then go back to the root of your colcon workspace and build as normal. |
I noticed that there was one new release delivered on August 10th. |
I bit more testing was needed before the last sync, but the changes are merged into You can try updating to all the latest |
Hi Team,
Video.mp4
We have two delivery robots delivery1, delivery2 respectively. We have provided commands i.e, dispatch_go_to_place to two robots simultaneously. we have observed that robots have planed entirely different paths to reach the Target locations as shown in video.
The issue is delivery2 (robot on left hand side) robot is not moving and keep waiting until delivary1 (robot on right hand side) robot reached to target position.
Delivery2 robots started moving only after delivery1 robot reached target location even-though there paths are different .
This behavior will affect productivity and unnecessary delay in robot movement even-though the path is Free.
Is there any way to avoid such delay.
Please find the attached video for reference.
The text was updated successfully, but these errors were encountered: