-
Notifications
You must be signed in to change notification settings - Fork 97
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
Reactive easy full control #188
Reactive easy full control #188
Conversation
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
…active_easy_full_control
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
rmf_demos_fleet_adapter/rmf_demos_fleet_adapter/fleet_adapter.py
Outdated
Show resolved
Hide resolved
I noticed a quite reproducible (most times, but not 100% of the times) jump in the schedule after a negotiation. I'm not sure what implications it might have but it seems a bit odd. I can reproduce it best at startup in the battle royale scenario:
An example video is below, robot with the schedule jump is in the top left. In all my tests it's either TinyRobotA or TinyRobotB in the top left of the map. Screencast.from.2023-07-13.10-59-19.webm |
After some brief testing, I noticed that when a cleanerbot's cleaning path gets in the way of a patrol robot's route, the robots get stuck in a deadlock without negotiation. Not 100% sure but it might be because trajectory scheduling is not implemented for the cleaning perform action (example) . hotel-efc-5x-cut.mp4 |
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Strange, it is implemented. I might suggest trying a clean build with the activity_schedule.mp4Maybe try a test where you just send the cleaning bot with nothing else running and see if the cleaning trajectory shows up on the schedule. |
Ah yes you're right, a clean build and the trajectories are back up! I can still reproduce the same situation though. Haven't figured out a potential cause, leaving a screen recording with terminal logs here first. hotel_2.mp4 |
@luca-della-vedova Good catch, I've found a subtle bug in the schedule update code that wasn't correctly accounting for planned waits. If you run the latest version the problem should be completely gone now. @xiyuoh I've added traffic checkpoints for the activity (in this case cleaning) traffic schedule, so now the traffic negotiations should work better. |
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's really awesome seeing how simple it is now to write a new fleet adapter!
|
||
Request URL: `http://127.0.0.1:22011/open-rmf/rmf_demos_fm/start_task/?robot_name=tinyRobot1` | ||
Request URL: `http://127.0.0.1:22011/open-rmf/rmf_demos_fm/start_activity/?robot_name=tinyRobot1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Should we update the response body to indicate the existence of msg["data"]["path"]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea, added in 39ba81a
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
This PR updates #158 to be compatible with open-rmf/rmf_ros2#286