Skip to content
GitLab
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
5344fbeb
Verified
Commit
5344fbeb
authored
Mar 28, 2019
by
Justin Carpentier
Browse files
multibody/model: correct indent
parent
5e07b288
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hxx
View file @
5344fbeb
...
...
@@ -58,14 +58,14 @@ namespace pinocchio
template
<
typename
JointModelDerived
>
typename
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
JointIndex
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
addJoint
(
const
JointIndex
parent
,
const
JointModelBase
<
JointModelDerived
>
&
joint_model
,
const
SE3
&
joint_placement
,
const
std
::
string
&
joint_name
,
const
VectorXs
&
max_effort
,
const
VectorXs
&
max_velocity
,
const
VectorXs
&
min_config
,
const
VectorXs
&
max_config
)
const
JointModelBase
<
JointModelDerived
>
&
joint_model
,
const
SE3
&
joint_placement
,
const
std
::
string
&
joint_name
,
const
VectorXs
&
max_effort
,
const
VectorXs
&
max_velocity
,
const
VectorXs
&
min_config
,
const
VectorXs
&
max_config
)
{
assert
(
(
njoints
==
(
int
)
joints
.
size
())
&&
(
njoints
==
(
int
)
inertias
.
size
())
&&
(
njoints
==
(
int
)
parents
.
size
())
&&
(
njoints
==
(
int
)
jointPlacements
.
size
())
);
...
...
@@ -125,9 +125,9 @@ namespace pinocchio
template
<
typename
JointModelDerived
>
typename
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
JointIndex
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>::
addJoint
(
const
JointIndex
parent
,
const
JointModelBase
<
JointModelDerived
>
&
joint_model
,
const
SE3
&
joint_placement
,
const
std
::
string
&
joint_name
)
const
JointModelBase
<
JointModelDerived
>
&
joint_model
,
const
SE3
&
joint_placement
,
const
std
::
string
&
joint_name
)
{
VectorXs
max_effort
,
max_velocity
,
min_config
,
max_config
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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