|
hpp-pinocchio 6.0.0
Wrapping of the kinematic/dynamic chain Pinocchio for HPP.
|
#include <hpp/pinocchio/device-sync.hh>


Public Member Functions | |
| DeviceSync (const DevicePtr_t &device, bool lock=true) | |
| virtual | ~DeviceSync () |
| DeviceData & | d () |
| DeviceData const & | d () const |
| void | lock () |
| Lock the current DeviceData. | |
| bool | isLocked () const |
| Check if the current DeviceData is locked. | |
| void | unlock () |
| Unlock the current DeviceData. | |
Public Member Functions inherited from hpp::pinocchio::AbstractDevice | |
| ModelConstPtr_t | modelPtr () const |
| Access to pinocchio model. | |
| ModelPtr_t | modelPtr () |
| Access to pinocchio model. | |
| const Model & | model () const |
| Access to pinocchio model. | |
| Model & | model () |
| Access to pinocchio model. | |
| GeomModelConstPtr_t | geomModelPtr () const |
| Access to pinocchio geomModel. | |
| GeomModelPtr_t | geomModelPtr () |
| Access to pinocchio geomModel. | |
| const GeomModel & | geomModel () const |
| Access to pinocchio geomModel. | |
| GeomModel & | geomModel () |
| Access to pinocchio geomModel. | |
| DataConstPtr_t | dataPtr () const |
| Access to Pinocchio data/. | |
| DataPtr_t | dataPtr () |
| Access to Pinocchio data/. | |
| const Data & | data () const |
| Access to Pinocchio data/. | |
| Data & | data () |
| Access to Pinocchio data/. | |
| GeomDataConstPtr_t | geomDataPtr () const |
| Access to Pinocchio geomData/. | |
| GeomDataPtr_t | geomDataPtr () |
| Access to Pinocchio geomData/. | |
| const GeomData & | geomData () const |
| Access to Pinocchio geomData/. | |
| GeomData & | geomData () |
| Access to Pinocchio geomData/. | |
| const Configuration_t & | currentConfiguration () const |
| Get current configuration. | |
| virtual bool | currentConfiguration (ConfigurationIn_t configuration) |
| const vector_t & | currentVelocity () const |
| Get current velocity. | |
| bool | currentVelocity (vectorIn_t velocity) |
| Set current velocity. | |
| const vector_t & | currentAcceleration () const |
| Get current acceleration. | |
| bool | currentAcceleration (vectorIn_t acceleration) |
| Set current acceleration. | |
| const value_type & | mass () const |
| Get mass of robot. | |
| const vector3_t & | positionCenterOfMass () const |
| Get position of center of mass. | |
| const ComJacobian_t & | jacobianCenterOfMass () const |
| Get Jacobian of center of mass with respect to configuration. | |
| HPP_PINOCCHIO_DEPRECATED void | controlComputation (const Computation_t &) |
| HPP_PINOCCHIO_DEPRECATED Computation_t | computationFlag () const |
| void | computeForwardKinematics () |
| Compute forward kinematics computing everything. | |
| void | computeForwardKinematics (int flag) |
| void | computeFramesForwardKinematics () |
| void | updateGeometryPlacements () |
| Update the geometry placement to the currentConfiguration. | |
Additional Inherited Members | |
Protected Member Functions inherited from hpp::pinocchio::AbstractDevice | |
| AbstractDevice () | |
| AbstractDevice (const ModelPtr_t &m, const GeomModelPtr_t &gm) | |
Protected Attributes inherited from hpp::pinocchio::AbstractDevice | |
| ModelPtr_t | model_ |
| GeomModelPtr_t | geomModel_ |
A thread-safe access to a Device.
To ensure thread safety, one can do
| hpp::pinocchio::DeviceSync::DeviceSync | ( | const DevicePtr_t & | device, |
| bool | lock = true |
||
| ) |
Constructor
| device | to lock |
| lock | whether to acquire the lock. |
|
virtual |
Destructor. The lock is released if necessary.
|
inlinevirtual |
Accessor to the locked DeviceData.
Implements hpp::pinocchio::AbstractDevice.
|
inlinevirtual |
Const accessor to the locked DeviceData.
Implements hpp::pinocchio::AbstractDevice.
|
inline |
Check if the current DeviceData is locked.
| void hpp::pinocchio::DeviceSync::lock | ( | ) |
Lock the current DeviceData.
| void hpp::pinocchio::DeviceSync::unlock | ( | ) |
Unlock the current DeviceData.