@@ -60,7 +60,6 @@ using hpp::core::CollisionValidation;
60
60
using hpp::core::Configuration_t;
61
61
using hpp::core::ConfigurationShooterPtr_t;
62
62
using hpp::core::ConfigValidationPtr_t;
63
- using hpp::core::value_type;
64
63
using hpp::core::matrix_t ;
65
64
using hpp::core::PathPtr_t;
66
65
using hpp::core::PathValidationPtr_t;
@@ -70,11 +69,12 @@ using hpp::core::ProblemPtr_t;
70
69
using hpp::core::size_type;
71
70
using hpp::core::SteeringMethodPtr_t;
72
71
using hpp::core::ValidationReportPtr_t;
72
+ using hpp::core::value_type;
73
73
using hpp::core::vector_t ;
74
74
using hpp::core::configurationShooter::Uniform;
75
+ using hpp::core::continuousCollisionChecking::Progressive;
75
76
using hpp::core::continuousValidation::Dichotomy;
76
77
using hpp::core::continuousValidation::DichotomyPtr_t;
77
- using hpp::core::continuousCollisionChecking::Progressive;
78
78
using hpp::core::pathValidation::createDiscretizedCollisionChecking;
79
79
using hpp::core::steeringMethod::Straight;
80
80
@@ -497,22 +497,22 @@ BOOST_AUTO_TEST_CASE(avoid_infinite_loop_spline) {
497
497
// create steering method
498
498
ProblemPtr_t problem = Problem::create (robot);
499
499
typedef steeringMethod::Spline<hpp::core::path::BernsteinBasis, 3 > SMSpline_t;
500
- SMSpline_t::Ptr_t sm (SMSpline_t::create (problem));
500
+ SMSpline_t::Ptr_t sm (SMSpline_t::create (problem));
501
501
Configuration_t q1 (robot->configSize ()), q2 (robot->configSize ());
502
502
PathPtr_t path;
503
503
bool ok;
504
504
505
505
// Calculate shift
506
- std::vector<int > order = { 1 };
506
+ std::vector<int > order = {1 };
507
507
matrix_t D1 (robot->numberDof (), 1 ), D2 (robot->numberDof (), 1 );
508
508
509
509
q1 << -1 , 0 ;
510
510
q2 << 1.1 , 0 ;
511
511
D1 << 0 , -1 ;
512
- D2 << 0 , 1 ;
512
+ D2 << 0 , 1 ;
513
513
path = sm->steer (q1, order, D1, q2, order, D2, 1.0 );
514
514
BOOST_REQUIRE_EQUAL (path->length (), 1.0 );
515
- value_type shift = - path->eval (0.5 , ok)[1 ];
515
+ value_type shift = -path->eval (0.5 , ok)[1 ];
516
516
517
517
// create path validation objects
518
518
DichotomyPtr_t dichotomy (Dichotomy::create (robot, 0 ));
0 commit comments