|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
130 #define nav_cube_SetAlpha(i) { nav_cube.alpha=i; }
131 #define nav_cube_SetSect(i) { nav_cube.sect=i; }
132 #define nav_cube_SetGridX(i) { nav_cube.grid_x=i; }
133 #define nav_cube_SetGridZ(i) { nav_cube.grid_z=i; }
134 #define nav_cube_SetSizeX(i) { nav_cube.size.x=i; }
135 #define nav_cube_SetSizeY(i) { nav_cube.size.y=i; }
136 #define nav_cube_SetSizeZ(i) { nav_cube.size.z=i; }
137 #define nav_cube_SetOffsX(i) { nav_cube.offset.x=i; }
138 #define nav_cube_SetOffsY(i) { nav_cube.offset.y=i; }
139 #define nav_cube_SetOffsZ(i) { nav_cube.offset.z=i; }
140 #define nav_cube_SetNSectX(i) { nav_cube.nsect_x=i; }
141 #define nav_cube_SetNSectZ(i) { nav_cube.nsect_z=i; }
void nav_cube_setup(uint8_t turb, uint8_t tb, uint8_t te)
int32_t nsect_z
number of sectors vertical
int32_t nline_z
number of lines z (vertical)
Paparazzi fixed point algebra.
bool nav_cube_run(int8_t j, int8_t i, uint8_t dest_b, uint8_t dest_e, uint8_t src_b, uint8_t src_e)
int32_t alpha
angle in degrees of flight direction to north, clockwise
int32_t nsect_x
number of sectors horizontal
struct Int32Vect3 size
size of the cube.
int32_t sect
sector to fly in (1..[nsect_x*nsect_z])
int32_t nline_x
number of lines x (horizontal)
int32_t grid_x
grid distance x (horizontal)
int32_t grid_z
grid distance z (vertical)
struct Int32Vect3 offset
offset to center.