Replies: 3 comments 10 replies
-
And I have another question about approach_lanes of waypoint in the follow_new_path. |
Beta Was this translation helpful? Give feedback.
-
Can I avoid collision by enlarging the vicinity to 3.0m? |
Beta Was this translation helpful? Give feedback.
-
I might need more information about what exactly you're experiencing, but in theory the accuracy of the arrival estimation should not be a significant issue. If two robots have a conflict, then one is supposed to wait on the other until it is truly out of the way. The traffic dependency system should not allow a slightly inaccurate estimation to trigger a robot to advance prematurely. Therefore I suspect there is a different problem happening in your scenarios. Can you provide us with a simple |
Beta Was this translation helpful? Give feedback.
-
Hi, @mxgrey
Recently, I met some very tricky issues when using RMF.
I wrote a new fleet_adapter based on rmf_demos_fleet_adapter.
The main difference between rmf_demos_fleet_adapter and my_fleet_adapter is :
In rmf_demos_fleet_adapter, the waypoints in follow_new_path will be delivered to the robot one by one.
But I need to deliver all the waypoints in the follow_new_path to the robot one time. That I will monitor the robot's location and call update_handle.update_current_waypoint, or update_handle.update_current_lanes to inform RMF in time. At the same time, I will call next_arrival_estimator to update the duration to the next arrival periodically.
With my_fleet_adapter, two robots collision and dead_lock happened more often than with rmf_demos_fleet_adapter. I think it must be related with inaccurate data I fed to RMF core.
I also notice there are some configuration item, such as vicinity, velocity, max_delay and so on, they must be related with traffic planning. But I am not sure how to configure them correctly. Could you please help shed some light on them here? Or anything else you may advise to avoid collision and deadlock?
If I update the next_arrival_estimator to one waypoint as 5 seconds, but in fact the robot arrived at that waypoint after 3 seconds, will this cause two robots collision when the two scheduled paths for the two robots are overlapped at that waypoint?
Thank you very much
Stella
Beta Was this translation helpful? Give feedback.
All reactions