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); \
struct RoverHoloGuidanceSetpoint sp
setpoints
float heading
heading setpoint
struct RoverHoloGuidancePID speed_pid
motor speed controller
void rover_guidance_holonomic_set_speed_igain(float igain)
void rover_guidance_holonomic_set_turn_igain(float igain)
struct RoverHoloGuidance rover_holo_guidance
uint8_t mask
bit 5: vx & vy, bit 6: vz, bit 7: vyaw
void rover_holo_guidance_enter(void)
Paparazzi floating point algebra.
void rover_holo_guidance_init(void)
struct RoverHoloGuidancePID turn_pid
turn rate controller
void rover_holo_guidance_periodic(void)
struct RoverHoloGuidanceControl cmd
commands
struct FloatVect2 pos
position setpoint in NED.
struct FloatVect2 speed
speed setpoint
void rover_holo_guidance_run(float *heading_sp)