17#include <creos/client_global.hpp>
18#include <creos/messages/enter_low_power_mode.hpp>
19#include <creos/messages/interface_info.hpp>
20#include <creos/robot_clock.hpp>
29 static constexpr char name[] =
"power_management";
30 static constexpr unsigned version = 1;
59 virtual void enterLowPowerMode(
const creos::RobotClock::time_point& wake_up_time,
int timeout_ms = 5000) = 0;
85 virtual void shutdown(
int timeout_ms = 5000) = 0;
99 virtual void reboot(
int timeout_ms = 10000) = 0;
The interface for querying and managing the power state of an Avular robot.
Definition power_management_interface.hpp:27
virtual void exitLowPowerMode(int timeout_ms=5000)=0
Exit low power mode.
virtual void reboot(int timeout_ms=10000)=0
Reboot the robot.
virtual void enterLowPowerMode(int timeout_ms=5000)=0
Enter low power mode.
virtual void enterLowPowerMode(const creos::RobotClock::time_point &wake_up_time, int timeout_ms=5000)=0
Enter low power mode.
virtual void shutdown(int timeout_ms=5000)=0
Shutdown the robot.
The main namespace for the CreOS client library.