cheshirekow  v0.1.0
query.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of mpblocks.
5  *
6  * mpblocks is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * mpblocks is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18  */
26 #ifndef MPBLOCKS_DUBINS_CURVES_EIGEN_QUERY_H_
27 #define MPBLOCKS_DUBINS_CURVES_EIGEN_QUERY_H_
28 
29 namespace mpblocks {
30 namespace dubins {
31 namespace curves_eigen {
32 
34 template <typename Format_t>
35 struct Query {
36  typedef Eigen::Matrix<Format_t, 3, 1> Vector3d_t;
37  typedef Eigen::Matrix<Format_t, 2, 1> Vector2d_t;
38 
41  Format_t r;
42 };
43 
44 } // curves_eigen
45 } // dubins
46 } // mpblocks
47 
48 #endif // MPBLOCKS_DUBINS_CURVES_EIGEN_QUERY_H_
encapsulates two dubins states and a raidus
Definition: query.h:35
Eigen::Matrix< Format_t, 2, 1 > Vector2d_t
Definition: query.h:37
Eigen::Matrix< Format_t, 3, 1 > Vector3d_t
Definition: query.h:36
Vector3d_t q1
end state
Definition: query.h:40
Vector3d_t q0
start state
Definition: query.h:39