-
Notifications
You must be signed in to change notification settings - Fork 55
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
Full_control fleet adapter fails to add robots under restricted network #7
Comments
These are my investigations on a cloud instance of RMF Demos Cloud instance: Contents of Cloud instance: Steps to reproduce FAILURE SCENARIO: FAILURE OUTPUT: SUCCESS SCENARIO: # Splitting up the launch seems to help with failure FOLLOW UP: Run the following: FAILURE OUTPUT ( On terminal of office_split_no_adapters.launch.xml ) On further analysis it seems that this failure does not happen is using the default RMW_IMPLEMENTATION ( fast-DDS ). |
Signed-off-by: Yadunund <yadunund@openrobotics.org>
Bug report
Required information:
Ubuntu 20.04
Installed from source
Latest version
ROS 2 foxy
Binaries
rmf_fleet_adapter
Description of the bug
When running
rmf_demos
on network restricted scenarios (>10 Mbps) thefull_control
fleet adapter will fail when trying to add robots:[full_control-16] full_control: /home/marcogg/open_rmf/src/rmf/rmf_ros2/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/FleetUpdateHandle.cpp:987: void rmf_fleet_adapter::agv::FleetUpdateHandle::add_robot(std::shared_ptr<rmf_fleet_adapter::agv::RobotCommandHandle>, const string&, const rmf_traffic::Profile&, rmf_traffic::agv::Plan::StartSet, std::function<void(std::shared_ptr<rmf_fleet_adapter::agv::RobotUpdateHandle>)>): Assertion !start.empty()' failed.
Steps to reproduce the bug
cyclonedds
as it generates higher traffic when running on localhost:export RMW_IMPLEMENTATION=rmw_cyclonedds_cp
sudo tc qdisc change dev lo root netem rate 10mbps
ros2 launch rmf_demos office_demo.launch
Expected behavior
The RMF office demo should run as per normal and full_control should be running.
Actual behavior
Full control fails to run as the assertion fails when tying to add the robot.
Additional information
After a quick look to the issue, it seems that:
rmf_traffic::agv::Plan::StartSet
fleet->add_robot()
function atfull_control/main_cpp
at line 470, it looks like this should be generated byrmf_traffic::agv::compute_plan_starts
and for some reason is empty.gazebo
is not ready yet and maybe the time used at the parameterrmf_traffic_ros2::convert(adapter->node()->now())
is not correct. If this is to be true then it might also mean that the demo will also fail in anything that makes gazebo start slowly like maybe some low resources computers.The text was updated successfully, but these errors were encountered: