Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stereo_avoid_sim.c File Reference
#include "stereo_avoid.h"
#include "avoid_navigation.h"
#include "state.h"
#include "std.h"
+ Include dependency graph for stereo_avoid_sim.c:

Go to the source code of this file.


#define NormAngleRad(x)
 Normalize a degree angle between 0 and 359. More...


void stereo_avoid_init (void)
void stereo_avoid_run (void)
void stereo_avoid_start (void)
void stereo_avoid_stop (void)

Macro Definition Documentation

#define NormAngleRad (   x)
{ \
int dont_loop_forever = 0; \
while ((x < (-M_PI)) && ++dont_loop_forever) x += (2 * M_PI); \
while ((x >= (M_PI)) && ++dont_loop_forever) x -= (2 * M_PI); \

Normalize a degree angle between 0 and 359.

Definition at line 46 of file stereo_avoid_sim.c.

Referenced by stereo_avoid_run().

Function Documentation

void stereo_avoid_init ( void  )

Definition at line 35 of file stereo_avoid_sim.c.

References avoid_navigation_data, init_avoid_navigation(), and AvoidNavigationStruct::stereo_bin.

+ Here is the call graph for this function:

void stereo_avoid_run ( void  )
void stereo_avoid_start ( void  )

Definition at line 112 of file stereo_avoid_sim.c.

void stereo_avoid_stop ( void  )

Definition at line 117 of file stereo_avoid_sim.c.