Go to the documentation of this file.
9 #ifndef SOT_JOINT_TRAJECTORY_ENTITY_HH
10 #define SOT_JOINT_TRAJECTORY_ENTITY_HH
20 #include <dynamic-graph/entity.h>
28 #if defined(joint_trajectory_entity_EXPORTS)
29 #define SOTJOINT_TRAJECTORY_ENTITY_EXPORT __declspec(dllexport)
31 #define SOTJOINT_TRAJECTORY_ENTITY_EXPORT __declspec(dllimport)
34 #define SOTJOINT_TRAJECTORY_ENTITY_EXPORT
56 void loadFile(
const std::string &
name);
75 std::size_t &getSeqId(std::size_t &seqid,
const sigtime_t &time);
86 virtual void display(std::ostream &os)
const;
159 void UpdateTrajectory(
const Trajectory &aTrajectory);
162 void setInitTraj(
const std::string &os);
168 #endif // SOT_JOINT_TRAJECTORY_ENTITY_HH
virtual ~SotJointTrajectoryEntity()
dynamicgraph::SignalTimeDependent< sot::MatrixHomogeneous, sigtime_t > waistSOUT
Publish waist for each evaluation of the graph.
Eigen::Transform< double, 3, Eigen::Affine > SOT_CORE_EXPORT MatrixHomogeneous
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > zmpSOUT
Publish zmp for each evaluation of the graph.
dynamicgraph::SignalTimeDependent< size_type, sigtime_t > refresherSINTERN
This object handles trajectory of quantities and publish them as signals.
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > positionSOUT
Publish pose for each evaluation of the graph.
dynamicgraph::size_type size_type
sot::Trajectory init_traj_
Initial state of the trajectory.
SOTJOINT_TRAJECTORY_ENTITY_EXPORT friend std::ostream & operator<<(std::ostream &os, const SotJointTrajectoryEntity &r)
#define DYNAMIC_GRAPH_ENTITY_DECL()
std::deque< sot::Trajectory > deque_traj_
Queue of trajectories.
std::deque< sot::Trajectory >::size_type index_
Index on the point along the trajectory.
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > comSOUT
Publish com for each evaluation of the graph.
dynamicgraph::Vector com_
Store the center of mass.
#define SOTJOINT_TRAJECTORY_ENTITY_EXPORT
timestamp traj_timestamp_
Keep the starting time as an identifier of the trajector.
std::size_t seqid_
Store the current seq identifier.
sot::MatrixHomogeneous waist_
Store the waist position.
dynamicgraph::Vector pose_
Store the pos;.
dynamicgraph::SignalPtr< Trajectory, sigtime_t > trajectorySIN
Read a trajectory.
SignalTimeDependent< Dummy, sigtime_t > OneStepOfUpdateS
Internal signal to trigger one step of the algorithm.
dynamicgraph::Vector cop_
Store the center of pressure ZMP.
dynamicgraph::SignalTimeDependent< std::size_t, sigtime_t > seqIdSOUT
Publish ID of the trajectory currently realized.
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31