steering_functions.hpp
Go to the documentation of this file.
1 /*********************************************************************
2 * Copyright (c) 2017 - for information on the respective copyright
3 * owner see the NOTICE file and/or the repository
4 *
5 * https://github.com/hbanzhaf/steering_functions.git
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16 * implied. See the License for the specific language governing
17 * permissions and limitations under the License.
18 ***********************************************************************/
19 
20 #ifndef STEERING_FUNCTIONS_HPP
21 #define STEERING_FUNCTIONS_HPP
22 
23 namespace steering
24 {
25 
27 struct State
28 {
30  double x;
31 
33  double y;
34 
36  double theta;
37 
39  double kappa;
40 
42  double d;
43 };
44 
47 {
49  State state;
50 
52  double Sigma[16] = { 0.0 };
53 
55  double Lambda[16] = { 0.0 };
56 
61  double covariance[16] = { 0.0 };
62 };
63 
65 struct Control
66 {
68  double delta_s;
69 
71  double kappa;
72 
74  double sigma;
75 };
76 
79 struct Motion_Noise
80 {
82  double alpha1;
83  double alpha2;
84 
86  double alpha3;
87  double alpha4;
88 };
89 
92 {
94  double std_x;
95 
97  double std_y;
98 
100  double std_theta;
101 };
102 
105 {
107  double k1;
108 
110  double k2;
111 
113  double k3;
114 };
115 
116 } // namespace steering
117 
118 #endif
steering::State_With_Covariance::state
State state
Expected state of the robot.
Definition: steering_functions.hpp:66
steering::State_With_Covariance::covariance
double covariance[16]
Covariance of the state given by Sigma + Lambda: (x_x x_y x_theta x_kappa y_x y_y y_theta y_kappa the...
Definition: steering_functions.hpp:78
steering::State
Description of a kinematic car's state.
Definition: steering_functions.hpp:44
steering::Controller::k1
double k1
Weight on longitudinal error.
Definition: steering_functions.hpp:124
steering::Control::sigma
double sigma
Sharpness (derivative of curvature with respect to arc length) of a segment.
Definition: steering_functions.hpp:91
steering::Measurement_Noise::std_theta
double std_theta
Standard deviation of localization in theta.
Definition: steering_functions.hpp:117
steering::Controller::k2
double k2
Weight on lateral error.
Definition: steering_functions.hpp:127
steering::State::theta
double theta
Orientation of the robot.
Definition: steering_functions.hpp:70
steering::State_With_Covariance::Sigma
double Sigma[16]
Covariance of the state estimation due to motion and measurement noise.
Definition: steering_functions.hpp:69
steering::Motion_Noise::alpha2
double alpha2
Definition: steering_functions.hpp:100
steering::State::kappa
double kappa
Curvature at position (x,y)
Definition: steering_functions.hpp:73
steering::State::y
double y
Position in y of the robot.
Definition: steering_functions.hpp:67
steering::Control::kappa
double kappa
Curvature at the beginning of a segment.
Definition: steering_functions.hpp:88
steering::Control
Description of a path segment with its corresponding control inputs.
Definition: steering_functions.hpp:82
steering::Motion_Noise::alpha3
double alpha3
Variance in lateral direction: alpha3*delta_s*delta_s + alpha4*kappa*kappa.
Definition: steering_functions.hpp:103
steering::Motion_Noise
Parameters of the motion noise model according to the book: Probabilistic Robotics,...
Definition: steering_functions.hpp:96
steering::State::x
double x
Position in x of the robot.
Definition: steering_functions.hpp:64
steering::Control::delta_s
double delta_s
Signed arc length of a segment.
Definition: steering_functions.hpp:85
steering::State_With_Covariance::Lambda
double Lambda[16]
Covariance of the state estimate due to the absence of measurements.
Definition: steering_functions.hpp:72
steering::Controller::k3
double k3
Weight on heading error.
Definition: steering_functions.hpp:130
steering::Motion_Noise::alpha4
double alpha4
Definition: steering_functions.hpp:104
steering::Measurement_Noise::std_y
double std_y
Standard deviation of localization in y.
Definition: steering_functions.hpp:114
steering::State_With_Covariance
Description of a kinematic car's state with covariance.
Definition: steering_functions.hpp:63
steering::Controller
Parameters of the feedback controller.
Definition: steering_functions.hpp:121
steering
Definition: dubins_state_space.hpp:70
steering::State::d
double d
Definition: steering_functions.hpp:76
steering::Measurement_Noise::std_x
double std_x
Standard deviation of localization in x.
Definition: steering_functions.hpp:111
steering::Motion_Noise::alpha1
double alpha1
Variance in longitudinal direction: alpha1*delta_s*delta_s + alpha2*kappa*kappa
Definition: steering_functions.hpp:99
steering::Measurement_Noise
Parameters of the measurement noise.
Definition: steering_functions.hpp:108


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