Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
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"
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 |
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.
#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.
void servo_tester_init | ( | void | ) |
Definition at line 51 of file servo_tester.c.
References do_servo_run, is_servo, servo_mean, servo_run_counter, servo_run_step, servo_run_timer, servo_test_val, and steps.
void servo_tester_periodic | ( | void | ) |
Definition at line 68 of file servo_tester.c.
References do_servo_run, is_servo, servo_mean, servo_run_counter, servo_run_step, servo_run_timer, servo_test_val, steps, and TIME_PER_DEFLECTION.
bool do_servo_run |
Definition at line 38 of file servo_tester.c.
Referenced by servo_tester_init(), and servo_tester_periodic().
bool is_servo |
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 49 of file servo_tester.c.
Referenced by servo_tester_init(), and servo_tester_periodic().
int32_t servo_run_counter |
Definition at line 39 of file servo_tester.c.
Referenced by servo_tester_init(), and servo_tester_periodic().
int32_t servo_run_step |
Definition at line 41 of file servo_tester.c.
Referenced by servo_tester_init(), and servo_tester_periodic().
int32_t servo_run_timer |
Definition at line 40 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().
int32_t steps |
Definition at line 42 of file servo_tester.c.
Referenced by servo_tester_init(), and servo_tester_periodic().