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
f093df59
Verified
Commit
f093df59
authored
Nov 08, 2018
by
Justin Carpentier
Browse files
liegroup/algo: add dIntegrateStep
parent
2b6215c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/liegroup/liegroup-algo.hxx
View file @
f093df59
...
...
@@ -147,6 +147,43 @@ namespace pinocchio
SE3_DETAILS_DISPATCH_JOINT_COMPOSITE_3
(
IntegrateStepAlgo
);
template
<
typename
Visitor
,
typename
JointModel
>
struct
dIntegrateStepAlgo
;
template
<
typename
LieGroup_t
,
typename
ConfigVectorIn
,
typename
TangentVectorIn
,
typename
JacobianMatrixType
>
struct
dIntegrateStep
:
public
fusion
::
JointVisitorBase
<
dIntegrateStep
<
LieGroup_t
,
ConfigVectorIn
,
TangentVectorIn
,
JacobianMatrixType
>
>
{
typedef
boost
::
fusion
::
vector
<
const
ConfigVectorIn
&
,
const
TangentVectorIn
&
,
JacobianMatrixType
&
,
const
ArgumentPosition
&
>
ArgsType
;
SE3_DETAILS_VISITOR_METHOD_ALGO_4
(
dIntegrateStepAlgo
,
dIntegrateStep
)
};
template
<
typename
Visitor
,
typename
JointModel
>
struct
dIntegrateStepAlgo
{
template
<
typename
ConfigVectorIn
,
typename
TangentVector
,
typename
JacobianMatrixType
>
static
void
run
(
const
JointModelBase
<
JointModel
>
&
jmodel
,
const
Eigen
::
MatrixBase
<
ConfigVectorIn
>
&
q
,
const
Eigen
::
MatrixBase
<
TangentVector
>
&
v
,
const
Eigen
::
MatrixBase
<
JacobianMatrixType
>
&
mat
,
const
ArgumentPosition
&
arg
)
{
typedef
typename
Visitor
::
LieGroupMap
LieGroupMap
;
typename
LieGroupMap
::
template
operation
<
JointModel
>
::
type
lgo
;
lgo
.
dIntegrate
(
jmodel
.
jointConfigSelector
(
q
.
derived
()),
jmodel
.
jointVelocitySelector
(
v
.
derived
()),
jmodel
.
jointBlock
(
EIGEN_CONST_CAST
(
JacobianMatrixType
,
mat
)),
arg
);
}
};
SE3_DETAILS_DISPATCH_JOINT_COMPOSITE_4
(
dIntegrateStepAlgo
);
template
<
typename
Visitor
,
typename
JointModel
>
struct
InterpolateStepAlgo
;
template
<
typename
LieGroup_t
,
typename
ConfigVectorIn1
,
typename
ConfigVectorIn2
,
typename
Scalar
,
typename
ConfigVectorOut
>
...
...
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