Skip to content

Commit

Permalink
Remove boost header
Browse files Browse the repository at this point in the history
  • Loading branch information
bradygm committed Aug 18, 2023
1 parent fd65e89 commit d6dc894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/trochoids/DubinsStateSpace.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#ifndef TROCHOIDS_DUBINSSTATESPACE_H
#define TROCHOIDS_DUBINSSTATESPACE_H

#include <boost/math/constants/constants.hpp>
#include <cassert>
#include <iostream>
#include <math.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/DubinsStateSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

namespace Dubins
{
const double twopi = 2. * boost::math::constants::pi<double>();
const double twopi = 2. * M_PI;
const double DUBINS_EPS = 1e-6;
const double DUBINS_ZERO = -1e-7;

Expand Down
2 changes: 1 addition & 1 deletion test/unit_test_trochoids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ TEST(TestTrochoids, trochoid_analytical_failure_case1)

trochoid_path.clear();
bool valid_numerical = trochoids::get_trochoid_path_numerical(start_state, goal_state, trochoid_path, wind, desired_speed, max_kappa);
double dist_numerical;
double dist_numerical = 0;
if (valid_numerical)
dist_numerical = trochoids::get_length(trochoid_path);
EXPECT_TRUE(valid_numerical);
Expand Down

0 comments on commit d6dc894

Please sign in to comment.