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
servo_tester.c File Reference

Module that has a setting to change the input to a servo Call the servo that you want to test SERVO_TEST, and don't use it with the command laws. More...

#include "servo_tester.h"
#include "subsystems/commands.h"
#include "generated/airframe.h"
#include "subsystems/actuators.h"
#include "generated/modules.h"
+ Include dependency graph for servo_tester.c:

Go to the source code of this file.

Macros

#define TIME_PER_DEFLECTION   0.8
 Time in seconds per deflection, before going to the next. More...
 

Functions

void servo_tester_init ()
 
void servo_tester_periodic ()
 

Variables

int32_t servo_test_val
 
bool do_servo_run
 
int32_t servo_run_counter
 
int32_t servo_run_timer
 
int32_t servo_run_step
 
int32_t servo_mean
 

Detailed Description

Module that has a setting to change the input to a servo Call the servo that you want to test SERVO_TEST, and don't use it with the command laws.

Definition in file servo_tester.c.

Macro Definition Documentation

#define TIME_PER_DEFLECTION   0.8

Time in seconds per deflection, before going to the next.

Definition at line 44 of file servo_tester.c.

Referenced by servo_tester_periodic().

Function Documentation

void servo_tester_init ( void  )
void servo_tester_periodic ( void  )

Variable Documentation

bool do_servo_run

Definition at line 37 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

int32_t servo_mean

Definition at line 47 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

int32_t servo_run_counter

Definition at line 38 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

int32_t servo_run_step

Definition at line 40 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

int32_t servo_run_timer

Definition at line 39 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

int32_t servo_test_val

Definition at line 35 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().