Rover API Documentation
rover_mqttcommand.hpp File Reference

Go to the source code of this file.

Classes

struct  rover::RoverSensorData_t
 Data type to store rover's sensor data. More...
 
struct  rover::RoverControlData_t
 Data type to store rover's control data. More...
 
class  rover::RoverMQTTCommand
 RoverMQTTCommand class is an implementation class extending RoverPahoMQTT for rover-specific topic subscription and publishing using JSON for parsing and using predefined type variables such as RoverControlData_t and RoverSensorData_t. More...
 

Namespaces

 rover
 rover Namespace contains classes to manage Rover sensors, gpio, buzzer, buttons, driving, utilities, and cloud.
 

Macros

#define topicPrefix   "rover/"
 
#define drivingSubTopic   "/RoverDriving/control"
 
#define telemetrySubTopic   "/telemetry"
 
#define telemetryTopic   "telemetry"
 
#define MQTT_BUFSIZE   256
 

Enumerations

enum  rover::RoverDrivingMode_t {
  rover::NONE_ = 0, rover::MANUAL_ = 0, rover::ACC_, rover::PARKING_LEFT_,
  rover::PARKING_RIGHT_, rover::BOOTH_MODE_1_, rover::BOOTH_MODE_2_
}
 Data type to indicate rover's driving mode. More...
 

Macro Definition Documentation

#define drivingSubTopic   "/RoverDriving/control"
#define MQTT_BUFSIZE   256
#define telemetrySubTopic   "/telemetry"
#define telemetryTopic   "telemetry"
#define topicPrefix   "rover/"