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
sot-torque-control
Commits
f892b24e
Commit
f892b24e
authored
Feb 24, 2020
by
NoelieRamuzat
Committed by
Noëlie RAMUZAT
Feb 27, 2020
Browse files
[SimpleInvDyn] Cleaning scripts and add comments
parent
538741ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simple-inverse-dyn.cpp
View file @
f892b24e
...
...
@@ -397,8 +397,6 @@ DEFINE_SIGNAL_OUT_FUNCTION(tau_des, dynamicgraph::Vector) {
const
Vector6
&
dx_waist_ref
=
m_waist_ref_velSIN
(
iter
);
const
Vector6
&
ddx_waist_ref
=
m_waist_ref_accSIN
(
iter
);
const
VectorN
&
q_ref
=
m_posture_ref_posSIN
(
iter
);
// std::cout << "q_ref.size() = " << q_ref.size() << std::endl;
// std::cout << "m_robot_util->m_nbJoints = " << static_cast<Eigen::VectorXd::Index>(m_robot_util->m_nbJoints) << std::endl;
assert
(
q_ref
.
size
()
==
static_cast
<
Eigen
::
VectorXd
::
Index
>
(
m_robot_util
->
m_nbJoints
));
const
VectorN
&
dq_ref
=
m_posture_ref_velSIN
(
iter
);
assert
(
dq_ref
.
size
()
==
static_cast
<
Eigen
::
VectorXd
::
Index
>
(
m_robot_util
->
m_nbJoints
));
...
...
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