#include <SystemCall.h>
Static Public Member Functions | |
| unsigned long | getCurrentSystemTime () |
| returns the current system time in milliseconds | |
| unsigned long | getTimeSince (unsigned long aTime) |
| returns the time since aTime | |
| unsigned long | getFreeMem () |
| returns the amount of free memory | |
| unsigned char | getRemainingPower () |
| returns the amount of remaining battery power in percent or 100 if the robot is attached to powerline | |
| void | reboot () |
| reboots the robot | |
| void | shutdown () |
| shuts the robot down | |
| void | getMacAddress (unsigned char address[6]) |
| returns the robot's mac address | |
| RobotDesign::Design | getRobotDesign () |
| returns the robot's design | |
Definition at line 43 of file SystemCall.h.
|
|
Here is the call graph for this function:

|
|
returns the amount of free memory
Definition at line 27 of file SystemCall.cpp. Referenced by GTXabsl2EngineExecutor::init(). |
|
|
returns the amount of remaining battery power in percent or 100 if the robot is attached to powerline
Definition at line 34 of file SystemCall.cpp. References shutdown(), and VERIFY. Referenced by MotionRatingBehaviorControl::execute(), RobotStateSymbols::getRemainingCapacity(), MotionRatingBehaviorControl::handleMessage(), GT2005BehaviorControl::postExecute(), DDPHandler::sendDDPPackage(), and GT2005LEDControl::showBatteryState(). |
Here is the call graph for this function:

|
|
reboots the robot
Definition at line 47 of file SystemCall.cpp. References VERIFY. |
|
|
shuts the robot down
Definition at line 53 of file SystemCall.cpp. References VERIFY. Referenced by BasicBehaviorShutdown::execute(), and getRemainingPower(). |
|
|
returns the robot's mac address
Definition at line 62 of file SystemCall.cpp. References VERIFY. Referenced by RobotConfiguration::load(), and GT2005WalkingEngine::readOdometryCalibrationData(). |
|
|
returns the robot's design
Definition at line 75 of file SystemCall.cpp. References VERIFY. Referenced by Debug::Debug(), MotorCommandsSender::getPrimitiveJointName(), MotorCommandsSender::getPrimitiveLEDName(), RobotConfiguration::load(), MotorCommandsSender::MotorCommandsSender(), operator>>(), MotorCommandsSender::preparePackage(), and SoundDataSender::SoundDataSender(). |
1.3.6