7 #include <gtest/gtest.h>
12 #include "../test_helpers/path_planning_checker.hpp"
14 TEST(fields2cover_pp_reeds_shepp_hc, turn_dist) {
16 robot.setCruiseVel(2.0);
17 robot.setMaxCurv(1.0);
18 robot.setMaxDiffCurv(1.0);
23 start, boost::math::constants::half_pi<double>(),
24 end, 3.0 * boost::math::constants::half_pi<double>());
26 end, 3.0 * boost::math::constants::half_pi<double>(),
false));
29 TEST(fields2cover_pp_reeds_shepp_hc, random_points) {
31 robot.setCruiseVel(2.0);
32 robot.setMaxCurv(1.0);
33 robot.setMaxDiffCurv(1.0);
38 for (
double ang = 0.25; ang < boost::math::constants::pi<double>(); ang += 0.25) {
41 end, ang + boost::math::constants::pi<double>());
43 end, ang + boost::math::constants::pi<double>(),
false));