CARLA
odrSpiral.h
Go to the documentation of this file.
1 /* ===================================================
2  * file: odrSpiral.c
3  * ---------------------------------------------------
4  * purpose: free sample for computing spirals
5  * in OpenDRIVE applications
6  * ---------------------------------------------------
7  * first edit: 09.03.2010 by M. Dupuis @ VIRES GmbH
8  * last mod.: 09.03.2010 by M. Dupuis @ VIRES GmbH
9  * ===================================================
10 
11  Copyright 2010 VIRES Simulationstechnologie GmbH
12 
13  Licensed under the Apache License, Version 2.0 (the "License");
14  you may not use this file except in compliance with the License.
15  You may obtain a copy of the License at
16 
17  http://www.apache.org/licenses/LICENSE-2.0
18 
19  Unless required by applicable law or agreed to in writing, software
20  distributed under the License is distributed on an "AS IS" BASIS,
21  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22  See the License for the specific language governing permissions and
23  limitations under the License.
24  */
25 
26 /**
27 * compute the actual "standard" spiral, starting with curvature 0
28 * @param s run-length along spiral
29 * @param cDot first derivative of curvature [1/m2]
30 * @param x resulting x-coordinate in spirals local co-ordinate system [m]
31 * @param y resulting y-coordinate in spirals local co-ordinate system [m]
32 * @param t tangent direction at s [rad]
33 */
34 
35 extern void odrSpiral( double s, double cDot, double *x, double *y, double *t );
void odrSpiral(double s, double cDot, double *x, double *y, double *t)
compute the actual "standard" spiral, starting with curvature 0
Definition: odrSpiral.cpp:234