lesunb / HMRSsim

Simulator for research in Heterogeneous Multi-Robots Environment. The intention is to provide extensible, lightweight, portable, low fidelity, visualizable simulations for testing task allocation approaches in a heterogeneous, multi-robot environment. The priority is to provide the researcher with the capability to easily implement new maps by importing 2D draws from draw.io.
GNU General Public License v3.0
14 stars 8 forks source link

The robot consumes battery #14

Open gabrielsr opened 4 years ago

gabrielsr commented 4 years ago

As a simulation creator I want to be able to add battery consumption in the simulation so I can check for consumption in different strategies, the management of battery during a simulation (the robot decides to go to a recharge station), and the failure event of the robot completely depleting its battery. __

Battery Consumption This issue of implementation should include creating :

-- Recharge

This issue of implementation should include creating :

Test scenario. Create some test scenarios where some robots are created with battery and do some actions and movements in the scene, then assert the final state of the battery. Scenarios: Robots should consume the battery partially. Robots should consume the battery partially then go to the recharge station and fully recharge. Robots should consume the battery partially then go to the recharge station and partially recharge. Robots should consume the battery totally, try to execute some movement and action but it is unable.

__ Nice to have: A visual indication of the robot battery. Could be a label that follows the robot or fixed in the side of the screen (game HUD style).