Added charging behaviour. Cozmo will not move off the dock while charging. Also notifies server that cozmo is charging. Cozmo will enter charging state if battery is below set threshold and he enters the dock. charge_low and charge_high added to allow the thresholds to be set.
Added charging behaviour. Cozmo will not move off the dock while charging. Also notifies server that cozmo is charging. Cozmo will enter charging state if battery is below set threshold and he enters the dock. charge_low and charge_high added to allow the thresholds to be set.

.charge on / off added to allow manually entering / exit charging state. This is important if you want to move cozmo off the dock before he is fully charged.

Nocturnal42/runmyrobot,Nocturnal42/runmyrobot