How doe sthe automatic go to battery task work? #184
-
Hi, When the battery level gets lower than a certain value, the task to go back to the charging station is issued. But it does coincide with the value of Where and how is this recommended percentage of the battery calculated? Is it 10% of the recharge_threshold? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The logic is baked into the The |
Beta Was this translation helpful? Give feedback.
The logic is baked into the
TaskManger
as seen here. When the robot is idle, a timer periodically computes the estimated battery drain if the robot were to head back to the charger now. If the battery level after the estimated drain is within a safety factor applied to therecharge_threshold
, theTaskManager
will automatically begin a task to take the robot back to its charging station.The
recharge_threshold
is used in a similar manner during task allocation. When deciding the order of tasks performed, theTaskPlanner
will estimate the battery level of the robot after performing a task A. If the estimate is below therecharge_threshold
, it will then check if the robot can perform task A …