Class MasterBoardInterface
Defined in File master_board_interface.h
Inheritance Relationships
Base Type
public LINK_manager_callback
(Class LINK_manager_callback)
Class Documentation
-
class MasterBoardInterface : public LINK_manager_callback
Public Functions
-
MasterBoardInterface(const std::string &if_name, bool listener_mode = false)
-
MasterBoardInterface(const MasterBoardInterface&)
-
~MasterBoardInterface()
-
int Init()
-
int Stop()
-
void SetMasterboardTimeoutMS(uint8_t)
-
int SendInit()
-
int SendCommand()
-
void ParseSensorData()
-
void PrintIMU()
-
void PrintPowerBoard()
-
void PrintADC()
-
void PrintMotors()
-
void PrintMotorDrivers()
-
void PrintStats()
-
void ResetTimeout()
-
bool IsTimeout()
-
bool IsAckMsgReceived()
-
int GetSessionId()
-
int GetProtocolVersion()
-
uint32_t GetSensorsSent()
-
uint32_t GetSensorsLost()
-
uint32_t GetCmdSent()
-
uint32_t GetCmdLost()
-
uint16_t GetLastRecvCmdIndex()
-
uint16_t GetCmdPacketIndex()
-
int GetSensorHistogram(int index)
-
int GetCmdHistogram(int index)
-
void ResetPacketLossStats()
-
void set_motor_drivers(MotorDriver motor_drivers[])
-
inline MotorDriver *GetDriver(int i)
-
inline float imu_data_accelerometer(int i)
-
inline float imu_data_gyroscope(int i)
-
inline float imu_data_attitude(int i)
-
inline float imu_data_linear_acceleration(int i)
-
inline float powerboard_current()
-
inline float powerboard_voltage()
-
inline float powerboard_energy()
-
inline imu_data_t get_imu_data() const
Public Static Functions
-
static void KeyboardStop(int signum)
-
MasterBoardInterface(const std::string &if_name, bool listener_mode = false)