#include <yarp/dev/impl/jointData.h>
Classes | |
class | Editor |
Public Types | |
typedef yarp::os::idl::Unwrapped< jointData > | unwrapped |
Public Member Functions | |
jointData () | |
jointData (const yarp::sig::VectorOf< double > &jointPosition, const bool jointPosition_isValid, const yarp::sig::VectorOf< double > &jointVelocity, const bool jointVelocity_isValid, const yarp::sig::VectorOf< double > &jointAcceleration, const bool jointAcceleration_isValid, const yarp::sig::VectorOf< double > &motorPosition, const bool motorPosition_isValid, const yarp::sig::VectorOf< double > &motorVelocity, const bool motorVelocity_isValid, const yarp::sig::VectorOf< double > &motorAcceleration, const bool motorAcceleration_isValid, const yarp::sig::VectorOf< double > &torque, const bool torque_isValid, const yarp::sig::VectorOf< double > &pwmDutycycle, const bool pwmDutycycle_isValid, const yarp::sig::VectorOf< double > ¤t, const bool current_isValid, const yarp::sig::VectorOf< int > &controlMode, const bool controlMode_isValid, const yarp::sig::VectorOf< int > &interactionMode, const bool interactionMode_isValid) | |
bool | read (yarp::os::idl::WireReader &reader) override |
bool | read (yarp::os::ConnectionReader &connection) override |
Read this object from a network connection. More... | |
bool | write (const yarp::os::idl::WireWriter &writer) const override |
bool | write (yarp::os::ConnectionWriter &connection) const override |
Write this object to a network connection. More... | |
std::string | toString () const |
Public Member Functions inherited from yarp::os::idl::WirePortable | |
virtual bool | readBare (yarp::os::ConnectionReader &reader) |
virtual bool | writeBare (yarp::os::ConnectionWriter &writer) const |
virtual bool | readBottle (yarp::os::ConnectionReader &reader) |
virtual bool | writeBottle (yarp::os::ConnectionWriter &writer) const |
Public Member Functions inherited from yarp::os::Portable | |
virtual Type | getType () const |
Public Member Functions inherited from yarp::os::PortReader | |
virtual | ~PortReader () |
Destructor. More... | |
virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::PortWriter | |
virtual | ~PortWriter () |
Destructor. More... | |
virtual void | onCompletion () const |
This is called when the port has finished all writing operations. More... | |
virtual void | onCommencement () const |
This is called when the port is about to begin writing operations. More... | |
virtual yarp::os::Type | getWriteType () const |
Public Attributes | |
yarp::sig::VectorOf< double > | jointPosition |
bool | jointPosition_isValid |
yarp::sig::VectorOf< double > | jointVelocity |
bool | jointVelocity_isValid |
yarp::sig::VectorOf< double > | jointAcceleration |
bool | jointAcceleration_isValid |
yarp::sig::VectorOf< double > | motorPosition |
bool | motorPosition_isValid |
yarp::sig::VectorOf< double > | motorVelocity |
bool | motorVelocity_isValid |
yarp::sig::VectorOf< double > | motorAcceleration |
bool | motorAcceleration_isValid |
yarp::sig::VectorOf< double > | torque |
bool | torque_isValid |
yarp::sig::VectorOf< double > | pwmDutycycle |
bool | pwmDutycycle_isValid |
yarp::sig::VectorOf< double > | current |
bool | current_isValid |
yarp::sig::VectorOf< int > | controlMode |
bool | controlMode_isValid |
yarp::sig::VectorOf< int > | interactionMode |
bool | interactionMode_isValid |
Additional Inherited Members | |
Static Public Member Functions inherited from yarp::os::Portable | |
static bool | copyPortable (const PortWriter &writer, PortReader &reader) |
Copy one portable to another, via writing and reading. More... | |
Definition at line 27 of file jointData.h.
Definition at line 98 of file jointData.h.
yarp::dev::impl::jointData::jointData | ( | ) |
Definition at line 21 of file jointData.cpp.
yarp::dev::impl::jointData::jointData | ( | const yarp::sig::VectorOf< double > & | jointPosition, |
const bool | jointPosition_isValid, | ||
const yarp::sig::VectorOf< double > & | jointVelocity, | ||
const bool | jointVelocity_isValid, | ||
const yarp::sig::VectorOf< double > & | jointAcceleration, | ||
const bool | jointAcceleration_isValid, | ||
const yarp::sig::VectorOf< double > & | motorPosition, | ||
const bool | motorPosition_isValid, | ||
const yarp::sig::VectorOf< double > & | motorVelocity, | ||
const bool | motorVelocity_isValid, | ||
const yarp::sig::VectorOf< double > & | motorAcceleration, | ||
const bool | motorAcceleration_isValid, | ||
const yarp::sig::VectorOf< double > & | torque, | ||
const bool | torque_isValid, | ||
const yarp::sig::VectorOf< double > & | pwmDutycycle, | ||
const bool | pwmDutycycle_isValid, | ||
const yarp::sig::VectorOf< double > & | current, | ||
const bool | current_isValid, | ||
const yarp::sig::VectorOf< int > & | controlMode, | ||
const bool | controlMode_isValid, | ||
const yarp::sig::VectorOf< int > & | interactionMode, | ||
const bool | interactionMode_isValid | ||
) |
Definition at line 49 of file jointData.cpp.
|
overridevirtual |
Read this object from a network connection.
Override this for your particular class.
reader | an interface to the network connection for reading |
Implements yarp::os::Portable.
Definition at line 170 of file jointData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 98 of file jointData.cpp.
std::string yarp::dev::impl::jointData::toString | ( | ) | const |
Definition at line 262 of file jointData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 180 of file jointData.cpp.
|
overridevirtual |
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
writer | an interface to the network connection for writing |
Implements yarp::os::Portable.
Definition at line 252 of file jointData.cpp.
yarp::sig::VectorOf<int> yarp::dev::impl::jointData::controlMode |
Definition at line 50 of file jointData.h.
bool yarp::dev::impl::jointData::controlMode_isValid |
Definition at line 51 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::current |
Definition at line 48 of file jointData.h.
bool yarp::dev::impl::jointData::current_isValid |
Definition at line 49 of file jointData.h.
yarp::sig::VectorOf<int> yarp::dev::impl::jointData::interactionMode |
Definition at line 52 of file jointData.h.
bool yarp::dev::impl::jointData::interactionMode_isValid |
Definition at line 53 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::jointAcceleration |
Definition at line 36 of file jointData.h.
bool yarp::dev::impl::jointData::jointAcceleration_isValid |
Definition at line 37 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::jointPosition |
Definition at line 32 of file jointData.h.
bool yarp::dev::impl::jointData::jointPosition_isValid |
Definition at line 33 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::jointVelocity |
Definition at line 34 of file jointData.h.
bool yarp::dev::impl::jointData::jointVelocity_isValid |
Definition at line 35 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::motorAcceleration |
Definition at line 42 of file jointData.h.
bool yarp::dev::impl::jointData::motorAcceleration_isValid |
Definition at line 43 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::motorPosition |
Definition at line 38 of file jointData.h.
bool yarp::dev::impl::jointData::motorPosition_isValid |
Definition at line 39 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::motorVelocity |
Definition at line 40 of file jointData.h.
bool yarp::dev::impl::jointData::motorVelocity_isValid |
Definition at line 41 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::pwmDutycycle |
Definition at line 46 of file jointData.h.
bool yarp::dev::impl::jointData::pwmDutycycle_isValid |
Definition at line 47 of file jointData.h.
yarp::sig::VectorOf<double> yarp::dev::impl::jointData::torque |
Definition at line 44 of file jointData.h.
bool yarp::dev::impl::jointData::torque_isValid |
Definition at line 45 of file jointData.h.