Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
HorizontalGuidanceSetpoint Struct Reference

#include <guidance_h.h>

+ Collaboration diagram for HorizontalGuidanceSetpoint:

Public Types

enum  { GUIDANCE_H_SP_POS = 0 , GUIDANCE_H_SP_SPEED = 1 , GUIDANCE_H_SP_ACCEL = 2 }
 
enum  { GUIDANCE_H_SP_YAW = 0 , GUIDANCE_H_SP_YAW_RATE = 1 }
 

Data Fields

struct Int32Vect2 pos
 horizontal position setpoint in NED. More...
 
struct Int32Vect2 speed
 only used in HOVER mode if GUIDANCE_H_USE_SPEED_REF or in GUIDED mode More...
 
struct Int32Vect2 accel
 For direct control of acceleration, if the guidance scheme is able to provide it. More...
 
float heading
 
float heading_rate
 
enum HorizontalGuidanceSetpoint:: { ... }  h_mask
 
enum HorizontalGuidanceSetpoint:: { ... }  yaw_mask
 

Detailed Description

Definition at line 68 of file guidance_h.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
GUIDANCE_H_SP_POS 
GUIDANCE_H_SP_SPEED 
GUIDANCE_H_SP_ACCEL 

Definition at line 80 of file guidance_h.h.

◆ anonymous enum

anonymous enum
Enumerator
GUIDANCE_H_SP_YAW 
GUIDANCE_H_SP_YAW_RATE 

Definition at line 85 of file guidance_h.h.

Field Documentation

◆ accel

struct Int32Vect2 HorizontalGuidanceSetpoint::accel

For direct control of acceleration, if the guidance scheme is able to provide it.

Definition at line 196 of file guidance_h.h.

Referenced by simple_quad_sim.BulletFDM::get_observation(), guidance_h_set_acc(), and guidance_h_update_reference().

◆ 

◆ heading

float HorizontalGuidanceSetpoint::heading

◆ heading_rate

float HorizontalGuidanceSetpoint::heading_rate

◆ pos

struct Int32Vect2 HorizontalGuidanceSetpoint::pos

horizontal position setpoint in NED.

fixed point representation: Q23.8 accuracy 0.0039, range 8388km

Definition at line 196 of file guidance_h.h.

Referenced by guidance_h_init(), guidance_h_set_pos(), guidance_h_update_reference(), send_fp(), send_gh(), send_hover_loop(), and send_href().

◆ speed

struct Int32Vect2 HorizontalGuidanceSetpoint::speed

only used in HOVER mode if GUIDANCE_H_USE_SPEED_REF or in GUIDED mode

Definition at line 196 of file guidance_h.h.

Referenced by guidance_h_hover_enter(), guidance_h_run(), guidance_h_set_vel(), guidance_h_update_reference(), and send_href().

◆ 

enum { ... } HorizontalGuidanceSetpoint::yaw_mask

The documentation for this struct was generated from the following file: