Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 "modules/core/commands.h"
#include "generated/airframe.h"
#include "modules/actuators/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 is_servo
 
bool do_servo_run
 
int32_t servo_run_counter
 
int32_t servo_run_timer
 
int32_t servo_run_step
 
int32_t steps
 
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

◆ TIME_PER_DEFLECTION

#define TIME_PER_DEFLECTION   0.8

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

Definition at line 46 of file servo_tester.c.

Function Documentation

◆ servo_tester_init()

void servo_tester_init ( void  )

◆ servo_tester_periodic()

void servo_tester_periodic ( void  )

Variable Documentation

◆ do_servo_run

bool do_servo_run

Definition at line 38 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ is_servo

bool is_servo

Definition at line 37 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ servo_mean

int32_t servo_mean

Definition at line 49 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ servo_run_counter

int32_t servo_run_counter

Definition at line 39 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ servo_run_step

int32_t servo_run_step

Definition at line 41 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ servo_run_timer

int32_t servo_run_timer

Definition at line 40 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ servo_test_val

int32_t servo_test_val

Definition at line 35 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().

◆ steps

int32_t steps

Definition at line 42 of file servo_tester.c.

Referenced by servo_tester_init(), and servo_tester_periodic().