20 #ifndef HPP_PINOCCHIO_DEVICE_SYNC_HH 21 #define HPP_PINOCCHIO_DEVICE_SYNC_HH 40 const Model&
model()
const { assert(model_);
return *model_; }
58 const Data &
data()
const { assert(
d().data_);
return *
d().data_; }
93 bool currentAcceleration (
vectorIn_t acceleration);
103 const vector3_t& positionCenterOfMass ()
const;
195 #endif // HPP_PINOCCHIO_DEVICE_SYNC_HH const Data & data() const
Access to Pinocchio data/.
Definition: device-sync.hh:58
boost::shared_ptr< Data > DataPtr_t
Definition: fwd.hh:116
const Model & model() const
Access to pinocchio model.
Definition: device-sync.hh:40
void computeForwardKinematics()
Compute forward kinematics.
Definition: device-sync.hh:120
boost::shared_ptr< Device > DevicePtr_t
Definition: fwd.hh:104
DeviceData const & d() const
Definition: device-sync.hh:179
const GeomData & geomData() const
Access to Pinocchio geomData/.
Definition: device-sync.hh:67
const vector_t & currentAcceleration() const
Get current acceleration.
Definition: device-sync.hh:90
GeomModel & geomModel()
Access to pinocchio geomModel.
Definition: device-sync.hh:51
Definition: device-data.hh:41
boost::shared_ptr< const Model > ModelConstPtr_t
Definition: fwd.hh:115
ModelConstPtr_t modelPtr() const
Access to pinocchio model.
Definition: device-sync.hh:36
boost::shared_ptr< const GeomData > GeomDataConstPtr_t
Definition: fwd.hh:122
ModelPtr_t model_
Definition: device-sync.hh:136
boost::shared_ptr< GeomData > GeomDataPtr_t
Definition: fwd.hh:121
GeomDataPtr_t geomDataPtr()
Access to Pinocchio geomData/.
Definition: device-sync.hh:65
boost::shared_ptr< Model > ModelPtr_t
Definition: fwd.hh:114
Eigen::Matrix< value_type, 3, Eigen::Dynamic > ComJacobian_t
Definition: fwd.hh:89
GeomData & geomData()
Access to Pinocchio geomData/.
Definition: device-sync.hh:69
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > vector_t
Definition: fwd.hh:75
const Configuration_t & currentConfiguration() const
Get current configuration.
Definition: device-sync.hh:77
GeomModelPtr_t geomModel_
Definition: device-sync.hh:137
DataConstPtr_t dataPtr() const
Access to Pinocchio data/.
Definition: device-sync.hh:54
Computation_t
Definition: device-data.hh:30
DataPtr_t dataPtr()
Access to Pinocchio data/.
Definition: device-sync.hh:56
Abstract class representing a Device.
Definition: device-sync.hh:29
void updateGeometryPlacements()
Update the geometry placement to the currentConfiguration.
Definition: device-sync.hh:125
DeviceData & d()
Definition: device-sync.hh:176
GeomModelConstPtr_t geomModelPtr() const
Access to pinocchio geomModel.
Definition: device-sync.hh:45
double value_type
Definition: fwd.hh:40
Eigen::Ref< const Configuration_t > ConfigurationIn_t
Definition: fwd.hh:77
Model & model()
Access to pinocchio model.
Definition: device-sync.hh:42
ModelPtr_t modelPtr()
Access to pinocchio model.
Definition: device-sync.hh:38
Data & data()
Access to Pinocchio data/.
Definition: device-sync.hh:60
boost::shared_ptr< const GeomModel > GeomModelConstPtr_t
Definition: fwd.hh:120
bool isLocked() const
Check if the current DeviceData is locked.
Definition: device-sync.hh:184
const vector_t & currentVelocity() const
Get current velocity.
Definition: device-sync.hh:84
Eigen::Ref< const vector_t > vectorIn_t
Definition: fwd.hh:80
const GeomModel & geomModel() const
Access to pinocchio geomModel.
Definition: device-sync.hh:49
void computeFramesForwardKinematics()
Definition: device-sync.hh:123
GeomModelPtr_t geomModelPtr()
Access to pinocchio geomModel.
Definition: device-sync.hh:47
Computation_t computationFlag() const
Get computation flag.
Definition: device-sync.hh:118
boost::shared_ptr< GeomModel > GeomModelPtr_t
Definition: fwd.hh:119
vector_t Configuration_t
Definition: fwd.hh:76
Definition: device-sync.hh:162
boost::shared_ptr< const Data > DataConstPtr_t
Definition: fwd.hh:117
GeomDataConstPtr_t geomDataPtr() const
Access to Pinocchio geomData/.
Definition: device-sync.hh:63
Eigen::Matrix< value_type, 3, 1 > vector3_t
Definition: fwd.hh:86