define_trajectories.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
27 #ifndef _DEFINE_TRAJECTORIES_H_
28 #define _DEFINE_TRAJECTORIES_H_
29 
35 #ifdef _trajectory_planner_nodelet_CPP_
36 
37 double a[20][9] =
38 // double a[3][8] =
39 {
40 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
41 {-20, 21, 21, 21, -20,-21,-21,-21,-21},
42 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
43 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
44 {-15, 19, 19, 19, -19,-19,-19,-19,-19},
45 {-20, 19.6, 19.6, 19.6, 19.6, -19.6, -19.6, -19.6, -19.6},
46 {-20, 19.6, 19.6, 19.6, 19.6, -19.6, -19.6, -19.6, -19.6},
47 {18,18,18,18,18,-20,-20,-20,-20},
48 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
49 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
50 
51 {-17, 21, 17, 17, -21,-21,-21,-21,-21},
52 {-15, 21, 21, 21, -20,-21,-21,-21,-21},
53 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
54 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
55 {-15, 19, 19, 19, -19,-19,-19,-19,-19},
56 {-20, 19.6, 19.6, 19.6, 19.6, -19.6, -19.6, -19.6, -19.6},
57 {-20, 15, 15, 22, 22, -22, -22, -22, -22},
58 {20,20,18,18,18,-20,-20,-20,-20},
59 {-15, 21, 21, 21, -21,-21,-21,-21,-21},
60 {-15, 21, 21, 21, -21,-21,-21,-21,-21}
61 };
62 
63 double arc[20][9] =
64 // double arc[3][8] =
65 {
66 {0.25,-0.25,-0.3,-0.3,-0.35,-0.35,-0.25,-0.30,-0.25},
67 {0.5,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25},
68 {0.60,-0.250,-0.250,-0.250,-0.250,-0.250,-0.300,-0.350,-0.350},
69 {0.60,-0.250,-0.250,-0.250,-0.250,-0.250,-0.350,-0.350,-0.350},
70 {0.60,-0.250,-0.250,-0.250,-0.250,-0.250,-0.350,-0.250,-0.250},
71 {0.3,-0.20,-0.20,-0.20,-0.20,-0.20,-0.20,-0.20,-0.20},
72 {0.3,-0.25,-0.20,-0.20,-0.20,-0.20,-0.20,-0.20,-0.20},
73 {-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.25},
74 {0.60,-0.270,-0.270,-0.270,-0.250,-0.250,-0.250,-0.250,-0.25},
75 {0.60,-0.30,-0.30,-0.30,-0.250,-0.250,-0.250,-0.250,-0.25},
76 
77 {0.25,-0.50,-0.25,-0.25,-0.25,-0.45,-0.30,-0.30,-0.25},
78 {0.5,-0.25,-0.25,-0.25,-0.35,-0.35,-0.35,-0.25,-0.15},
79 {0.60,-0.450,-0.250,-0.250,-0.250,-0.250,-0.350,-0.350,-0.350},
80 {0.60,-0.250,-0.250,-0.350,-0.250,-0.250,-0.350,-0.350,-0.350},
81 {0.60,-0.250,-0.250,-0.250,-0.250,-0.250,-0.350,-0.250,-0.250},
82 {0.3,-0.30,-0.30,-0.20,-0.20,-0.50,-0.30,-0.20,-0.20},
83 {0.40,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25,-0.25},
84 {-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.250,-0.25},
85 {0.60,-0.270,-0.270,-0.270,-0.250,-0.250,-0.250,-0.250,-0.25},
86 {0.60,-0.30,-0.30,-0.30,-0.250,-0.250,-0.250,-0.250,-0.25}
87 
88 };
89 #else
90 
91 extern double a[20][9];
92 extern double arc[20][9];
93 #endif
94 #endif
95 
double arc[20][9]
double a[20][9]
Trajectories definitions.


trajectory_planner
Author(s): Joel Pereira
autogenerated on Mon Mar 2 2015 01:32:54