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 
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
CC00_Dubins_State_Space cc00_dubins_state_space_
Required state spaces.
An implementation of continuous curvature (CC) steer for a Dubins car with zero curvature at the star...
CC_Dubins_State_Space(double kappa, double sigma, double discretization=0.1, bool forwards=true)
Constructor.
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...
An implementation of continuous curvature (CC) steer for a Dubins car with arbitrary curvature at the...
CCpm0_Dubins_State_Space ccpm0_dubins_state_space_
CCpmpm_Dubins_State_Space ccpmpm_dubins_state_space_
double get_distance(const State &state1, const State &state2) const
Returns shortest path length from state1 to state2.
An implementation of continuous curvature (CC) steer for a Dubins car with either positive (p) or neg...
Description of a kinematic car&#39;s state.
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 zero curvature at the star...
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.
CC0pm_Dubins_State_Space cc0pm_dubins_state_space_


steering_functions
Author(s): Holger Banzhaf
autogenerated on Thu Aug 18 2022 02:09:46