TwiceAsNice
2019-02-18
|
#include <XineticsDummyDevice.h>
Public Member Functions | |
XineticsDummyDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsDummyDevice () |
virtual void | reset (Basda::DeviceAsync &=s_async) |
reset the device More... | |
virtual void | activate (Basda::DeviceAsync &=s_async) |
activate the device More... | |
virtual void | deactivate (Basda::DeviceAsync &=s_async) |
deactivate the device More... | |
virtual void | handleXineticsEvents (uint32_t _timeout) |
XineticsDummyDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsDummyDevice () |
virtual void | reset (Basda::DeviceAsync &=s_async) |
reset the device More... | |
virtual void | activate (Basda::DeviceAsync &=s_async) |
activate the device More... | |
virtual void | deactivate (Basda::DeviceAsync &=s_async) |
deactivate the device More... | |
virtual void | handleXineticsEvents (uint32_t _timeout) |
XineticsDummyDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsDummyDevice () |
virtual void | reset (Basda::DeviceAsync &=s_async) |
reset the device More... | |
virtual void | activate (Basda::DeviceAsync &=s_async) |
activate the device More... | |
virtual void | deactivate (Basda::DeviceAsync &=s_async) |
deactivate the device More... | |
virtual void | handleXineticsEvents (uint32_t _timeout) |
![]() | |
XineticsCoreDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsCoreDevice () |
virtual void | open () |
open device More... | |
virtual void | close () |
close device More... | |
virtual void | version () |
version More... | |
virtual void | init (Basda::DeviceAsync &=s_async) |
init the device More... | |
virtual void | deinit (Basda::DeviceAsync &=s_async) |
deinit the device More... | |
virtual bool | setActuators (Nice::SeqInt &_actuatorCmd) |
Calculate voltages (applying corrections like nonliearities) and send the to the refl memory. If the voltages exceed thresholds set by the configuration, the frame is skipped. More... | |
virtual void | getActCommands (Nice::SeqInt &_command) const |
Convert the most recently calculated voltages back to their integer values. This is basically the inverse of calcActVoltages() and assumes that m_skipFrame=false, which means it supposes that the most recently calculated voltages have not been rejected by the various threshold checks. More... | |
virtual Nice::SeqInt | getExceededNeighborActThreshold () |
virtual Nice::SeqInt | getExceededActLimits () |
virtual void | resetActuators () |
Sets all actuators to actuator command zero. More... | |
virtual void | resetActuators (const Nice::SeqFloat &_currentPos) |
virtual dspState_t | getDSPState () |
virtual bool | getDSPError () |
virtual Nice::SeqI16 | getFlatPatters () |
XineticsCoreDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsCoreDevice () |
virtual void | open () |
open device More... | |
virtual void | close () |
close device More... | |
virtual void | version () |
version More... | |
virtual void | init (Basda::DeviceAsync &=s_async) |
init the device More... | |
virtual void | deinit (Basda::DeviceAsync &=s_async) |
deinit the device More... | |
virtual bool | setActuators (Nice::SeqInt &_actuatorCmd) |
virtual void | getActCommands (Nice::SeqInt &_command) const |
virtual Nice::SeqInt | getExceededNeighborActThreshold () |
virtual Nice::SeqInt | getExceededActLimits () |
virtual void | resetActuators () |
Sets all actuators to actuator command zero. More... | |
virtual void | resetActuators (const Nice::SeqFloat &_currentPos) |
virtual dspState_t | getDSPState () |
virtual bool | getDSPError () |
virtual Nice::SeqI16 | getFlatPatters () |
XineticsCoreDevice (const Nice::JointPtr &_config) | |
virtual | ~XineticsCoreDevice () |
virtual void | open () |
open device More... | |
virtual void | close () |
close device More... | |
virtual void | version () |
version More... | |
virtual void | init (Basda::DeviceAsync &=s_async) |
init the device More... | |
virtual void | deinit (Basda::DeviceAsync &=s_async) |
deinit the device More... | |
virtual bool | setActuators (Nice::SeqInt &_actuatorCmd) |
virtual void | getActCommands (Nice::SeqInt &_command) const |
virtual Nice::SeqInt | getExceededNeighborActThreshold () |
virtual Nice::SeqInt | getExceededActLimits () |
virtual void | resetActuators () |
Sets all actuators to actuator command zero. More... | |
virtual void | resetActuators (const Nice::SeqFloat &_currentPos) |
virtual dspState_t | getDSPState () |
virtual bool | getDSPError () |
virtual Nice::SeqI16 | getFlatPatters () |
![]() | |
Device (const Nice::JointPtr &_config) | |
constructor. This is an elementary (lazy) action which stores the name and gets configuration. More... | |
virtual | ~Device () |
destructor Does nothing More... | |
virtual void | setConfig (const Nice::JointPtr &_config) |
init with config tree ptr More... | |
Nice::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
Device (const Nice::JointPtr &_config) | |
constructor. This is an elementary (lazy) action which stores the name and gets configuration. More... | |
virtual | ~Device () |
destructor Does nothing More... | |
virtual void | setConfig (const Nice::JointPtr &_config) |
init with config tree ptr More... | |
Nice::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
Protected Member Functions | |
void | applyActVoltages () |
Send calculated DAC values to the Xinetics Electronics More... | |
void | applyActVoltages () |
Send calculated DAC values to the Xinetics Electronics More... | |
void | applyActVoltages () |
Send calculated DAC values to the Xinetics Electronics More... | |
![]() | |
void | calcActVoltages (const Nice::SeqInt &_command) |
Calculate actuator voltages plus sanity check. More... | |
void | addProperties () |
void | updateProperties () |
void | calcActVoltages (const Nice::SeqInt &_command) |
Calculate actuator voltages plus sanity check. More... | |
void | addProperties () |
void | updateProperties () |
void | calcActVoltages (const Nice::SeqInt &_command) |
Calculate actuator voltages plus sanity check. More... | |
void | addProperties () |
void | updateProperties () |
Laos::XineticsDummyDevice::XineticsDummyDevice | ( | const Nice::JointPtr & | _config | ) |
|
virtual |
Laos::XineticsDummyDevice::XineticsDummyDevice | ( | const Nice::JointPtr & | _config | ) |
|
virtual |
Laos::XineticsDummyDevice::XineticsDummyDevice | ( | const Nice::JointPtr & | _config | ) |
|
virtual |
|
virtual |
activate the device
Implements Basda::Device.
|
virtual |
activate the device
Implements Basda::Device.
|
virtual |
activate the device
Implements Basda::Device.
|
protectedvirtual |
Send calculated DAC values to the Xinetics Electronics
Implements Laos::XineticsCoreDevice.
|
protectedvirtual |
Send calculated DAC values to the Xinetics Electronics
Implements Laos::XineticsCoreDevice.
|
protectedvirtual |
Send calculated DAC values to the Xinetics Electronics
Implements Laos::XineticsCoreDevice.
|
virtual |
deactivate the device
Implements Basda::Device.
|
virtual |
deactivate the device
Implements Basda::Device.
|
virtual |
deactivate the device
Implements Basda::Device.
|
virtual |
Implements Laos::XineticsCoreDevice.
|
virtual |
Implements Laos::XineticsCoreDevice.
|
virtual |
Implements Laos::XineticsCoreDevice.
|
virtual |
reset the device
Implements Basda::Device.
|
virtual |
reset the device
Implements Basda::Device.
|
virtual |
reset the device
Implements Basda::Device.