Public Member Functions | Private Member Functions | Private Attributes
RobotState Class Reference

#include <robot_state.h>

List of all members.

Public Member Functions

void finishedReading ()
double getAnalogInput0 ()
double getAnalogInput1 ()
char getAnalogInputRange0 ()
char getAnalogInputRange1 ()
double getAnalogOutput0 ()
double getAnalogOutput1 ()
char getAnalogOutputDomain0 ()
char getAnalogOutputDomain1 ()
int getDigitalInputBits ()
int getDigitalOutputBits ()
char getEuromap67InterfaceInstalled ()
float getEuromapCurrent ()
int getEuromapInputBits ()
int getEuromapOutputBits ()
float getEuromapVoltage ()
unsigned char getInReducedMode ()
float getMasterBoardTemperature ()
float getMasterIOCurrent ()
bool getNewDataAvailable ()
std::vector< double > getQTarget ()
float getRobotCurrent ()
unsigned char getRobotMode ()
float getRobotVoltage48V ()
unsigned char getSafetyMode ()
double getTime ()
std::vector< double > getVActual ()
double getVersion ()
bool isEmergencyStopped ()
bool isPowerOnRobot ()
bool isProgramPaused ()
bool isProgramRunning ()
bool isProtectiveStopped ()
bool isReady ()
bool isRealRobotEnabled ()
bool isRobotConnected ()
 RobotState (std::condition_variable &msg_cond)
void setDisconnected ()
void unpack (uint8_t *buf, unsigned int buf_length)
void unpackRobotMessage (uint8_t *buf, unsigned int offset, uint32_t len)
void unpackRobotMessageVersion (uint8_t *buf, unsigned int offset, uint32_t len)
void unpackRobotMode (uint8_t *buf, unsigned int offset)
void unpackRobotState (uint8_t *buf, unsigned int offset, uint32_t len)
void unpackRobotStateMasterboard (uint8_t *buf, unsigned int offset)
 ~RobotState ()

Private Member Functions

double ntohd (uint64_t nf)

Private Attributes

masterboard_data mb_data_
bool new_data_available_
std::condition_variable * pMsg_cond_
robot_mode_data robot_mode_
unsigned char robot_mode_running_
std::recursive_mutex val_lock_
version_message version_msg_

Detailed Description

Definition at line 151 of file robot_state.h.


Constructor & Destructor Documentation

RobotState::RobotState ( std::condition_variable &  msg_cond)

Definition at line 21 of file robot_state.cpp.


Member Function Documentation

Definition at line 325 of file robot_state.cpp.

Definition at line 339 of file robot_state.cpp.

Definition at line 342 of file robot_state.cpp.

Definition at line 345 of file robot_state.cpp.

Definition at line 349 of file robot_state.cpp.

Definition at line 333 of file robot_state.cpp.

Definition at line 336 of file robot_state.cpp.

unsigned char RobotState::getInReducedMode ( )

Definition at line 329 of file robot_state.cpp.

std::vector<double> RobotState::getQTarget ( )
unsigned char RobotState::getRobotMode ( )

Definition at line 373 of file robot_state.cpp.

unsigned char RobotState::getSafetyMode ( )
double RobotState::getTime ( )
std::vector<double> RobotState::getVActual ( )

Definition at line 315 of file robot_state.cpp.

Definition at line 361 of file robot_state.cpp.

Definition at line 358 of file robot_state.cpp.

Definition at line 370 of file robot_state.cpp.

Definition at line 367 of file robot_state.cpp.

Definition at line 364 of file robot_state.cpp.

Definition at line 376 of file robot_state.cpp.

Definition at line 355 of file robot_state.cpp.

Definition at line 352 of file robot_state.cpp.

double RobotState::ntohd ( uint64_t  nf) [private]

Definition at line 29 of file robot_state.cpp.

Definition at line 383 of file robot_state.cpp.

void RobotState::unpack ( uint8_t *  buf,
unsigned int  buf_length 
)

Definition at line 35 of file robot_state.cpp.

void RobotState::unpackRobotMessage ( uint8_t *  buf,
unsigned int  offset,
uint32_t  len 
)

Definition at line 65 of file robot_state.cpp.

void RobotState::unpackRobotMessageVersion ( uint8_t *  buf,
unsigned int  offset,
uint32_t  len 
)

Definition at line 123 of file robot_state.cpp.

void RobotState::unpackRobotMode ( uint8_t *  buf,
unsigned int  offset 
)

Definition at line 149 of file robot_state.cpp.

void RobotState::unpackRobotState ( uint8_t *  buf,
unsigned int  offset,
uint32_t  len 
)

Definition at line 91 of file robot_state.cpp.

void RobotState::unpackRobotStateMasterboard ( uint8_t *  buf,
unsigned int  offset 
)

Definition at line 212 of file robot_state.cpp.


Member Data Documentation

Definition at line 154 of file robot_state.h.

Definition at line 160 of file robot_state.h.

std::condition_variable* RobotState::pMsg_cond_ [private]

Definition at line 159 of file robot_state.h.

Definition at line 155 of file robot_state.h.

unsigned char RobotState::robot_mode_running_ [private]

Definition at line 161 of file robot_state.h.

std::recursive_mutex RobotState::val_lock_ [private]

Definition at line 157 of file robot_state.h.

Definition at line 153 of file robot_state.h.


The documentation for this class was generated from the following files:


ur_modern_driver
Author(s): Thomas Timm Andersen
autogenerated on Wed Apr 3 2019 02:55:31