Report battery stats using the watchdog: * robots/emc/emcd.c: Don't send events with battery levels anymore. * tmcd/tmcd.c: Add 'battery' command that updates the battery_percentage, battery_voltage, and battery_timestamp values in the nodes table. It's currently only called by the watchdog running on the garcias. * tmcd/common/libtmcc.pm: Add TMCCCMD_BATTERY function. * tmcd/common/watchdog: Updated to send back battery information obtained from garcia-pilot.
Showing with 143 additions and 22 deletions