Go to the documentation of this file.
18 #ifndef CC_DUBINS_STATE_SPACE_HPP
19 #define CC_DUBINS_STATE_SPACE_HPP
39 class CC_Dubins_State_Space :
public HC_CC_State_Space
46 std::vector<std::pair<State, Control>>
predict_state(
const State& state,
bool forwards)
const;
49 double get_distance(
const State& state1,
const State& state2)
const;
52 std::vector<Control>
get_controls(
const State& state1,
const State& state2)
const;
An implementation of continuous curvature (CC) steer for a Dubins car with zero curvature at the star...
An implementation of continuous curvature (CC) steer for a Dubins car with zero curvature at the star...
CC00_Dubins_State_Space cc00_dubins_state_space_
Required state spaces.
double get_distance(const State &state1, const State &state2) const
Returns shortest path length from state1 to state2.
std::vector< std::pair< State, Control > > predict_state(const State &state, bool forwards) const
Predicts a state forwards or backwards to zero and max. curvature.
CCpmpm_Dubins_State_Space ccpmpm_dubins_state_space_
CCpm0_Dubins_State_Space ccpm0_dubins_state_space_
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...
CC0pm_Dubins_State_Space cc0pm_dubins_state_space_
CC_Dubins_State_Space(double kappa, double sigma, double discretization=0.1, bool forwards=true)
Constructor.
bool forwards_
Driving direction.
std::vector< Control > get_controls(const State &state1, const State &state2) const
Returns controls of the shortest path from state1 to state2.
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...