You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a real robot (nano500xw02) with use_sim_time set to false, and I am experiencing an issue with the values published in the /fleet_states topic. When I monitor the topic using ros2 topic echo /fleet_states, the values appear unrealistic, specifically:
Battery Percentage: 1.401298464324817e-45
Location (x, y, yaw):
x: 7.507128761641381e+23
y: 0.00036577426362782717
yaw: 7.976202964782715
Here is a sample output from the /fleet_states topic:
If you run an instance of rviz do the robots show in the correct location?
It might be a long shot but from personal experience I had such issues when the terminal / machine where the fleet adapter is running and the machine where I'm running ros2 topic echo have different version of the message files.
This can cause ABI incompatibility (basically misaligned data) that causes the ros2 topic echo machine to receive corrupted data.
Can you confirm that :
Both commands are being ran on the same machine and / or
They are using the same Open-RMF version, ROS 2 version
Yes, they are running on the same machine. In RViz, the robots appear in the correct locations. However, the version of RMF I built is different from my ROS 2 version. I built the jazzy version of RMF from source, but my installed ROS 2 version is Humble, since the RMF in Humble is missing a lot of features.
What I would recommend here is to make sure that you do not have any RMF related Humble packages installed, as well as making sure you source the same setup.bash files in both the terminal that you use to run RMF and the one you use to echo the topic.
Before proceeding, is there an existing issue or discussion for this?
Description
I am using a real robot (nano500xw02) with use_sim_time set to false, and I am experiencing an issue with the values published in the /fleet_states topic. When I monitor the topic using ros2 topic echo /fleet_states, the values appear unrealistic, specifically:
Battery Percentage: 1.401298464324817e-45
Location (x, y, yaw):
x: 7.507128761641381e+23
y: 0.00036577426362782717
yaw: 7.976202964782715
Here is a sample output from the /fleet_states topic:
API Endpoint Data: Interestingly, when I query the data using the RMF API fleet endpoint, I receive correct and realistic values for the same robot:
The text was updated successfully, but these errors were encountered: