YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IControlMode.h File Reference
#include <vector>
#include <yarp/os/Vocab.h>
#include <yarp/dev/api.h>
#include <yarp/dev/ReturnValue.h>
+ Include dependency graph for IControlMode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yarp::dev::IControlMode
 Interface for setting control mode in control board. More...
 
class  yarp::dev::IControlModeRaw
 Interface for setting control mode in control board. More...
 

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::dev
 For streams capable of holding different kinds of content, check what they actually have.
 

Macros

#define ALLOW_OLD_CONTROL_MODE_INTERFACE   1
 

Enumerations

enum class  yarp::dev::SelectableControlModeEnum {
  yarp::dev::VOCAB_CM_IDLE = yarp::os::createVocab32('i','d','l') ,
  yarp::dev::VOCAB_CM_TORQUE = yarp::os::createVocab32('t','o','r','q') ,
  yarp::dev::VOCAB_CM_POSITION = yarp::os::createVocab32('p','o','s') ,
  yarp::dev::VOCAB_CM_POSITION_DIRECT = yarp::os::createVocab32('p','o','s','d') ,
  yarp::dev::VOCAB_CM_VELOCITY = yarp::os::createVocab32('v','e','l') ,
  yarp::dev::VOCAB_CM_VELOCITY_DIRECT = yarp::os::createVocab32('v','e','l','d') ,
  yarp::dev::VOCAB_CM_CURRENT = yarp::os::createVocab32('i','c','u','r') ,
  yarp::dev::VOCAB_CM_PWM = yarp::os::createVocab32('i','p','w','m') ,
  yarp::dev::VOCAB_CM_IMPEDANCE_POS = yarp::os::createVocab32('i','m','p','o') ,
  yarp::dev::VOCAB_CM_IMPEDANCE_VEL = yarp::os::createVocab32('i','m','v','e') ,
  yarp::dev::VOCAB_CM_MIXED = yarp::os::createVocab32('m','i','x') ,
  yarp::dev::VOCAB_CM_FORCE_IDLE = yarp::os::createVocab32('f','i','d','l')
}
 
enum class  yarp::dev::ControlModeEnum {
  yarp::dev::VOCAB_CM_IDLE = yarp::os::createVocab32('i','d','l') ,
  yarp::dev::VOCAB_CM_TORQUE = yarp::os::createVocab32('t','o','r','q') ,
  yarp::dev::VOCAB_CM_POSITION = yarp::os::createVocab32('p','o','s') ,
  yarp::dev::VOCAB_CM_POSITION_DIRECT = yarp::os::createVocab32('p','o','s','d') ,
  yarp::dev::VOCAB_CM_VELOCITY = yarp::os::createVocab32('v','e','l') ,
  yarp::dev::VOCAB_CM_VELOCITY_DIRECT = yarp::os::createVocab32('v','e','l','d') ,
  yarp::dev::VOCAB_CM_CURRENT = yarp::os::createVocab32('i','c','u','r') ,
  yarp::dev::VOCAB_CM_PWM = yarp::os::createVocab32('i','p','w','m') ,
  yarp::dev::VOCAB_CM_IMPEDANCE_POS = yarp::os::createVocab32('i','m','p','o') ,
  yarp::dev::VOCAB_CM_IMPEDANCE_VEL = yarp::os::createVocab32('i','m','v','e') ,
  yarp::dev::VOCAB_CM_MIXED = yarp::os::createVocab32('m','i','x') ,
  yarp::dev::VOCAB_CM_FORCE_IDLE = yarp::os::createVocab32('f','i','d','l') ,
  yarp::dev::VOCAB_CM_HW_FAULT = yarp::os::createVocab32('h','w','f','a') ,
  yarp::dev::VOCAB_CM_CALIBRATING = yarp::os::createVocab32('c','a','l') ,
  yarp::dev::VOCAB_CM_CALIB_DONE = yarp::os::createVocab32('c','a','l','d') ,
  yarp::dev::VOCAB_CM_NOT_CONFIGURED = yarp::os::createVocab32('c','f','g','n') ,
  yarp::dev::VOCAB_CM_CONFIGURED = yarp::os::createVocab32('c','f','g','y') ,
  yarp::dev::VOCAB_CM_UNKNOWN = yarp::os::createVocab32('u','n','k','w')
}
 

Variables

constexpr yarp::conf::vocab32_t VOCAB_ICONTROLMODE = yarp::os::createVocab32('i','c','m','d')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODE = yarp::os::createVocab32('c','m','o','d')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODE_GROUP = yarp::os::createVocab32('c','m','o','g')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODES = yarp::os::createVocab32('c','m','d','s')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_IDLE = yarp::os::createVocab32('i','d','l')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_TORQUE = yarp::os::createVocab32('t','o','r','q')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_POSITION = yarp::os::createVocab32('p','o','s')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_POSITION_DIRECT = yarp::os::createVocab32('p','o','s','d')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_VELOCITY = yarp::os::createVocab32('v','e','l')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_VELOCITY_DIRECT = yarp::os::createVocab32('v','e','l','d')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CURRENT = yarp::os::createVocab32('i','c','u','r')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_PWM = yarp::os::createVocab32('i','p','w','m')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_IMPEDANCE_POS = yarp::os::createVocab32('i','m','p','o')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_IMPEDANCE_VEL = yarp::os::createVocab32('i','m','v','e')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_MIXED = yarp::os::createVocab32('m','i','x')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_FORCE_IDLE = yarp::os::createVocab32('f','i','d','l')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_HW_FAULT = yarp::os::createVocab32('h','w','f','a')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CALIBRATING = yarp::os::createVocab32('c','a','l')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CALIB_DONE = yarp::os::createVocab32('c','a','l','d')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_NOT_CONFIGURED = yarp::os::createVocab32('c','f','g','n')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_CONFIGURED = yarp::os::createVocab32('c','f','g','y')
 
constexpr yarp::conf::vocab32_t VOCAB_CM_UNKNOWN = yarp::os::createVocab32('u','n','k','w')
 

Macro Definition Documentation

◆ ALLOW_OLD_CONTROL_MODE_INTERFACE

#define ALLOW_OLD_CONTROL_MODE_INTERFACE   1

Definition at line 57 of file IControlMode.h.

Variable Documentation

◆ VOCAB_CM_CALIB_DONE

constexpr yarp::conf::vocab32_t VOCAB_CM_CALIB_DONE = yarp::os::createVocab32('c','a','l','d')
constexpr

Definition at line 213 of file IControlMode.h.

◆ VOCAB_CM_CALIBRATING

constexpr yarp::conf::vocab32_t VOCAB_CM_CALIBRATING = yarp::os::createVocab32('c','a','l')
constexpr

Definition at line 212 of file IControlMode.h.

◆ VOCAB_CM_CONFIGURED

constexpr yarp::conf::vocab32_t VOCAB_CM_CONFIGURED = yarp::os::createVocab32('c','f','g','y')
constexpr

Definition at line 215 of file IControlMode.h.

◆ VOCAB_CM_CONTROL_MODE

constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODE = yarp::os::createVocab32('c','m','o','d')
constexpr

Definition at line 186 of file IControlMode.h.

◆ VOCAB_CM_CONTROL_MODE_GROUP

constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODE_GROUP = yarp::os::createVocab32('c','m','o','g')
constexpr

Definition at line 187 of file IControlMode.h.

◆ VOCAB_CM_CONTROL_MODES

constexpr yarp::conf::vocab32_t VOCAB_CM_CONTROL_MODES = yarp::os::createVocab32('c','m','d','s')
constexpr

Definition at line 188 of file IControlMode.h.

◆ VOCAB_CM_CURRENT

constexpr yarp::conf::vocab32_t VOCAB_CM_CURRENT = yarp::os::createVocab32('i','c','u','r')
constexpr

Definition at line 198 of file IControlMode.h.

◆ VOCAB_CM_FORCE_IDLE

constexpr yarp::conf::vocab32_t VOCAB_CM_FORCE_IDLE = yarp::os::createVocab32('f','i','d','l')
constexpr

Definition at line 208 of file IControlMode.h.

◆ VOCAB_CM_HW_FAULT

constexpr yarp::conf::vocab32_t VOCAB_CM_HW_FAULT = yarp::os::createVocab32('h','w','f','a')
constexpr

Definition at line 211 of file IControlMode.h.

◆ VOCAB_CM_IDLE

constexpr yarp::conf::vocab32_t VOCAB_CM_IDLE = yarp::os::createVocab32('i','d','l')
constexpr

Definition at line 192 of file IControlMode.h.

◆ VOCAB_CM_IMPEDANCE_POS

constexpr yarp::conf::vocab32_t VOCAB_CM_IMPEDANCE_POS = yarp::os::createVocab32('i','m','p','o')
constexpr

Definition at line 200 of file IControlMode.h.

◆ VOCAB_CM_IMPEDANCE_VEL

constexpr yarp::conf::vocab32_t VOCAB_CM_IMPEDANCE_VEL = yarp::os::createVocab32('i','m','v','e')
constexpr

Definition at line 201 of file IControlMode.h.

◆ VOCAB_CM_MIXED

constexpr yarp::conf::vocab32_t VOCAB_CM_MIXED = yarp::os::createVocab32('m','i','x')
constexpr

Definition at line 205 of file IControlMode.h.

◆ VOCAB_CM_NOT_CONFIGURED

constexpr yarp::conf::vocab32_t VOCAB_CM_NOT_CONFIGURED = yarp::os::createVocab32('c','f','g','n')
constexpr

Definition at line 214 of file IControlMode.h.

◆ VOCAB_CM_POSITION

constexpr yarp::conf::vocab32_t VOCAB_CM_POSITION = yarp::os::createVocab32('p','o','s')
constexpr

Definition at line 194 of file IControlMode.h.

◆ VOCAB_CM_POSITION_DIRECT

constexpr yarp::conf::vocab32_t VOCAB_CM_POSITION_DIRECT = yarp::os::createVocab32('p','o','s','d')
constexpr

Definition at line 195 of file IControlMode.h.

◆ VOCAB_CM_PWM

constexpr yarp::conf::vocab32_t VOCAB_CM_PWM = yarp::os::createVocab32('i','p','w','m')
constexpr

Definition at line 199 of file IControlMode.h.

◆ VOCAB_CM_TORQUE

constexpr yarp::conf::vocab32_t VOCAB_CM_TORQUE = yarp::os::createVocab32('t','o','r','q')
constexpr

Definition at line 193 of file IControlMode.h.

◆ VOCAB_CM_UNKNOWN

constexpr yarp::conf::vocab32_t VOCAB_CM_UNKNOWN = yarp::os::createVocab32('u','n','k','w')
constexpr

Definition at line 218 of file IControlMode.h.

◆ VOCAB_CM_VELOCITY

constexpr yarp::conf::vocab32_t VOCAB_CM_VELOCITY = yarp::os::createVocab32('v','e','l')
constexpr

Definition at line 196 of file IControlMode.h.

◆ VOCAB_CM_VELOCITY_DIRECT

constexpr yarp::conf::vocab32_t VOCAB_CM_VELOCITY_DIRECT = yarp::os::createVocab32('v','e','l','d')
constexpr

Definition at line 197 of file IControlMode.h.

◆ VOCAB_ICONTROLMODE

constexpr yarp::conf::vocab32_t VOCAB_ICONTROLMODE = yarp::os::createVocab32('i','c','m','d')
constexpr

Definition at line 184 of file IControlMode.h.