Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
jsbsim_ir.c File Reference
#include "jsbsim_hw.h"
#include <math.h>
+ Include dependency graph for jsbsim_ir.c:

Go to the source code of this file.

Macros

#define JSBSIM_IR_ROLL_NEUTRAL   0.
 Regroup functions to simulate autopilot/infrared.c. More...
 
#define JSBSIM_IR_PITCH_NEUTRAL   0.
 

Functions

void set_ir (double roll, double pitch)
 
void ir_gain_calib (void)
 
void adc_buf_channel (uint8_t adc_channel, struct adc_buf *s, uint8_t av_nb_sample)
 Required by infrared.c:ir_init() More...
 

Macro Definition Documentation

#define JSBSIM_IR_PITCH_NEUTRAL   0.

Definition at line 15 of file jsbsim_ir.c.

Referenced by set_ir().

#define JSBSIM_IR_ROLL_NEUTRAL   0.

Regroup functions to simulate autopilot/infrared.c.

Infrared soft simulation.

Definition at line 12 of file jsbsim_ir.c.

Referenced by set_ir().

Function Documentation

void adc_buf_channel ( uint8_t  adc_channel,
struct adc_buf s,
uint8_t  av_nb_sample 
)

Required by infrared.c:ir_init()

Registers a buffer to be used to store the specified converted channel Usage:

Definition at line 34 of file jsbsim_ir.c.

void ir_gain_calib ( void  )

Definition at line 31 of file jsbsim_ir.c.

void set_ir ( double  roll,
double  pitch 
)