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
03ab74eb
Commit
03ab74eb
authored
Jan 07, 2018
by
jcarpent
Browse files
[Algo] Struct naming fix
parent
0e96972d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithm/rnea-derivatives.hxx
View file @
03ab74eb
...
...
@@ -24,14 +24,14 @@
namespace
se3
{
struct
computeGeneralizedGravityDeriva
r
iveForwardStep
:
public
fusion
::
JointVisitor
<
computeGeneralizedGravityDeriva
r
iveForwardStep
>
struct
computeGeneralizedGravityDeriva
t
iveForwardStep
:
public
fusion
::
JointVisitor
<
computeGeneralizedGravityDeriva
t
iveForwardStep
>
{
typedef
boost
::
fusion
::
vector
<
const
se3
::
Model
&
,
se3
::
Data
&
,
const
Eigen
::
VectorXd
&
>
ArgsType
;
JOINT_VISITOR_INIT
(
computeGeneralizedGravityDeriva
r
iveForwardStep
);
JOINT_VISITOR_INIT
(
computeGeneralizedGravityDeriva
t
iveForwardStep
);
template
<
typename
JointModel
>
static
void
algo
(
const
se3
::
JointModelBase
<
JointModel
>
&
jmodel
,
...
...
@@ -139,8 +139,8 @@ namespace se3
for
(
Model
::
JointIndex
i
=
1
;
i
<
(
Model
::
JointIndex
)
model
.
njoints
;
++
i
)
{
computeGeneralizedGravityDeriva
r
iveForwardStep
::
run
(
model
.
joints
[
i
],
data
.
joints
[
i
],
computeGeneralizedGravityDeriva
r
iveForwardStep
::
ArgsType
(
model
,
data
,
q
));
computeGeneralizedGravityDeriva
t
iveForwardStep
::
run
(
model
.
joints
[
i
],
data
.
joints
[
i
],
computeGeneralizedGravityDeriva
t
iveForwardStep
::
ArgsType
(
model
,
data
,
q
));
}
for
(
size_t
i
=
(
size_t
)
(
model
.
njoints
-
1
);
i
>
0
;
--
i
)
...
...
Write
Preview
Markdown
is supported
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