#include <Output.hpp>
Configuration of an output on Dispatcher
◆ Output()
| Output::Output |
( |
std::string const & |
name = "" | ) |
|
◆ getJointNames()
| vector< string > Output::getJointNames |
( |
| ) |
const |
◆ getName()
| std::string Output::getName |
( |
| ) |
const |
◆ isFullyUpdated()
| bool Output::isFullyUpdated |
( |
| ) |
const |
Returns true if all joints of the current sample have been updated since the last call to read()
◆ isNew()
| bool Output::isNew |
( |
| ) |
const |
Returns true if the current sample is new, i.e. if it has been updated since the last call to read()
◆ mapJointNamesToIndex()
| vector< size_t > Output::mapJointNamesToIndex |
( |
std::vector< std::string > const & |
names | ) |
const |
Returns the list of indexes that correspond to the requested names
- Exceptions
-
| base::samples::Joints::InvalidName | if one of the names does not exist |
◆ read()
| base::samples::Joints Output::read |
( |
| ) |
|
Read the current joint state, resetting all the 'new' flags
◆ reset()
Resets the internal tracking state to pristine, without changing configuration
◆ resize() [1/2]
| void joint_dispatcher::Output::resize |
( |
std::vector< std::string > const & |
jointNames | ) |
|
Resize while setting the list of joint names at the same time
◆ resize() [2/2]
| void Output::resize |
( |
size_t |
size | ) |
|
Declares the number of joints this output will generate
◆ size()
| size_t Output::size |
( |
| ) |
const |
◆ updateJoint()
| void Output::updateJoint |
( |
size_t |
jointIdx, |
|
|
base::Time const & |
time, |
|
|
base::JointState const & |
sample |
|
) |
| |
Updates a joint on this output
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-control-joint-dispatcher-0.20180105/src/Output.hpp
- /build/rock-master-18.09-control-joint-dispatcher-0.20180105/src/Output.cpp