24 #include "core/MANum.hpp" 25 #include "types/MAHead.hpp" 26 #include "MARobotStateUpdater.hpp" 28 #include <MCTimer.hpp> 103 virtual void UpdateCycleTime();
105 virtual void UpdateTimestamp();
108 virtual void UpdateRobotState(
MARobotState& state)
override;
110 void GenerateBackFButtonPressed(
int cycle_time);
111 void GenerateBackMButtonPressed(
int cycle_time);
112 void GenerateBackRButtonPressed(
int cycle_time);
113 void GenerateBackStroked(
int cycle_time);
114 void GenerateBackGrabbed(
int cycle_time);
MANum< int > BatteryCapacity
Battery capacity (mAh)
MANum< int > Milliseconds
Milliseconds.
MANum< int > BuildID
Build ID.
MANum< int > SessionID
Session ID.
MATouchButtonStroked BackFTouched
Stroke detection for a touch sensor on the back (fore)
MANum< int > RealSessionPowerConsumption
Real power consumption of the current session (mWh)
MANum< int > Microseconds
Microseconds.
MAWlanStatistics WlanStats
WLAN statistics.
MANum< int > Behaviors
Behaviors related CPU load in percents - 0..100 %.
MCTimer ActivatedStateTimer
Activation timer.
MANum< int > Seconds
Seconds.
MANum< int > NearIR
Short-distance IR sensor on the head - 5 cm..50 cm.
MANum< int > ChestIR
IR sensor on the chest - 19 cm..90 cm.
MANum< int > CycleTime
The last cycle time in milliseconds.
MANum< int > Audio
Audio related CPU load in percents - 0..100 %.
MANum< int > PowerConsumption
Power consumption - 0..32000 mW.
MANum< int > ConnectedClients
Connected client count.
MANum< int > Network
Network related CPU load in percents - 0..100 %.
MACpuLoad CpuLoad
CPU load.
MANum< int > FreeMemory
Free memory.
MATimestamp Timestamp
Timestamp.
MAIntervalNum< int > BackStrokedFactor
Indicator for stroke detection on the back.
MANum< int > Camera
Camera related CPU load in percents - 0..100 %.
MATouchButtonStroked BackMTouched
Stroke detection for a touch sensor on the back (middle)
MANum< int > BatteryLevel
Remaining power in percents - 0..100 %.
MANum< int > EstimatedSessionPowerConsumption
Estimated power consumption (mWh)
MANum< int > TailTilt
Tail tilt joint degree - 0..62.
MATimestamp()
Struct constructor.
MANum< int > CycleID
Cycle ID.
MANum< int > TailPanForce
Tail pan joint force.
MANum< int > TailPan
Tail pan joint degree - -60..60.
Robot state updater base class.
MANum< int > Signal
Signal.
MANum< int > TailTiltForce
Tail tilt joint force.
MANum< int > FarIR
Long-distance IR sensor on the head - 20 cm..150 cm.
MAIntervalNum< int > BackMPressedFactor
Press detection for a touch sensor on the back (middle)
int ToMilliseconds() const
Convert the timestamp to milliseconds.
Simple timer class with microsecond precision.
MANum< int > Debug
Debug mode.
MANum< int > WritableStorage
Writable storage (0 - not writable 1 - writable)
MANum< int > BackButtonM
Middle touch sensor on the back - 0..60.
MANum< int > Temperature
Temperature in Celsius degrees - -273..227 °C.
MANum< int > BackButtonR
Rear touch sensor on the back - 0..60.
MATouchButtonStroked BackRTouched
Stroke detection for a touch sensor on the back (rear)
MANum< int > All
Overall CPU load in percents - 0..100 %.
MAIntervalNum< int > BackRPressedFactor
Press detection for a touch sensor on the back (rear)
MAIntervalNum< int > BackGrabbedFactor
Indicator when the robot is grabbed on the back.
MANum< int > BackButtonF
Fore touch sensor on the back - 0..60.
MAIntervalNum< int > BackFPressedFactor
Press detection for a touch sensor on the back (fore)