cc_dubins_state_space.hpp
Go to the documentation of this file.
1 /*********************************************************************
2 * Copyright (c) 2017 Robert Bosch GmbH.
3 * All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * *********************************************************************/
17 
18 #ifndef CC_DUBINS_STATE_SPACE_HPP
19 #define CC_DUBINS_STATE_SPACE_HPP
20 
21 #include <utility>
22 #include <vector>
23 
31 
32 namespace steering
33 {
34 
39 class CC_Dubins_State_Space : public HC_CC_State_Space
40 {
41 public:
43  CC_Dubins_State_Space(double kappa, double sigma, double discretization = 0.1, bool forwards = true);
44 
46  std::vector<std::pair<State, Control>> predict_state(const State& state, bool forwards) const;
47 
49  double get_distance(const State& state1, const State& state2) const;
50 
52  std::vector<Control> get_controls(const State& state1, const State& state2) const;
53 
54 private:
56  bool forwards_;
57 
63 };
64 
65 } // namespace steering
66 
67 #endif
steering::CC00_Dubins_State_Space
An implementation of continuous curvature (CC) steer for a Dubins car with zero curvature at the star...
Definition: cc00_dubins_state_space.hpp:70
hc_cc_state_space.hpp
steering::CC0pm_Dubins_State_Space
An implementation of continuous curvature (CC) steer for a Dubins car with zero curvature at the star...
Definition: cc0pm_dubins_state_space.hpp:69
steering::CC_Dubins_State_Space::cc00_dubins_state_space_
CC00_Dubins_State_Space cc00_dubins_state_space_
Required state spaces.
Definition: cc_dubins_state_space.hpp:89
ccpm0_dubins_state_space.hpp
steering::CC_Dubins_State_Space::get_distance
double get_distance(const State &state1, const State &state2) const
Returns shortest path length from state1 to state2.
Definition: cc_dubins_state_space.cpp:97
paths.hpp
steering::CC_Dubins_State_Space::predict_state
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.
Definition: cc_dubins_state_space.cpp:39
steering::CC_Dubins_State_Space::ccpmpm_dubins_state_space_
CCpmpm_Dubins_State_Space ccpmpm_dubins_state_space_
Definition: cc_dubins_state_space.hpp:92
steering::CC_Dubins_State_Space::ccpm0_dubins_state_space_
CCpm0_Dubins_State_Space ccpm0_dubins_state_space_
Definition: cc_dubins_state_space.hpp:91
steering::CCpm0_Dubins_State_Space
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...
Definition: ccpm0_dubins_state_space.hpp:69
steering::CC_Dubins_State_Space::cc0pm_dubins_state_space_
CC0pm_Dubins_State_Space cc0pm_dubins_state_space_
Definition: cc_dubins_state_space.hpp:90
steering::CC_Dubins_State_Space::CC_Dubins_State_Space
CC_Dubins_State_Space(double kappa, double sigma, double discretization=0.1, bool forwards=true)
Constructor.
Definition: cc_dubins_state_space.cpp:29
steering_functions.hpp
plot_states.kappa
kappa
Definition: plot_states.py:106
ccpmpm_dubins_state_space.hpp
steering
Definition: dubins_state_space.hpp:70
steering::CC_Dubins_State_Space::forwards_
bool forwards_
Driving direction.
Definition: cc_dubins_state_space.hpp:86
cc00_dubins_state_space.hpp
steering::CC_Dubins_State_Space::get_controls
std::vector< Control > get_controls(const State &state1, const State &state2) const
Returns controls of the shortest path from state1 to state2.
Definition: cc_dubins_state_space.cpp:149
steering::CCpmpm_Dubins_State_Space
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...
Definition: ccpmpm_dubins_state_space.hpp:70
cc0pm_dubins_state_space.hpp


steering_functions
Author(s): Holger Banzhaf
autogenerated on Mon Dec 11 2023 03:27:43