ANYdrive SDK
The SDK for interfacing ANYdrive.
anydrive_monitor::AnydriveInterface Class Reference

#include <AnydriveInterface.h>

Inheritance diagram for anydrive_monitor::AnydriveInterface:
Inheritance graph

Signals

void sigSendControlword ()
 
void sigResetCommand ()
 
void sigSendCommand ()
 
void sigSendCommandDisable ()
 
void sigSendCommandFreeze ()
 
void sigStateChanged (const QString &state)
 

Public Member Functions

 AnydriveInterface (QWidget *parent=0)
 
 ~AnydriveInterface ()
 
void setName (QString name)
 
void updateAnydriveWidget (anydrive::fsm::StateEnum state, anydrive::mode::ModeEnum mode, const std::vector< std::string > &infos, const std::vector< std::string > &warnings, const std::vector< std::string > &errors, const std::vector< std::string > &fatals, double jointPosition, double jointVelocity, double jointTorque, double current, double voltage, double temperature)
 
QString getControlword ()
 
void getCommand (anydrive::mode::ModeEnum &mode, double &position, double &velocity, double &jointTorque, double &current, double &controlParameterA, double &controlParameterB, double &controlParameterC)
 
void setCommand (double position, double velocity, double jointTorque, double current, double controlParameterA, double controlParameterB, double controlParameterC)
 
- Public Member Functions inherited from anydrive_monitor::AnydriveWidget
 AnydriveWidget (QWidget *parent=0)
 
 ~AnydriveWidget ()
 
Ui::AnydriveWidget * ui ()
 
void reset ()
 
void hideFeedback ()
 
void showFeedback ()
 
void hideParameters ()
 
void showParameters ()
 
void hideCommand ()
 
void showCommand ()
 

Protected Slots

void onSendControlword ()
 
void onResetCommand ()
 
void onSendCommand ()
 
void onSendCommandDisable ()
 
void onSendCommandFreeze ()
 
void onStateChanged (const QString &state)
 
- Protected Slots inherited from anydrive_monitor::AnydriveWidget
void onNameUpdate (QString name)
 
void onStateUpdate (QString state)
 
void onModeUpdate (QString mode)
 
void onPositionUpdate (double position)
 
void onVelocityUpdate (double velocity)
 
void onTorqueUpdate (double torque)
 
void onCurrentUpdate (double current)
 
void onVoltageUpdate (double voltage)
 
void onTemperatureUpdate (double temperature)
 

Private Member Functions

void setEnableCommandWidgets (const anydrive::fsm::StateEnum stateEnum)
 

Additional Inherited Members

- Protected Attributes inherited from anydrive_monitor::AnydriveWidget
Ui::AnydriveWidget * ui_
 

Constructor & Destructor Documentation

◆ AnydriveInterface()

anydrive_monitor::AnydriveInterface::AnydriveInterface ( QWidget *  parent = 0)

◆ ~AnydriveInterface()

anydrive_monitor::AnydriveInterface::~AnydriveInterface ( )

Member Function Documentation

◆ getCommand()

void anydrive_monitor::AnydriveInterface::getCommand ( anydrive::mode::ModeEnum mode,
double &  position,
double &  velocity,
double &  jointTorque,
double &  current,
double &  controlParameterA,
double &  controlParameterB,
double &  controlParameterC 
)

◆ getControlword()

QString anydrive_monitor::AnydriveInterface::getControlword ( )

◆ onResetCommand

void anydrive_monitor::AnydriveInterface::onResetCommand ( )
protectedslot

◆ onSendCommand

void anydrive_monitor::AnydriveInterface::onSendCommand ( )
protectedslot

◆ onSendCommandDisable

void anydrive_monitor::AnydriveInterface::onSendCommandDisable ( )
protectedslot

◆ onSendCommandFreeze

void anydrive_monitor::AnydriveInterface::onSendCommandFreeze ( )
protectedslot

◆ onSendControlword

void anydrive_monitor::AnydriveInterface::onSendControlword ( )
protectedslot

◆ onStateChanged

void anydrive_monitor::AnydriveInterface::onStateChanged ( const QString &  state)
protectedslot

◆ setCommand()

void anydrive_monitor::AnydriveInterface::setCommand ( double  position,
double  velocity,
double  jointTorque,
double  current,
double  controlParameterA,
double  controlParameterB,
double  controlParameterC 
)

◆ setEnableCommandWidgets()

void anydrive_monitor::AnydriveInterface::setEnableCommandWidgets ( const anydrive::fsm::StateEnum  stateEnum)
private

◆ setName()

void anydrive_monitor::AnydriveInterface::setName ( QString  name)

◆ sigResetCommand

void anydrive_monitor::AnydriveInterface::sigResetCommand ( )
signal

◆ sigSendCommand

void anydrive_monitor::AnydriveInterface::sigSendCommand ( )
signal

◆ sigSendCommandDisable

void anydrive_monitor::AnydriveInterface::sigSendCommandDisable ( )
signal

◆ sigSendCommandFreeze

void anydrive_monitor::AnydriveInterface::sigSendCommandFreeze ( )
signal

◆ sigSendControlword

void anydrive_monitor::AnydriveInterface::sigSendControlword ( )
signal

◆ sigStateChanged

void anydrive_monitor::AnydriveInterface::sigStateChanged ( const QString &  state)
signal

◆ updateAnydriveWidget()

void anydrive_monitor::AnydriveInterface::updateAnydriveWidget ( anydrive::fsm::StateEnum  state,
anydrive::mode::ModeEnum  mode,
const std::vector< std::string > &  infos,
const std::vector< std::string > &  warnings,
const std::vector< std::string > &  errors,
const std::vector< std::string > &  fatals,
double  jointPosition,
double  jointVelocity,
double  jointTorque,
double  current,
double  voltage,
double  temperature 
)

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