Remove the entire external yaw handler, dynamic memory allocation,
pointer passing logic. Directly instanciate the weather vane instance
in the flight tasks that support it.
float_reference_altitude{NAN};/**< Altitude relative to ground. */
hrt_abstime_time_stamp_reference{0};/**< time stamp when last reference update occured. */
WeatherVane*_ext_yaw_handler{nullptr};/**< external weathervane library, used to implement a yaw control law that turns the vehicle nose into the wind */
WeatherVane_weathervane{this};/**< weathervane library, used to implement a yaw control law that turns the vehicle nose into the wind */
void_limitYawRate();/**< Limits the rate of change of the yaw setpoint. */
bool_evaluateTriplets();/**< Checks and sets triplets. */
WeatherVane*_weathervane_yaw_handler{nullptr};/**< external weathervane library, used to implement a yaw control law that turns the vehicle nose into the wind */
WeatherVane_weathervane{this};/**< weathervane library, used to implement a yaw control law that turns the vehicle nose into the wind */
@ -50,7 +50,6 @@ class FlightTaskManualPositionSmoothVel : public FlightTaskManualPosition
@@ -50,7 +50,6 @@ class FlightTaskManualPositionSmoothVel : public FlightTaskManualPosition