Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ballistic_touchdown.c File Reference
#include "state.h"
+ Include dependency graph for ballistic_touchdown.c:

Go to the source code of this file.


void ballistic_touchdown_init (void)
void ballistic_touchdown_run (void)
 Function that predicts the ballistic crash location. More...


float g = -9.81f
struct FloatVect2 ballistic_pos

Function Documentation

◆ ballistic_touchdown_init()

void ballistic_touchdown_init ( void  )

Definition at line 29 of file ballistic_touchdown.c.

◆ ballistic_touchdown_run()

void ballistic_touchdown_run ( void  )

Function that predicts the ballistic crash location.

Uses ENU coordinates (vertical up!)

Definition at line 38 of file ballistic_touchdown.c.

References ballistic_pos, g, h(), stateGetPositionEnu_f(), stateGetSpeedEnu_f(), VECT2_ASSIGN, VECT2_SMUL, VECT2_SUM, FloatVect2::x, EnuCoor_f::x, FloatVect2::y, EnuCoor_f::y, and EnuCoor_f::z.

+ Here is the call graph for this function:

Variable Documentation

◆ ballistic_pos

struct FloatVect2 ballistic_pos

Definition at line 25 of file ballistic_touchdown.c.

Referenced by ballistic_touchdown_run().

◆ g