Public Member Functions | Protected Member Functions | Private Attributes | List of all members
URCommander Class Referenceabstract

#include <commander.h>

Inheritance diagram for URCommander:
Inheritance graph
[legend]

Public Member Functions

virtual bool setAnalogOut (uint8_t pin, double value)=0
 
virtual bool setDigitalOut (uint8_t pin, bool value)=0
 
bool setFlag (uint8_t pin, bool value)
 
bool setPayload (double value)
 
bool setToolVoltage (uint8_t voltage)
 
virtual bool speedj (std::array< double, 6 > &speeds, double acceleration)=0
 
bool stopj (double a=10.0)
 
bool uploadProg (const std::string &s)
 
 URCommander (URStream &stream)
 

Protected Member Functions

void formatArray (std::ostringstream &out, std::array< double, 6 > &values)
 
bool write (const std::string &s)
 

Private Attributes

URStreamstream_
 

Detailed Description

Definition at line 25 of file commander.h.

Constructor & Destructor Documentation

URCommander::URCommander ( URStream stream)
inline

Definition at line 35 of file commander.h.

Member Function Documentation

void URCommander::formatArray ( std::ostringstream &  out,
std::array< double, 6 > &  values 
)
protected

Definition at line 30 of file commander.cpp.

virtual bool URCommander::setAnalogOut ( uint8_t  pin,
double  value 
)
pure virtual

Implemented in URCommander_V3_X, and URCommander_V1_X.

virtual bool URCommander::setDigitalOut ( uint8_t  pin,
bool  value 
)
pure virtual

Implemented in URCommander_V3_X, and URCommander_V1_X.

bool URCommander::setFlag ( uint8_t  pin,
bool  value 
)

Definition at line 58 of file commander.cpp.

bool URCommander::setPayload ( double  value)

Definition at line 65 of file commander.cpp.

bool URCommander::setToolVoltage ( uint8_t  voltage)

Definition at line 47 of file commander.cpp.

virtual bool URCommander::speedj ( std::array< double, 6 > &  speeds,
double  acceleration 
)
pure virtual
bool URCommander::stopj ( double  a = 10.0)

Definition at line 73 of file commander.cpp.

bool URCommander::uploadProg ( const std::string &  s)

Definition at line 41 of file commander.cpp.

bool URCommander::write ( const std::string &  s)
protected

Definition at line 22 of file commander.cpp.

Member Data Documentation

URStream& URCommander::stream_
private

Definition at line 28 of file commander.h.


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


ur_modern_driver
Author(s): Thomas Timm Andersen, Simon Rasmussen
autogenerated on Fri Jun 26 2020 03:37:01