RoverBase class provides basic rover functions such as initialization, sleeping, and shutting down.
More...
#include <rover_api.hpp>
|
void | initializeWiringPi (void) |
| Initializes wiringPi library to access GPIO of Rover. This function should be called in every program run and must only be called once. More...
|
|
RoverBase class provides basic rover functions such as initialization, sleeping, and shutting down.
rover::RoverBase::RoverBase |
( |
| ) |
|
|
explicit |
rover::RoverBase::~RoverBase |
( |
| ) |
|
|
virtual |
void rover::RoverBase::initialize |
( |
void |
| ) |
|
Initializes the wiringPi library.
- Returns
- void
- Warning
- This function should be called once per application.
void rover::RoverBase::initializeWiringPi |
( |
void |
| ) |
|
|
private |
Initializes wiringPi library to access GPIO of Rover. This function should be called in every program run and must only be called once.
- Returns
- void
void rover::RoverBase::shutdown |
( |
void |
| ) |
|
Shuts down the Rover's OS.
- Returns
- void
void rover::RoverBase::sleep |
( |
const unsigned int |
period_ms | ) |
|
Sleep function to be used in rover applications.
- Parameters
-
period_ms | Period to sleep in milliseconds |
- Returns
- void
int rover::RoverBase::WIRINGPI_INIT_ |
|
private |
Flag for indicating whether wiringPi library initialized or not.
The documentation for this class was generated from the following files:
- /home/travis/build/app4mc-rover/rover-app/include/roverapi/rover_api.hpp
- /home/travis/build/app4mc-rover/rover-app/src/roverapi/rover_api.cpp