Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning. #552
Replies: 15 comments 2 replies
-
Hello! To start off, may I check which fleet adapter you're running? Did you implement one with the latest fleet adapter template that uses the Easy Full Control API, or are you using the legacy full control fleet adapter? Or perhaps you're using the free fleet adapters available that works with Nav2 clients, they are pretty outdated but there is an open PR that improves the implementation using the Easy Full Control API and zenoh bridge, you might want to check that out. The next thing to check is whether your fleet adapter is using the correct API for battery state. From your topic echo it seems like |
Beta Was this translation helpful? Give feedback.
-
Hi @xiyuoh ... this is my custom data to the /batter_state.. ros2 topic echo /battery_state.. `header: 8.673995018005371 But at the same time... How can i handle it.. Actually i doing like this please guide me @xiyuoh
Please help me @xiyuoh how can i do openrmf on turtlebot3. |
Beta Was this translation helpful? Give feedback.
-
Hi @xiyuoh Thanks for guiding me sorry for confused you i added that turtlebot3_adapter.launch.xml file at that path... when i connect the things to real robot it is saying above issue.. fleet name is turltebot3 ,.. `
|
Beta Was this translation helpful? Give feedback.
-
Hi @xiyuoh My issue is... when i bringup the bot . I got the data in /batter_state is.. header:
|
Beta Was this translation helpful? Give feedback.
-
This is my launch file
|
Beta Was this translation helpful? Give feedback.
-
We need to see the content of |
Beta Was this translation helpful? Give feedback.
-
Hi i previously shared.. Again i am sharing..
|
Beta Was this translation helpful? Give feedback.
-
I see, you are running the legacy full control and this is the area where the battery soc is updated. A few notes:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for providing the full launch file this time. From what I see you're running the legacy full control fleet adapter, which takes in robot state updates via the However, when integrating with real robots, I don't see you implementing a conversion between the TB3 transforms to a valid The solution to implementing fleet adapters going forward is to use the EasyFullControl fleet adapter with examples found on Last and most importantly for your integration, I'll point you to this PR again on |
Beta Was this translation helpful? Give feedback.
-
Hi @xiyuoh `name: turtlebot3
|
Beta Was this translation helpful? Give feedback.
-
How are you publishing your As you can see the reported percentage by the node that is publishing that topic is 3221% which is not valid |
Beta Was this translation helpful? Give feedback.
-
yeah you are right.. @luca-della-vedova I am not publishing any data to /robot_state topic...
I am bringing up my bot..
|
Beta Was this translation helpful? Give feedback.
-
That is not possible.
The robot state aggregator subscribes to |
Beta Was this translation helpful? Give feedback.
-
Thank you for helping me @luca-della-vedova @xiyuoh In simulation I launch the world and navigation with the world file. And I created rmf map in traffic editor. And I launch the client and server and rmf things . it was taking the task from the panel every thing is working fine..I changed few parameters in the server file to align in the RMF map. Batter value Is 95 like that. Same thing I tried to replicate in my bot . I bring up the bot and run the navigation file with the map file. I created the map in the traffic editor. Launched client and server and RMF .while RMF launching it saying the below error . (/robot_state topic is not there ). What I thought is if the below error will solve means my robot will move.
I thought the same way it will work for my real robot. |
Beta Was this translation helpful? Give feedback.
-
Hi I did Free fleet adapter using easy-full-control fleet adapter and zenoh bridges Install humble rmf clone the branch easy full controll free fleet ( git clone -b easy-full-controll <> ) zenoh v11 setup i did .. ros2 run free_fleet_examples test_navigate_to_pose.py This command is working... i sends the goal and robot is moving when the launch free fleet adapter i got this issue.. How can i resolve this issue @luca-della-vedova @xiyuoh |
Beta Was this translation helpful? Give feedback.
-
Before proceeding, is there an existing issue or discussion for this?
Description
Error/...
Bot : Real Turtlebot3
Distro: Humble
Running Nav2, client , server and RMF..
Getting this issue..
planning. [full_control-15] [ERROR] [1729862531.098979290] [turtlebot3_fleet_adapter]: Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning. [full_control-15] [ERROR] [1729862531.599059451] [turtlebot3_fleet_adapter]: Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning. [full_control-15] [ERROR] [1729862532.099110259] [turtlebot3_fleet_adapter]: Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning. [full_control-15] [ERROR] [1729862532.599304815] [turtlebot3_fleet_adapter]: Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning. [full_control-15] [ERROR] [1729862533.099170416] [turtlebot3_fleet_adapter]: Battery percentage reported by the robot is outside of the valid range [0,100] and hence the battery soc will not be updated. It is critical to update the battery soc with a valid battery percentage for task allocation planning.
ros2 topic echo /battery_state..
`header:
stamp:
sec: 1729862443
nanosec: 418551668
frame_id: base_link
voltage: 8.673995018005371
temperature: 25.122230529785156
current: -5.0
charge: 149.38681030273438
capacity: 110.0
design_capacity: 150.0
percentage: 0.9900000095367432
power_supply_status: 2
power_supply_health: 1
power_supply_technology: 2
present: true
cell_voltage:
cell_temperature:
location: SIM-SLOT-1
`
Please help me
ode name: NODE_NAME_UNKNOWN
Node namespace: NODE_NAMESPACE_UNKNOWN
Topic type: sensor_msgs/msg/BatteryState
Endpoint type: PUBLISHER
GID: 01.0f.d3.8e.d0.00.cc.ff.00.00.00.00.00.00.12.03.00.00.00.00.00.00.00.00
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: VOLATILE
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
Liveliness lease duration: Infinite
`ros2 node info /turtlebot3_node
/turtlebot3_node
Subscribers:
/cmd_vel: geometry_msgs/msg/Twist
/parameter_events: rcl_interfaces/msg/ParameterEvent
Publishers:
/battery_state: sensor_msgs/msg/BatteryState
/imu: sensor_msgs/msg/Imu
/joint_states: sensor_msgs/msg/JointState
/magnetic_field: sensor_msgs/msg/MagneticField
/parameter_events: rcl_interfaces/msg/ParameterEvent
/rosout: rcl_interfaces/msg/Log
/sensor_state: turtlebot3_msgs/msg/SensorState
Service Servers:
/motor_power: std_srvs/srv/SetBool
/reset: std_srvs/srv/Trigger
/sound: turtlebot3_msgs/srv/Sound
/turtlebot3_node/describe_parameters: rcl_interfaces/srv/DescribeParameters
/turtlebot3_node/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
/turtlebot3_node/get_parameters: rcl_interfaces/srv/GetParameters
/turtlebot3_node/list_parameters: rcl_interfaces/srv/ListParameters
/turtlebot3_node/set_parameters: rcl_interfaces/srv/SetParameters
/turtlebot3_node/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
Service Clients:
/turtlebot3_node/describe_parameters: rcl_interfaces/srv/DescribeParameters
/turtlebot3_node/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
/turtlebot3_node/get_parameters: rcl_interfaces/srv/GetParameters
/turtlebot3_node/list_parameters: rcl_interfaces/srv/ListParameters
/turtlebot3_node/set_parameters: rcl_interfaces/srv/SetParameters
/turtlebot3_node/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
Action Servers:
Action Clients:
`
Beta Was this translation helpful? Give feedback.
All reactions