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
Stack Of Tasks
pinocchio
Commits
3dfe2a28
Commit
3dfe2a28
authored
Nov 30, 2017
by
jcarpent
Browse files
[Model] Introduce the generalized gravity vector
parent
75c40552
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hpp
View file @
3dfe2a28
...
...
@@ -385,10 +385,15 @@ namespace se3
/// \brief Vector of joint torques (dim model.nv).
Eigen
::
VectorXd
tau
;
/// \brief Vector of Non Linear Effects (dim model.nv). It corresponds to the Coriolis, centrifugal and gravitational effects.
/// \note In the equation \f$ M\ddot{q} + b = \tau \f$,
/// the non linear effects are associated to the \f$b\f$
term
.
/// \brief Vector of Non Linear Effects (dim model.nv). It corresponds to
concatenation of
the Coriolis, centrifugal and gravitational effects.
/// \note In the
multibody dynamics
equation \f$ M\ddot{q} + b
(q, \dot{q})
= \tau \f$,
/// the non linear effects are associated to the
term
\f$b\f$.
Eigen
::
VectorXd
nle
;
/// \brief Vector of generalized gravity (dim model.nv).
/// \note In the multibody dynamics equation \f$ M\ddot{q} + c(q, \dot{q}) + g(q) = \tau \f$,
/// the gravity effect is associated to the \f$g\f$ term.
Eigen
::
VectorXd
g
;
/// \brief Vector of absolute operationnel frame placements (wrt the world).
container
::
aligned_vector
<
SE3
>
oMf
;
...
...
src/multibody/model.hxx
View file @
3dfe2a28
...
...
@@ -242,6 +242,7 @@ namespace se3
,
liMi
((
std
::
size_t
)
model
.
njoints
)
,
tau
(
model
.
nv
)
,
nle
(
model
.
nv
)
,
g
(
model
.
nv
)
,
oMf
((
std
::
size_t
)
model
.
nframes
)
,
Ycrb
((
std
::
size_t
)
model
.
njoints
)
,
dYcrb
((
std
::
size_t
)
model
.
njoints
)
...
...
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