Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-pinocchio
Commits
147f6a18
Commit
147f6a18
authored
Mar 13, 2020
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Mar 13, 2020
Browse files
[Doc] document class Joint.
parent
f0aa7acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/pinocchio/joint.hh
View file @
147f6a18
...
...
@@ -36,26 +36,29 @@ namespace hpp {
/// components of the robot configuration starting at
/// Joint::rankInConfiguration.
///
/// The joint input vector represents a element of a Lie group, either
/// The joint input vector represents a
n
element of a Lie group, either
/// \li a vector space for JointTranslation, and bounded JointRotation,
/// \li the unit circle for non-bounded JointRotation joints,
/// \li an element of SO(3) for JointSO3, represented by a unit quaternion.
///
/// Operations specific to joints (uniform sampling of input space, straight
/// interpolation, distance, ...) are performed by a JointConfiguration
/// instance that has the same class hierarchy as Joint.
/// This class is a wrapper to pinocchio::JointModelTpl.
class
HPP_PINOCCHIO_DLLAPI
Joint
{
public:
/// \name Construction and copy and destruction
/// \{
/// Create a new joint
/// Returns a null pointer if indexInJointList is 0.
/// \param indexInJointList index in pinocchio vector of joints
/// (pinocchio::ModelTpl::joints)
/// \return shared pointer to result if indexInJointList > 0, empty
/// shared pointer if indexInJointList == 0.
/// \note indices of device start at 1 since 0 corresponds to "universe".
static
JointPtr_t
create
(
DeviceWkPtr_t
device
,
JointIndex
indexInJointList
);
/// Constructor
/// \param device pointer on the device the joint is belonging to.
/// \param indexInJointList index of the joint, i.e. joint = device.model.joints[index]
/// \param indexInJointList index in pinocchio vector of joints
/// (pinocchio::ModelTpl::joints). Should be > 0.
/// \note indices of device start at 1 since 0 corresponds to "universe".
Joint
(
DeviceWkPtr_t
device
,
JointIndex
indexInJointList
);
~
Joint
()
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment