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
8867664c
Commit
8867664c
authored
Feb 09, 2018
by
Olivier Stasse
Browse files
Removes remaining initializer_list
parent
e7d02a3b
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/sot/torque_control/admittance-controller.hh
View file @
8867664c
...
...
@@ -41,7 +41,6 @@
#include <sot/torque_control/utils/logger.hh>
#include <sot/torque_control/common.hh>
#include <map>
#include <initializer_list>
#include "boost/assign.hpp"
#include <tsid/robots/robot-wrapper.hpp>
...
...
include/sot/torque_control/current-controller.hh
View file @
8867664c
...
...
@@ -41,7 +41,6 @@
#include <sot/torque_control/utils/logger.hh>
#include <sot/torque_control/common.hh>
#include <map>
#include <initializer_list>
#include "boost/assign.hpp"
...
...
include/sot/torque_control/nd-trajectory-generator.hh
View file @
8867664c
...
...
@@ -36,10 +36,6 @@
/* --- INCLUDE --------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#include <sot/torque_control/signal-helper.hh>
#include <sot/torque_control/utils/vector-conversions.hh>
#include <sot/torque_control/utils/logger.hh>
//#include <sot/torque_control/utils/trajectory-generators.hh>
#include <parametric-curves/spline.hpp>
#include <parametric-curves/constant.hpp>
...
...
@@ -49,6 +45,11 @@
#include <parametric-curves/infinite-sinusoid.hpp>
#include <parametric-curves/infinite-const-acc.hpp>
#include <sot/torque_control/signal-helper.hh>
#include <sot/torque_control/utils/vector-conversions.hh>
#include <sot/torque_control/utils/logger.hh>
//#include <sot/torque_control/utils/trajectory-generators.hh>
#include <map>
#include "boost/assign.hpp"
...
...
src/common.cpp
View file @
8867664c
...
...
@@ -277,8 +277,8 @@ namespace dynamicgraph
bool
RobotUtil
::
joints_sot_to_urdf
(
Eigen
::
ConstRefVector
q_sot
,
Eigen
::
RefVector
q_urdf
)
{
assert
(
q_urdf
.
size
()
==
static_cast
<
Eigen
::
Index
>
(
m_nbJoints
));
assert
(
q_sot
.
size
()
==
static_cast
<
Eigen
::
Index
>
(
m_nbJoints
));
assert
(
q_urdf
.
size
()
==
static_cast
<
Eigen
::
VectorXd
::
Index
>
(
m_nbJoints
));
assert
(
q_sot
.
size
()
==
static_cast
<
Eigen
::
VectorXd
::
Index
>
(
m_nbJoints
));
if
(
m_nbJoints
==
0
)
{
...
...
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