Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/joystick/joystick.h"
#include "subsystems/datalink/datalink.h"
#include "subsystems/abi.h"
#include "pprzlink/dl_protocol.h"
#include "generated/airframe.h"
Go to the source code of this file.
Functions | |
void | joystick_init (void) |
Init function. More... | |
void | joystick_parse (uint8_t *buf) |
JOYSTICK_RAW message parser if valid, send a JOYSTICK ABI message. More... | |
Variables | |
struct Joystick | joystick |
Definition in file joystick.c.
void joystick_init | ( | void | ) |
Init function.
Definition at line 34 of file joystick.c.
References joystick, Joystick::pitch, Joystick::roll, Joystick::throttle, and Joystick::yaw.
void joystick_parse | ( | uint8_t * | buf | ) |
JOYSTICK_RAW message parser if valid, send a JOYSTICK ABI message.
Definition at line 42 of file joystick.c.
References joystick, JOYSTICK_ID, Joystick::pitch, Joystick::roll, Joystick::throttle, and Joystick::yaw.
struct Joystick joystick |
Definition at line 32 of file joystick.c.
Referenced by joystick_init(), and joystick_parse().