Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sim_ir.c File Reference

Regroup functions to simulate autopilot/infrared.c. More...

#include <inttypes.h>
#include "subsystems/sensors/infrared.h"
#include "generated/airframe.h"
#include <caml/mlvalues.h>
+ Include dependency graph for sim_ir.c:

Go to the source code of this file.

Functions

void ir_gain_calib (void)
 
value set_ir_and_airspeed (value roll __attribute__((unused)), value front __attribute__((unused)), value top __attribute__((unused)), value air_speed)
 

Variables

float sim_air_speed
 

Detailed Description

Regroup functions to simulate autopilot/infrared.c.

Infrared soft simulation. OCaml binding.

Definition in file sim_ir.c.

Function Documentation

void ir_gain_calib ( void  )

Definition at line 16 of file sim_ir.c.

value set_ir_and_airspeed ( value roll   __attribute__(unused),
value front   __attribute__(unused),
value top   __attribute__(unused),
value  air_speed 
)

Definition at line 19 of file sim_ir.c.

References infrared, Infrared::pitch, Infrared::roll, sim_air_speed, and Infrared::top.

Variable Documentation

float sim_air_speed