Posted by @cwrx777:
Hi,
rmf release: iron 20231229
in my fleet adapter config, I have configured recharge_threshold
to 0.10
and recharge_soc
to 0.20
but there were warnings as shown below when the robot (MiR250) battery was still more than 80% (confirmed by replaying rosbag).
The robot was to perform a patrol task to a waypoint on another floor for 1 iteration, with distance from current position to the lift and from lift to the destination waypoint less than 20 meters
Unable to estimate final state for direct task request [patrol_71a3814d-285f-4230-93a9-4b055b4adfcd]. This may be due to insufficient resources to perform the task. The task will be still be added to the queue.
Robot [WardRobot_051] needs to be charged but has insufficient battery remaining to retreat to its designated charger.
For the rest of the robots (same model) with battery percentage around 70-80% didnt show this warning.
fleet adapter config:
battery_system:
voltage: 48.0 # V
capacity: 34.2 # AHr
charging_current: 30.0 # A
mechanical_system:
mass: 97.0 # kg
moment_of_inertia: 9.5 #kgm^2
friction_coefficient: 0.20
ambient_system:
power: 20.0 # W
tool_system:
power: 0.0 # W
recharge_threshold: 0.10 # Battery level below which robots in this fleet will not operate
recharge_soc: 0.20 # Battery level to which robots in this fleet should be charged up to during recharging tasks