#include <yarp/dev/impl/jointData.h>
|
| | jointData ()=default |
| |
| | 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 |
| |
| virtual bool | read (yarp::os::idl::WireReader &reader) |
| |
| virtual bool | write (const yarp::os::idl::WireWriter &writer) const |
| |
| 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 |
| |
| bool | read (ConnectionReader &reader) override=0 |
| | Read this object from a network connection. More...
|
| |
| bool | write (ConnectionWriter &writer) const override=0 |
| | Write this object to a network connection. More...
|
| |
| virtual Type | getType () const |
| |
| virtual | ~PortReader () |
| | Destructor. More...
|
| |
| virtual bool | read (ConnectionReader &reader)=0 |
| | Read this object from a network connection. More...
|
| |
| virtual Type | getReadType () const |
| |
| virtual | ~PortWriter () |
| | Destructor. More...
|
| |
| virtual bool | write (ConnectionWriter &writer) const =0 |
| | Write this object to a network connection. 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 |
| |
Definition at line 22 of file jointData.h.
◆ unwrapped
◆ jointData() [1/2]
| yarp::dev::impl::jointData::jointData |
( |
| ) |
|
|
default |
◆ jointData() [2/2]
| 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 |
|
) |
| |
◆ read() [1/2]
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
| reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Implements yarp::os::Portable.
Definition at line 140 of file jointData.cpp.
◆ read() [2/2]
◆ toString()
| std::string yarp::dev::impl::jointData::toString |
( |
| ) |
const |
◆ write() [1/2]
◆ write() [2/2]
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
- Parameters
-
| writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::os::Portable.
Definition at line 228 of file jointData.cpp.
◆ controlMode
◆ controlMode_isValid
| bool yarp::dev::impl::jointData::controlMode_isValid {false} |
◆ current
◆ current_isValid
| bool yarp::dev::impl::jointData::current_isValid {false} |
◆ interactionMode
◆ interactionMode_isValid
| bool yarp::dev::impl::jointData::interactionMode_isValid {false} |
◆ jointAcceleration
◆ jointAcceleration_isValid
| bool yarp::dev::impl::jointData::jointAcceleration_isValid {false} |
◆ jointPosition
◆ jointPosition_isValid
| bool yarp::dev::impl::jointData::jointPosition_isValid {false} |
◆ jointVelocity
◆ jointVelocity_isValid
| bool yarp::dev::impl::jointData::jointVelocity_isValid {false} |
◆ motorAcceleration
◆ motorAcceleration_isValid
| bool yarp::dev::impl::jointData::motorAcceleration_isValid {false} |
◆ motorPosition
◆ motorPosition_isValid
| bool yarp::dev::impl::jointData::motorPosition_isValid {false} |
◆ motorVelocity
◆ motorVelocity_isValid
| bool yarp::dev::impl::jointData::motorVelocity_isValid {false} |
◆ pwmDutycycle
◆ pwmDutycycle_isValid
| bool yarp::dev::impl::jointData::pwmDutycycle_isValid {false} |
◆ torque
◆ torque_isValid
| bool yarp::dev::impl::jointData::torque_isValid {false} |
The documentation for this class was generated from the following files:
- src/libYARP_dev/src/idl_generated_code/yarp/dev/impl/jointData.h
- src/libYARP_dev/src/idl_generated_code/yarp/dev/impl/jointData.cpp