|
| MoccaWheelServiceWorker (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device) |
| Constructor. More...
|
|
void | moveToHome () |
| Destructor. More...
|
|
virtual | ~MoccaWheelServiceWorker () |
|
virtual void | moveAbsolute (int _target, std::string _unit) |
|
virtual void | moveRelative (int _target, std::string _unit) |
|
virtual void | moveToNamedPosition (int _namedPosition) |
| This method allows to move the motor to a named position. More...
|
|
virtual void | scanAllReferenceSwitches () |
|
virtual Nice::Int | getPosition () |
| Returns the current positions of all motors. More...
|
|
void | checkFullTurn () |
|
std::string | checkForNamedPosition () |
| This method checks whether the current position is a named position. More...
|
|
virtual Nice::Int | coordinateTransformation (double _value, std::string) |
| This method converts the given value from steps into _unit. More...
|
|
virtual double | coordinateTransformationInverse (Nice::Int _value, std::string) |
| This method converts the given value from _unit into steps. More...
|
|
virtual double | coordinateTranslateInverse (Nice::Int _value, std::string) |
| This method converts the given value from _unit into steps. More...
|
|
Nice::Int | getPositionOffset () |
|
void | scanPositionSwitches () |
|
void | validateScannedPositionSwitches () |
|
| MoccaWheelServiceWorker (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device) |
| Constructor. More...
|
|
void | moveToHome () |
| Destructor. More...
|
|
virtual | ~MoccaWheelServiceWorker () |
|
virtual void | moveAbsolute (int _target, std::string _unit) |
|
virtual void | moveRelative (int _target, std::string _unit) |
|
virtual void | moveToNamedPosition (int _namedPosition) |
| This method allows to move the motor to a named position. More...
|
|
virtual void | scanAllReferenceSwitches () |
|
virtual Nice::Int | getPosition () |
| Returns the current positions of all motors. More...
|
|
void | checkFullTurn () |
|
std::string | checkForNamedPosition () |
| This method checks whether the current position is a named position. More...
|
|
virtual Nice::Int | coordinateTransformation (double _value, std::string) |
| This method converts the given value from steps into _unit. More...
|
|
virtual double | coordinateTransformationInverse (Nice::Int _value, std::string) |
| This method converts the given value from _unit into steps. More...
|
|
virtual double | coordinateTranslateInverse (Nice::Int _value, std::string) |
| This method converts the given value from _unit into steps. More...
|
|
Nice::Int | getPositionOffset () |
|
void | scanPositionSwitches () |
|
void | validateScannedPositionSwitches () |
|
| MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device) |
| Constructor. More...
|
|
| MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device) |
| Constructor. More...
|
|
| MoccaNServiceWorkerCore (const Nice::JointPtr &_config, const MoccaNDevicePtr &_device) |
| Constructor. More...
|
|
virtual | ~MoccaNServiceWorkerCore () |
| Destructor. More...
|
|
virtual | ~MoccaNServiceWorkerCore () |
| Destructor. More...
|
|
virtual | ~MoccaNServiceWorkerCore () |
| Destructor. More...
|
|
virtual void | init () |
| This method initiate and open the device. More...
|
|
virtual void | init () |
| This method initiate and open the device. More...
|
|
virtual void | init () |
| This method initiate and open the device. More...
|
|
virtual void | deinit () |
| This method deinit and close the device. More...
|
|
virtual void | deinit () |
| This method deinit and close the device. More...
|
|
virtual void | deinit () |
| This method deinit and close the device. More...
|
|
virtual void | activate () |
| This method activate the device. More...
|
|
virtual void | activate () |
| This method activate the device. More...
|
|
virtual void | activate () |
| This method activate the device. More...
|
|
virtual void | deactivate () |
| This method deactivate the device. More...
|
|
virtual void | deactivate () |
| This method deactivate the device. More...
|
|
virtual void | deactivate () |
| This method deactivate the device. More...
|
|
virtual void | terminate () |
| This method shut down the device. More...
|
|
virtual void | terminate () |
| This method shut down the device. More...
|
|
virtual void | terminate () |
| This method shut down the device. More...
|
|
virtual void | errorOffline () |
|
virtual void | errorOffline () |
|
virtual void | errorOffline () |
|
virtual void | errorStandby () |
|
virtual void | errorStandby () |
|
virtual void | errorStandby () |
|
virtual void | errorOnline () |
|
virtual void | errorOnline () |
|
virtual void | errorOnline () |
|
virtual void | errorWorking () |
|
virtual void | errorWorking () |
|
virtual void | errorWorking () |
|
virtual void | idleOffline () |
|
virtual void | idleOffline () |
|
virtual void | idleOffline () |
|
virtual void | idleOnline () |
|
virtual void | idleOnline () |
|
virtual void | idleOnline () |
|
virtual void | send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines) |
| This method send the command string to the electronic. More...
|
|
virtual void | send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines) |
| This method send the command string to the electronic. More...
|
|
virtual void | send (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _selectID, std::string _parameter, std::string _numberOfLines) |
| This method send the command string to the electronic. More...
|
|
virtual std::string | receive () |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual std::string | receive () |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual std::string | receive () |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual std::string | receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines) |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual std::string | receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines) |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual std::string | receiveDataRaw (std::string _cardNo, std::string _commandID, std::string _moduleNo, std::string _numberOfLines) |
| This method was requested by Lorenzo Busoni (lbuso.nosp@m.ni@a.nosp@m.rcetr.nosp@m.i.as.nosp@m.tro.i.nosp@m.t 02.03.2012) More...
|
|
virtual bool | isReachable () |
|
virtual bool | isReachable () |
|
virtual bool | isReachable () |
|
virtual void | dumpStatusInformation () |
|
virtual void | dumpStatusInformation () |
|
virtual void | dumpStatusInformation () |
|
virtual void | stop () |
| This method stop all moving motors smoothly. More...
|
|
virtual void | stop () |
| This method stop all moving motors smoothly. More...
|
|
virtual void | stop () |
| This method stop all moving motors smoothly. More...
|
|
virtual void | abort () |
| This method abort all moving motors immediately. More...
|
|
virtual void | abort () |
| This method abort all moving motors immediately. More...
|
|
virtual void | abort () |
| This method abort all moving motors immediately. More...
|
|
virtual void | moveAbsolute (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the absolute position. More...
|
|
virtual void | moveAbsolute (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the absolute position. More...
|
|
virtual void | moveAbsolute (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the absolute position. More...
|
|
virtual void | moveRelative (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the relative position. More...
|
|
virtual void | moveRelative (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the relative position. More...
|
|
virtual void | moveRelative (IfSvcType _pos, std::string _unit) |
| All motors of a device move to the relative position. More...
|
|
virtual void | moveToHomeSingle (int _motor) |
|
virtual void | moveToHomeSingle (int _motor) |
|
virtual void | moveToHomeSingle (int _motor) |
|
virtual void | moveToLimit (IfSvcType _limit) |
| move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
|
|
virtual void | moveToLimit (IfSvcType _limit) |
| move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
|
|
virtual void | moveToLimit (IfSvcType _limit) |
| move all motors to the positive limit switches (_limits[i]>0) or negative (_limits[i]<0) limit switches. More...
|
|
virtual bool | isAtHome () |
| This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
|
|
virtual bool | isAtHome () |
| This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
|
|
virtual bool | isAtHome () |
| This method updates the property VAR.ATHOME which indicates whether the motor is at the home position. More...
|
|
virtual bool | isAtLimit () |
| This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
|
|
virtual bool | isAtLimit () |
| This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
|
|
virtual bool | isAtLimit () |
| This method updates the property VAR.LIMIT which indicates whether the motor is at the limit position. More...
|
|
virtual bool | isMoving () |
| This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
|
|
virtual bool | isMoving () |
| This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
|
|
virtual bool | isMoving () |
| This method updates the property VAR.MOVING which indicates whether the motor is moving. More...
|
|
virtual Nice::Int | getPosition (std::string _unit) |
|
virtual Nice::Int | getPosition (std::string _unit) |
|
virtual Nice::Int | getPosition (std::string _unit) |
|
virtual Nice::Int | getDeviceEncoderPosition (std::string _unit) |
| Returns the current device internal position encoder of all motors. More...
|
|
virtual Nice::Int | getDeviceEncoderPosition (std::string _unit) |
| Returns the current device internal position encoder of all motors. More...
|
|
virtual Nice::Int | getDeviceEncoderPosition (std::string _unit) |
| Returns the current device internal position encoder of all motors. More...
|
|
virtual Nice::Int | getAbsoluteEncoderPosition () |
| Returns the current absolute encoder positions of all motors. More...
|
|
virtual Nice::Int | getAbsoluteEncoderPosition () |
| Returns the current absolute encoder positions of all motors. More...
|
|
virtual Nice::Int | getAbsoluteEncoderPosition () |
| Returns the current absolute encoder positions of all motors. More...
|
|
virtual Nice::Int | getIncrementalEncoderPosition () |
| Returns the current incremental encoder positions of all motors. More...
|
|
virtual Nice::Int | getIncrementalEncoderPosition () |
| Returns the current incremental encoder positions of all motors. More...
|
|
virtual Nice::Int | getIncrementalEncoderPosition () |
| Returns the current incremental encoder positions of all motors. More...
|
|
virtual void | setPosition (IfSvcType _position, std::string _unit) |
| Change the absolute position of all motors. More...
|
|
virtual void | setPosition (IfSvcType _position, std::string _unit) |
| Change the absolute position of all motors. More...
|
|
virtual void | setPosition (IfSvcType _position, std::string _unit) |
| Change the absolute position of all motors. More...
|
|
virtual Nice::Int | getNamedPosition (int _reference) |
| This method returns the value of the named position. More...
|
|
virtual Nice::Int | getNamedPosition (int _reference) |
| This method returns the value of the named position. More...
|
|
virtual Nice::Int | getNamedPosition (int _reference) |
| This method returns the value of the named position. More...
|
|
virtual double | getVelocity () |
| This method read the velocity of the device. More...
|
|
virtual double | getVelocity () |
| This method read the velocity of the device. More...
|
|
virtual double | getVelocity () |
| This method read the velocity of the device. More...
|
|
virtual void | setVelocity (IfDevType _velocity) |
| This method set the velocity in the device. More...
|
|
virtual void | setVelocity (IfDevType _velocity) |
| This method set the velocity in the device. More...
|
|
virtual void | setVelocity (IfDevType _velocity) |
| This method set the velocity in the device. More...
|
|
virtual double | getCurrentTime () |
|
virtual double | getCurrentTime () |
|
virtual double | getCurrentTime () |
|
virtual Nice::SeqBitSet | getPositionSwitchStatus () |
| : This method returns the current position switch status. More...
|
|
virtual Nice::SeqBitSet | getPositionSwitchStatus () |
| : This method returns the current position switch status. More...
|
|
virtual Nice::SeqBitSet | getPositionSwitchStatus () |
| : This method returns the current position switch status. More...
|
|
virtual void | startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32) |
| This method prepare the motor controller with a new external profile. More...
|
|
virtual void | startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32) |
| This method prepare the motor controller with a new external profile. More...
|
|
virtual void | startProfile (const Nice::Date &, const Nice::NPoint &, Nice::Time, Nice::U32, Nice::U32) |
| This method prepare the motor controller with a new external profile. More...
|
|
virtual void | changeProfile (const Nice::Date &, const Nice::NPoint &) |
|
virtual void | changeProfile (const Nice::Date &, const Nice::NPoint &) |
|
virtual void | changeProfile (const Nice::Date &, const Nice::NPoint &) |
|
| MoccaWheelServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~MoccaWheelServiceWorkerSkeleton () |
|
virtual void | setVelocity (double _velocity)=0 |
|
| MoccaWheelServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~MoccaWheelServiceWorkerSkeleton () |
|
virtual void | setVelocity (double _velocity)=0 |
|
const Nice::PropertyPtr & | cmd () |
|
void | setCompletion (const Nice::Completion &_c) |
|
void | cmdStart (const std::string &_action="") |
|
void | cmdDone () |
|
void | cmdWarning (const std::string &_l) |
|
void | cmdWarning (const Nice::LoggerObject &_o) |
|
void | cmdError (const std::string &_l) |
|
void | cmdError (const Nice::LoggerObject &_o) |
|
void | cmdError (const Nice::SeqLoggerObject &_oo) |
|
void | cmdPercent (Nice::Int _v) |
|
void | cmdAction (Nice::Int _v, const std::string &_s) |
|
virtual void | cmd (const Nice::Completion &_c) |
|
template<typename DataType > |
Nice::Completion | exec (const Nice::Completion &_c, DataType &_localdata, const DataType &_indata=DataType()) |
| if currently online, push the state into WORKING More...
|
|
template<typename DataType > |
void | execCommand (DataType _cmd) |
|
const Nice::PropertyPtr & | cmd () |
|
void | setCompletion (const Nice::Completion &_c) |
|
void | cmdStart (const std::string &_action="") |
|
void | cmdDone () |
|
void | cmdWarning (const std::string &_l) |
|
void | cmdWarning (const Nice::LoggerObject &_o) |
|
void | cmdError (const std::string &_l) |
|
void | cmdError (const Nice::LoggerObject &_o) |
|
void | cmdError (const Nice::SeqLoggerObject &_oo) |
|
void | cmdPercent (Nice::Int _v) |
|
void | cmdAction (Nice::Int _v, const std::string &_s) |
|
virtual void | cmd (const Nice::Completion &_c) |
|
template<typename DataType > |
Nice::Completion | exec (const Nice::Completion &_c, DataType &_localdata, const DataType &_indata=DataType()) |
|
template<typename DataType > |
void | execCommand (DataType _cmd) |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
| change state to a new state If the state is the current state, or a negative state, do nothing. Otherwise change the "next" state in the state machine and notify all threads. More...
|
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
| change state to a new state More...
|
|
void | waitForState (Basda::ServiceState _state) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
| wait (indefinitely) until the worker has reached a specific state More...
|
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
|
void | waitForState (Basda::ServiceState _state) |
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|