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
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 :
a BatteryComponent with the remaining energy in joules.
An EnergySystem to decrement the remaining energy on the BatteryComponent.
A way of relating actions and movements with a table/function of consumption.
A way of binding Movement and Actions to the EnergySystem (events?)
--
Recharge
This issue of implementation should include creating :
A RechargeStation component
A charging handle in the EnergySystem that progressively recharges the battery when the entity is in the station (further discussion about what is 'to be in the station' should follow).
__
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: