|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #ifndef ROVER_GUIDANCE_HOLONOMIC_H
30 #define ROVER_GUIDANCE_HOLONOMIC_H
33 #include "generated/airframe.h"
81 #define SetAPThrottleFromCommands(_cmd_x, _cmd_y) { \
82 autopilot.throttle = sqrtf(((_cmd_x * _cmd_x) + (_cmd_y * _cmd_y)) / 2.f); \
void rover_guidance_holonomic_set_turn_igain(float igain)
void rover_holo_guidance_periodic(void)
void rover_holo_guidance_run(float *heading_sp)
void rover_holo_guidance_enter(void)
uint8_t mask
bit 5: vx & vy, bit 6: vz, bit 7: vyaw
Paparazzi floating point algebra.
float heading
heading setpoint
struct FloatVect2 speed
speed setpoint
struct RoverHoloGuidance rover_holo_guidance
struct RoverHoloGuidancePID turn_pid
turn rate controller
struct FloatVect2 pos
position setpoint in NED.
void rover_holo_guidance_init(void)
struct RoverHoloGuidanceSetpoint sp
setpoints
struct RoverHoloGuidanceControl cmd
commands
void rover_guidance_holonomic_set_speed_igain(float igain)
struct RoverHoloGuidancePID speed_pid
motor speed controller