Posted by @lkw303:
Hi sorry for this late reply, but I happen to chance upon this, while browsing through the RMF discussions.
What’s the frequency of these path requests? This is most likely intended behavior coming from the ResponsiveWait phase, although we may want to consider cleaning this up since admittedly the noise can be confusing, and it’s using unnecessary bandwidth.
Yes I believe that the ResponsiveWait feature as I previously have ran the old version of RMF with use_sim_time
set to false
from OSRF’s repository , (which does not have the ResponsiveWait feature added yet if I’m not wrong) and I did not face this issue. However when I used it with the later version of RMF from Open-RMF I faced the same issue caused by the 2 path request sent to the robot due to the ResponsiveWait feature.
Additionally I believe you are running this in simulation rather than in real life? Otherwise, I believe your clocks would most probably be synced by the computer’s clock with Unix time and this issue would not have occured? If your are running a simulation, my solution to syncing the time between ROS1 and ROS2 was to run a ROS1_bridge to bridge the /clock
topic which solved the issue for me.
I have actually forked a copy of free fleet (GitHub - siot-decada-robotics/free_fleet: A free fleet management system.) which has some instructions to run RMF and FreeFleet together with RMF in simulation. Although there are a few “hacky” methods used to get it to work such as the syncing of the /clock
topic with the ROS1_bridge and running
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/rmf_ws/install/rmf_door_msgs/lib:~/rmf_ws/install/rmf_building_sim_gazebo_plugins/lib:~/rmf_ws/install/rmf_building_sim_common/lib:/opt/ros/foxy/lib
before launching the Simulation with ROS1 in order to get gazebo to run the ROS2 plugins for the doors and lifts.
Additionally, I was able to run RMF with Free Fleet in real life as well using what is currently available on the repositories , with multiple Turtlebot3s running with ROS1 , just by tweaking certain parameters in the launch files of the Fleet Adapter, Free Fleet Server and the Free Fleet Client.
Please do correct me if I’m giving poor advice here thanks.
Edited by @lkw303 at 2021-07-29T18:32:15Z