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 {
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 
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
double k1
Weight on longitudinal error.
double std_y
Standard deviation of localization in y.
double delta_s
Signed arc length of a segment.
double kappa
Curvature at the beginning of a segment.
double std_x
Standard deviation of localization in x.
double k2
Weight on lateral error.
Parameters of the motion noise model according to the book: Probabilistic Robotics, S. Thrun and others, MIT Press, 2006, p. 127-128 and p.204-206.
Description of a path segment with its corresponding control inputs.
State state
Expected state of the robot.
double x
Position in x of the robot.
Description of a kinematic car's state with covariance.
Parameters of the measurement noise.
double k3
Weight on heading error.
Parameters of the feedback controller.
double alpha1
Variance in longitudinal direction: alpha1*delta_s*delta_s + alpha2*kappa*kappa.
Description of a kinematic car's state.
double sigma
Sharpness (derivative of curvature with respect to arc length) of a segment.
double std_theta
Standard deviation of localization in theta.
double alpha3
Variance in lateral direction: alpha3*delta_s*delta_s + alpha4*kappa*kappa.
double kappa
Curvature at position (x,y)
double y
Position in y of the robot.
double theta
Orientation of the robot.


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