filter_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014, 2015, 2016, Charles River Analytics, Inc.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * 1. Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  * 2. Redistributions in binary form must reproduce the above
12  * copyright notice, this list of conditions and the following
13  * disclaimer in the documentation and/or other materials provided
14  * with the distribution.
15  * 3. Neither the name of the copyright holder nor the names of its
16  * contributors may be used to endorse or promote products derived
17  * from this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23  * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30  * POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifndef ROBOT_LOCALIZATION_FILTER_COMMON_H
34 #define ROBOT_LOCALIZATION_FILTER_COMMON_H
35 
36 namespace RobotLocalization
37 {
38 
42 {
58 };
59 
63 {
70 };
71 
75 const int STATE_SIZE = 15;
81 
84 const int POSE_SIZE = 6;
85 const int TWIST_SIZE = 6;
86 const int POSITION_SIZE = 3;
87 const int ORIENTATION_SIZE = 3;
88 const int ACCELERATION_SIZE = 3;
89 
91 const double PI = 3.141592653589793;
92 const double TAU = 6.283185307179587;
93 
94 } // namespace RobotLocalization
95 
96 #endif // ROBOT_LOCALIZATION_FILTER_COMMON_H
const int STATE_SIZE
Global constants that define our state vector size and offsets to groups of values within that state...
Definition: filter_common.h:75
const int TWIST_SIZE
Definition: filter_common.h:85
const int POSITION_A_OFFSET
Definition: filter_common.h:80
ControlMembers
Enumeration that defines the control vector.
Definition: filter_common.h:62
const int POSITION_V_OFFSET
Definition: filter_common.h:78
const int ORIENTATION_SIZE
Definition: filter_common.h:87
const int POSITION_OFFSET
Definition: filter_common.h:76
const double TAU
Definition: filter_common.h:92
const int ACCELERATION_SIZE
Definition: filter_common.h:88
const int POSITION_SIZE
Definition: filter_common.h:86
const int POSE_SIZE
Pose and twist messages each contain six variables.
Definition: filter_common.h:84
const int ORIENTATION_OFFSET
Definition: filter_common.h:77
StateMembers
Enumeration that defines the state vector.
Definition: filter_common.h:41
const int ORIENTATION_V_OFFSET
Definition: filter_common.h:79
const double PI
Common variables.
Definition: filter_common.h:91


robot_localization
Author(s): Tom Moore
autogenerated on Wed Feb 3 2021 03:34:02