Paparazzi UAS
v5.14.0_stable-0-g3f680d1
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 "subsystems/commands.h"
#include "generated/airframe.h"
#include "subsystems/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 | do_servo_run |
int32_t | servo_run_counter |
int32_t | servo_run_timer |
int32_t | servo_run_step |
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 44 of file servo_tester.c.
Referenced by servo_tester_periodic().
void servo_tester_init | ( | void | ) |
Definition at line 49 of file servo_tester.c.
References do_servo_run, servo_mean, servo_run_counter, servo_run_step, servo_run_timer, and servo_test_val.
void servo_tester_periodic | ( | void | ) |
Definition at line 61 of file servo_tester.c.
References do_servo_run, servo_mean, servo_run_counter, servo_run_step, servo_run_timer, servo_test_val, and TIME_PER_DEFLECTION.
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().