![]() |
torcs - 1.2.0 | ![]() |
#include <tgf.h>
Include dependency graph for ttypes.h:
Go to the source code of this file.
Compounds | |
struct | t3Dd |
3D point. More... | |
struct | tDynPt |
Dynamic point structure. More... | |
struct | tForces |
Forces and moments. More... | |
struct | tPosd |
6 DOF position. More... | |
Defines | |
#define | RADS2RPM(x) ((x)*9.549296585) |
Radian/s to RPM conversion. | |
#define | RPM2RADS(x) ((x)*.104719755) |
RPM to Radian/s conversion. | |
#define | RAD2DEG(x) ((x)*(180.0/PI)) |
Radian to degree conversion. | |
#define | DEG2RAD(x) ((x)*(PI/180.0)) |
Degree to radian conversion. | |
#define | FEET2M(x) ((x)*0.304801) |
Feet to meter conversion. | |
#define | SIGN(x) ((x) < 0 ? -1.0 : 1.0) |
Sign of the expression. | |
#define | NORM0_2PI(x) |
Angle normalization between 0 and 2 * PI. | |
#define | NORM_PI_PI(x) |
Angle normalization between -PI and PI. | |
#define | DIST(x1, y1, x2, y2) sqrt(((x1) - (x2)) * ((x1) - (x2)) + ((y1) - (y2)) * ((y1) - (y2))) |
Distance between two points. | |
#define | FRNT_RGT 0 |
front right | |
#define | FRNT_LFT 1 |
front left | |
#define | REAR_RGT 2 |
rear right | |
#define | REAR_LFT 3 |
rear left | |
#define | FRNT 0 |
front | |
#define | REAR 1 |
rear | |
#define | RIGHT 0 |
right | |
#define | LEFT 1 |
left | |
Variables | |
const tdble | PI = 3.14159265358979323846 |
PI. | |
const tdble | G = 9.80665 |
m/s/s |
|
Value: Angle normalization between 0 and 2 * PI.
|
|
Value: Angle normalization between -PI and PI.
|