Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
joystick.h File Reference
#include "std.h"
#include "firmwares/fixedwing/stabilization/stabilization_attitude.h"
#include "autopilot.h"
+ Include dependency graph for joystick.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define JoystickHandeDatalink(_roll_int8, _pitch_int8, _throttle_int8)
 

Variables

uint8_t joystick_block
 

Macro Definition Documentation

#define JoystickHandeDatalink (   _roll_int8,
  _pitch_int8,
  _throttle_int8 
)
Value:
{ \
h_ctl_roll_setpoint = _roll_int8 * (AUTO1_MAX_ROLL / 0x7f); \
h_ctl_pitch_setpoint = _pitch_int8 * (AUTO1_MAX_PITCH / 0x7f); \
v_ctl_throttle_setpoint = (MAX_PPRZ/0x7f) * _throttle_int8; \
} \
}
uint8_t pprz_mode
Definition: main_ap.c:111
uint8_t nav_block
#define PPRZ_MODE_AUTO2
Definition: autopilot.h:46
uint8_t joystick_block
Definition: joystick.c:3
pprz_t v_ctl_throttle_setpoint
Definition: guidance_v.c:88
float h_ctl_pitch_setpoint
float h_ctl_roll_setpoint
#define MAX_PPRZ
Definition: paparazzi.h:8

Definition at line 10 of file joystick.h.

Referenced by dl_parse_msg().

Variable Documentation

uint8_t joystick_block

Definition at line 3 of file joystick.c.