Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
Enumerations | |
enum | PowerSourceID_t { PauseSID = 0, MotorPowerSID, VibrationSID, BatteryEmptySID, LowPowerWarnSID, BatteryFullSID, ExternalPowerSID, ExternalPortSID, BatteryConnectSID, BatteryInitSID, DischargingSID, ChargingSID, OverheatingSID, PowerGoodSID, ChargerStatusSID, SuspendedSID, OverChargedSID, TermDischargeSID, TermChargeSID, ErrorSID, StationConnectSID, BatteryOverCurrentSID, DataFromStationSID, RegisterUpdateSID, RTCSID, SpecialModeSID, BMNDebugModeSID, PlungerSID, UpdatedSID, NumPowerSIDs } |
holds source ID types for power events More... |
|
holds source ID types for power events Also serve as offsets into ::powerFlags[] I've never seen a lot of these events thrown by the OS. NS means never-seen, which could simply be because i haven't put it in that situation (don't have a station-type power charger) or because the OS doesn't actually support sending that flag. Under normal conditions, you'll see MotorPowerSID, BatteryConnectSID, DischargingSID, and PowerGoodSID always active with occasional VibrationSID and UpdateSID. When the chest button is pushed, PauseSID is activated and MotorPowerSID is deactivated. The BatteryMonitorBehavior will give a warning once power begins getting low. The OS won't boot off a battery with less than 15% power remaining (which is when the LowPowerWarnSID is thrown)
Definition at line 53 of file WorldState.h. |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:35 2004 by Doxygen 1.3.4 |