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
Humanoid Path Planner
hpp-core
Commits
b75745c3
Commit
b75745c3
authored
Sep 23, 2019
by
Guilhem Saurel
Browse files
include pinocchio before boost, ref #182
ref
https://github.com/stack-of-tasks/pinocchio/issues/849
parent
85bd19fb
Pipeline
#5999
passed with stage
in 74 minutes and 30 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/configuration-shooters.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE configuration_shooters
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/core/configuration-shooter/uniform.hh>
...
...
tests/explicit-relative-transformation.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE ExplicitRelativeTransformationTest
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<boost/shared_ptr.hpp>
...
...
tests/path-projectors.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE pathProjector
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<boost/test/test_case_template.hpp>
#include
<boost/mpl/list.hpp>
...
...
tests/paths.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE paths
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<boost/test/test_case_template.hpp>
#include
<boost/mpl/list.hpp>
...
...
tests/plugin.cc.in
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE plugin
#include <pinocchio/fwd.hpp>
#include <boost/test/included/unit_test.hpp>
#include <hpp/core/plugin.hh>
...
...
tests/problem.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE problem
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/fcl/collision_object.h>
...
...
tests/relative-motion.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE relativeMotion
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<boost/test/test_case_template.hpp>
#include
<boost/mpl/list.hpp>
...
...
tests/test-config-validations.cc
View file @
b75745c3
...
...
@@ -18,6 +18,8 @@
#define BOOST_TEST_MODULE test_config_validations
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/core/problem.hh>
...
...
tests/test-configprojector.cc
View file @
b75745c3
...
...
@@ -14,7 +14,8 @@
// received a copy of the GNU Lesser General Public License along with
// hpp-constraints. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE ConfigProjector
#define BOOST_TEST_MODULE ConfigProjector
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/pinocchio/device.hh>
...
...
@@ -124,16 +125,16 @@ BOOST_AUTO_TEST_CASE (ref_not_zero)
projector
->
add
(
constraints
::
Implicit
::
create
(
position
,
ineq
));
Configuration_t
cfg
(
dev
->
neutralConfiguration
());
ref
[
0
]
=
2
;
ref
[
1
]
=
0
;
ref
[
2
]
=
2
;
ref
[
0
]
=
2
;
ref
[
1
]
=
0
;
ref
[
2
]
=
2
;
cfg
.
segment
(
0
,
3
)
=
ref
;
BOOST_CHECK
(
projector
->
apply
(
cfg
));
BOOST_CHECK_MESSAGE
((
cfg
.
segment
(
0
,
3
)
-
ref
).
isZero
(),
"Configuration should not be modified."
);
ref
[
0
]
=
0
;
ref
[
1
]
=
0
;
ref
[
2
]
=
0
;
ref
[
0
]
=
0
;
ref
[
1
]
=
0
;
ref
[
2
]
=
0
;
cfg
.
segment
(
0
,
3
)
=
ref
;
BOOST_CHECK
(
projector
->
apply
(
cfg
));
BOOST_CHECK_MESSAGE
(
cfg
(
0
)
>
1
,
"Dof 0 should have been modified. "
<<
cfg
.
head
<
3
>
().
transpose
());
...
...
tests/test-continuous-validation.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-constraints. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE ContinuousValidation
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<boost/date_time/posix_time/posix_time.hpp>
...
...
tests/test-gradient-based.cc
View file @
b75745c3
...
...
@@ -19,6 +19,7 @@
#define BOOST_TEST_MODULE gradient_based
#include
<cmath>
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/pinocchio/device.hh>
...
...
tests/test-path-extraction.cc
View file @
b75745c3
...
...
@@ -18,6 +18,8 @@
#define BOOST_TEST_MODULE path_extraction
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/fcl/math/transform.h>
...
...
tests/time-parameterization.cc
View file @
b75745c3
...
...
@@ -15,6 +15,7 @@
// hpp-core. If not, see <http://www.gnu.org/licenses/>.
#define BOOST_TEST_MODULE time_parameterization
#include
<pinocchio/fwd.hpp>
#include
<boost/test/included/unit_test.hpp>
#include
<hpp/core/time-parameterization/polynomial.hh>
...
...
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