This object handles trajectory of quantities and publish them as signals. More...
#include <joint-trajectory-entity.hh>

| Public Types | |
| typedef int | Dummy | 
|  Public Types inherited from dynamicgraph::Entity | |
| typedef std::map< const std::string, command::Command *> | CommandMap_t | 
| typedef std::map< std::string, SignalBase< int > *> | SignalMap | 
| Public Member Functions | |
| DYNAMIC_GRAPH_ENTITY_DECL () | |
| dynamicgraph::Vector & | getNextCoM (dynamicgraph::Vector &com, const int &time) | 
| Return the next com.  More... | |
| dynamicgraph::Vector & | getNextCoP (dynamicgraph::Vector &cop, const int &time) | 
| Return the next cop.  More... | |
| dynamicgraph::Vector & | getNextPosition (dynamicgraph::Vector &pos, const int &time) | 
| Return the next pose for the legs.  More... | |
| sot::MatrixHomogeneous & | getNextWaist (sot::MatrixHomogeneous &waist, const int &time) | 
| Return the next waist.  More... | |
| unsigned int & | getSeqId (unsigned int &seqid, const int &time) | 
| Return the current seq identified of the current trajectory.  More... | |
| void | loadFile (const std::string &name) | 
| int & | OneStepOfUpdate (int &dummy, const int &time) | 
| Perform one update of the signals.  More... | |
| SotJointTrajectoryEntity (const std::string &name) | |
| Constructor.  More... | |
| sot::MatrixHomogeneous | XYZThetaToMatrixHomogeneous (const dynamicgraph::Vector &xyztheta) | 
| Convert a xyztheta vector into an homogeneous matrix.  More... | |
| virtual | ~SotJointTrajectoryEntity () | 
|  Public Member Functions inherited from dynamicgraph::Entity | |
| std::ostream & | displaySignalList (std::ostream &os) const | 
| Entity (const std::string &name) | |
| virtual const std::string & | getClassName () const | 
| const std::string & | getCommandList () const | 
| virtual std::string | getDocString () const | 
| LoggerVerbosity | getLoggerVerbosityLevel () | 
| LoggerVerbosity | getLoggerVerbosityLevel () | 
| const std::string & | getName () const | 
| command::Command * | getNewStyleCommand (const std::string &cmdName) | 
| CommandMap_t | getNewStyleCommandMap () | 
| SignalBase< int > & | getSignal (const std::string &signalName) | 
| const SignalBase< int > & | getSignal (const std::string &signalName) const | 
| SignalMap | getSignalMap () const | 
| double | getStreamPrintPeriod () | 
| double | getStreamPrintPeriod () | 
| double | getTimeSample () | 
| double | getTimeSample () | 
| bool | hasSignal (const std::string &signame) const | 
| Logger & | logger () | 
| Logger const & | logger () const | 
| Logger & | logger () | 
| Logger const & | logger () const | 
| void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") | 
| void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") | 
| void | setLoggerVerbosityLevel (LoggerVerbosity lv) | 
| void | setLoggerVerbosityLevel (LoggerVerbosity lv) | 
| bool | setStreamPrintPeriod (double t) | 
| bool | setStreamPrintPeriod (double t) | 
| bool | setTimeSample (double t) | 
| bool | setTimeSample (double t) | 
| virtual SignalBase< int > * | test () | 
| virtual void | test2 (SignalBase< int > *) | 
| virtual std::ostream & | writeCompletionList (std::ostream &os) const | 
| virtual std::ostream & | writeGraph (std::ostream &os) const | 
| virtual | ~Entity () | 
| Public Attributes | |
| Signals | |
| Internal signal for synchronisation. | |
| dynamicgraph::SignalTimeDependent< int, int > | refresherSINTERN | 
| SignalTimeDependent< Dummy, int > | OneStepOfUpdateS | 
| Internal signal to trigger one step of the algorithm.  More... | |
| dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > | positionSOUT | 
| Publish pose for each evaluation of the graph.  More... | |
| dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > | comSOUT | 
| Publish com for each evaluation of the graph.  More... | |
| dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > | zmpSOUT | 
| Publish zmp for each evaluation of the graph.  More... | |
| dynamicgraph::SignalTimeDependent< sot::MatrixHomogeneous, int > | waistSOUT | 
| Publish waist for each evaluation of the graph.  More... | |
| dynamicgraph::SignalTimeDependent< unsigned int, int > | seqIdSOUT | 
| Publish ID of the trajectory currently realized.  More... | |
| dynamicgraph::SignalPtr< Trajectory, int > | trajectorySIN | 
| Read a trajectory.  More... | |
| Protected Member Functions | |
| void | setInitTraj (const std::string &os) | 
| Implements the parsing and the affectation of initial trajectory.  More... | |
| void | UpdatePoint (const JointTrajectoryPoint &aJTP) | 
| Update the entity with the current point of the trajectory.  More... | |
| void | UpdateTrajectory (const Trajectory &aTrajectory) | 
| Update the entity with the trajectory aTrajectory.  More... | |
|  Protected Member Functions inherited from dynamicgraph::Entity | |
| void | addCommand (const std::string &name, command::Command *command) | 
| void | entityDeregistration () | 
| void | entityRegistration () | 
| void | signalDeregistration (const std::string &name) | 
| void | signalRegistration (const SignalArray< int > &signals) | 
| Protected Attributes | |
| dynamicgraph::Vector | com_ | 
| Store the center of mass.  More... | |
| dynamicgraph::Vector | cop_ | 
| Store the center of pressure ZMP.  More... | |
| std::deque< sot::Trajectory > | deque_traj_ | 
| Queue of trajectories.  More... | |
| std::deque< sot::Trajectory >::size_type | index_ | 
| Index on the point along the trajectory.  More... | |
| sot::Trajectory | init_traj_ | 
| Initial state of the trajectory.  More... | |
| dynamicgraph::Vector | pose_ | 
| Store the pos;.  More... | |
| unsigned int | seqid_ | 
| Store the current seq identifier.  More... | |
| timestamp | traj_timestamp_ | 
| Keep the starting time as an identifier of the trajector.  More... | |
| sot::MatrixHomogeneous | waist_ | 
| Store the waist position.  More... | |
|  Protected Attributes inherited from dynamicgraph::Entity | |
| CommandMap_t | commandMap | 
| Logger | logger_ | 
| std::string | name | 
| SignalMap | signalMap | 
| Display | |
| virtual void | display (std::ostream &os) const | 
| SOTJOINT_TRAJECTORY_ENTITY_EXPORT friend std::ostream & | operator<< (std::ostream &os, const SotJointTrajectoryEntity &r) | 
This object handles trajectory of quantities and publish them as signals.
Definition at line 47 of file joint-trajectory-entity.hh.
Definition at line 94 of file joint-trajectory-entity.hh.
| SotJointTrajectoryEntity::SotJointTrajectoryEntity | ( | const std::string & | name | ) | 
Constructor.
Definition at line 36 of file joint-trajectory-entity.cpp.
| 
 | inlinevirtual | 
Definition at line 54 of file joint-trajectory-entity.hh.
| 
 | virtual | 
Reimplemented from dynamicgraph::Entity.
Definition at line 294 of file joint-trajectory-entity.cpp.
| dynamicgraph::sot::SotJointTrajectoryEntity::DYNAMIC_GRAPH_ENTITY_DECL | ( | ) | 
| dynamicgraph::Vector & SotJointTrajectoryEntity::getNextCoM | ( | dynamicgraph::Vector & | com, | 
| const int & | time | ||
| ) | 
Return the next com.
Definition at line 252 of file joint-trajectory-entity.cpp.
| dynamicgraph::Vector & SotJointTrajectoryEntity::getNextCoP | ( | dynamicgraph::Vector & | cop, | 
| const int & | time | ||
| ) | 
Return the next cop.
Definition at line 261 of file joint-trajectory-entity.cpp.
| dynamicgraph::Vector & SotJointTrajectoryEntity::getNextPosition | ( | dynamicgraph::Vector & | pos, | 
| const int & | time | ||
| ) | 
Return the next pose for the legs.
Definition at line 242 of file joint-trajectory-entity.cpp.
| sot::MatrixHomogeneous & SotJointTrajectoryEntity::getNextWaist | ( | sot::MatrixHomogeneous & | waist, | 
| const int & | time | ||
| ) | 
Return the next waist.
Definition at line 270 of file joint-trajectory-entity.cpp.
| unsigned int & SotJointTrajectoryEntity::getSeqId | ( | unsigned int & | seqid, | 
| const int & | time | ||
| ) | 
Return the current seq identified of the current trajectory.
Definition at line 279 of file joint-trajectory-entity.cpp.
| void SotJointTrajectoryEntity::loadFile | ( | const std::string & | name | ) | 
Definition at line 288 of file joint-trajectory-entity.cpp.
| int & SotJointTrajectoryEntity::OneStepOfUpdate | ( | int & | dummy, | 
| const int & | time | ||
| ) | 
Perform one update of the signals.
Definition at line 206 of file joint-trajectory-entity.cpp.
| 
 | protected | 
Implements the parsing and the affectation of initial trajectory.
Definition at line 300 of file joint-trajectory-entity.cpp.
| 
 | protected | 
Update the entity with the current point of the trajectory.
Definition at line 90 of file joint-trajectory-entity.cpp.
| 
 | protected | 
Update the entity with the trajectory aTrajectory.
Definition at line 132 of file joint-trajectory-entity.cpp.
| sot::MatrixHomogeneous SotJointTrajectoryEntity::XYZThetaToMatrixHomogeneous | ( | const dynamicgraph::Vector & | xyztheta | ) | 
Convert a xyztheta vector into an homogeneous matrix.
Definition at line 227 of file joint-trajectory-entity.cpp.
| 
 | friend | 
Definition at line 86 of file joint-trajectory-entity.hh.
| 
 | protected | 
Store the center of mass.
Definition at line 134 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::SotJointTrajectoryEntity::comSOUT | 
Publish com for each evaluation of the graph.
Definition at line 108 of file joint-trajectory-entity.hh.
| 
 | protected | 
Store the center of pressure ZMP.
Definition at line 137 of file joint-trajectory-entity.hh.
| 
 | protected | 
Queue of trajectories.
Definition at line 149 of file joint-trajectory-entity.hh.
| 
 | protected | 
Index on the point along the trajectory.
Definition at line 125 of file joint-trajectory-entity.hh.
| 
 | protected | 
Initial state of the trajectory.
Definition at line 146 of file joint-trajectory-entity.hh.
| SignalTimeDependent<Dummy, int> dynamicgraph::sot::SotJointTrajectoryEntity::OneStepOfUpdateS | 
Internal signal to trigger one step of the algorithm.
Definition at line 102 of file joint-trajectory-entity.hh.
| 
 | protected | 
Store the pos;.
Definition at line 131 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::SotJointTrajectoryEntity::positionSOUT | 
Publish pose for each evaluation of the graph.
Definition at line 105 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<int, int> dynamicgraph::sot::SotJointTrajectoryEntity::refresherSINTERN | 
Definition at line 99 of file joint-trajectory-entity.hh.
| 
 | protected | 
Store the current seq identifier.
Definition at line 143 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<unsigned int, int> dynamicgraph::sot::SotJointTrajectoryEntity::seqIdSOUT | 
Publish ID of the trajectory currently realized.
Definition at line 117 of file joint-trajectory-entity.hh.
| 
 | protected | 
Keep the starting time as an identifier of the trajector.
Definition at line 128 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalPtr<Trajectory, int> dynamicgraph::sot::SotJointTrajectoryEntity::trajectorySIN | 
Read a trajectory.
Definition at line 120 of file joint-trajectory-entity.hh.
| 
 | protected | 
Store the waist position.
Definition at line 140 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<sot::MatrixHomogeneous, int> dynamicgraph::sot::SotJointTrajectoryEntity::waistSOUT | 
Publish waist for each evaluation of the graph.
Definition at line 114 of file joint-trajectory-entity.hh.
| dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::SotJointTrajectoryEntity::zmpSOUT | 
Publish zmp for each evaluation of the graph.
Definition at line 111 of file joint-trajectory-entity.hh.