reeds_shepp_curves_hc.cpp
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3 // Author: Gonzalo Mier
4 // BSD-3 License
5 //=============================================================================
6 
7 #include <steering_functions/hc_cc_state_space/hc00_reeds_shepp_state_space.hpp>
10 
11 namespace f2c::pp {
12 
14  double dist_start_pos, double start_angle, double end_angle) {
15  steer::State start, end;
16 
17  start.x = 0.0;
18  start.y = 0.0;
19  start.theta = start_angle;
20  start.kappa = 0.0;
21  start.d = 0;
22 
23  end.x = dist_start_pos;
24  end.y = 0.0;
25  end.theta = end_angle;
26  end.kappa = 0.0;
27  end.d = 0;
28 
29  HC00_Reeds_Shepp_State_Space ss(
30  robot.getMaxCurv(),
31  robot.getMaxDiffCurv(),
33 
34  return steerStatesToPath(ss.get_path(start, end),
35  robot.getTurnVel());
36 }
37 
38 } // namespace f2c::pp
39 
f2c::pp::steerStatesToPath
types::Path steerStatesToPath(const std::vector< steer::State > &curve, double const_vel)
Definition: steer_to_path.hpp:21
f2c::pp
Path planning algorithms' namespace.
Definition: dubins_curves.h:14
1_basic_types.end
end
Definition: 1_basic_types.py:76
steer_to_path.hpp
2_objective_functions.robot
robot
Definition: 2_objective_functions.py:76
reeds_shepp_curves_hc.h
f2c::types::Path
Definition: Path.h:23
f2c::pp::TurningBase::discretization
double discretization
Definition: turning_base.h:92
f2c::types::Robot
Definition: Robot.h:25
f2c::pp::ReedsSheppCurvesHC::createSimpleTurn
F2CPath createSimpleTurn(const F2CRobot &robot, double dist_start_pos, double start_angle, double end_angle) override
Create a turn.
Definition: reeds_shepp_curves_hc.cpp:13


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31