Firmware
Functions
weathervane_params.c File Reference

Parameters defined by the weathervane lib. More...

Functions

 PARAM_DEFINE_INT32 (WV_EN, 0)
 Enable weathervane. More...
 
 PARAM_DEFINE_FLOAT (WV_GAIN, 1.0f)
 Weather-vane roll angle to yawrate. More...
 
 PARAM_DEFINE_FLOAT (WV_ROLL_MIN, 1.0f)
 Minimum roll angle setpoint for weathervane controller to demand a yaw-rate. More...
 
 PARAM_DEFINE_FLOAT (WV_YRATE_MAX, 90.0f)
 Maximum yawrate the weathervane controller is allowed to demand. More...
 

Detailed Description

Parameters defined by the weathervane lib.

Author
Roman Bapst roman.nosp@m.@aut.nosp@m.erion.nosp@m..com

Function Documentation

§ PARAM_DEFINE_FLOAT() [1/3]

PARAM_DEFINE_FLOAT ( WV_GAIN  ,
1.  0f 
)

Weather-vane roll angle to yawrate.

The desired gain to convert roll sp into yaw rate sp.

0.0 3.0 1/s 0.01 3 VTOL Attitude Control

§ PARAM_DEFINE_FLOAT() [2/3]

PARAM_DEFINE_FLOAT ( WV_ROLL_MIN  ,
1.  0f 
)

Minimum roll angle setpoint for weathervane controller to demand a yaw-rate.

0 5 deg Multicopter Position Control

§ PARAM_DEFINE_FLOAT() [3/3]

PARAM_DEFINE_FLOAT ( WV_YRATE_MAX  ,
90.  0f 
)

Maximum yawrate the weathervane controller is allowed to demand.

0 120 deg/s Multicopter Position Control

§ PARAM_DEFINE_INT32()

PARAM_DEFINE_INT32 ( WV_EN  ,
 
)

Enable weathervane.

Multicopter Position Control