# Does trajectory setpoint control yaw behavior for Fixed-Wing?

**URL:** <https://discuss.px4.io/t/does-trajectory-setpoint-control-yaw-behavior-for-fixed-wing/48920>\
**Category:** PX4 Autopilot\
**Created:** [May 4, 2026, 10:57am UTC](https://discuss.px4.io/t/does-trajectory-setpoint-control-yaw-behavior-for-fixed-wing/48920 "2026-05-04T10:57:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmerttz](https://discuss.px4.io/user_avatar/discuss.px4.io/kmerttz/32/20250_2.png) [@kmerttz](https://discuss.px4.io/u/kmerttz)\
**Post date:** [May 4, 2026, 10:57am UTC](https://discuss.px4.io/t/does-trajectory-setpoint-control-yaw-behavior-for-fixed-wing/48920/1 "2026-05-04T10:57:46Z")

</div>

Hi everyone,

I have a question regarding the trajectory\_setpoint message behavior on Fixed-Wing vehicles.

When sending a trajectory setpoint that contains both position and yaw values does the fixed wing position controller attempt to align the aircraft’s heading to the specified yaw value upon reaching the setpoint? Or is the yaw field in trajectory setpoint ignored by the fixed wing flight stack, making it only applicable to multicopters?

---

<div class="post-metadata">

**Author:** ![Mahima\_Yoga](https://discuss.px4.io/user_avatar/discuss.px4.io/mahima_yoga/32/17952_2.png) [@Mahima\_Yoga](https://discuss.px4.io/u/Mahima_Yoga)\
**Post date:** [May 4, 2026, 4:22pm UTC](https://discuss.px4.io/t/does-trajectory-setpoint-control-yaw-behavior-for-fixed-wing/48920/2 "2026-05-04T16:22:46Z")

</div>

Hi!

I assume you are using offboard mode here? Have you considered using the [PX4 ROS2 interface lib](https://docs.px4.io/main/en/ros2/px4_ros2_control_interface#fixed-wing-lateral-and-longitudinal-setpoint-fwlaterallongitudinalsetpointtype) instead. There you can directly control the course.

To answer your question, the yaw is ignored for fixed wing. In general the trajectory setpoint is not used anywhere in the fixed-wing controller in PX4, except for when offboard is enabled, in which case the position, velocity, and acceleration fields are converted into a position setpoint.

---

<div class="post-metadata">

**Author:** ![system](https://discuss.px4.io/uploads/default/original/3X/7/3/73ce918bdcd64854de904f0c8d9ab70ca9723f2a.png) [@system](https://discuss.px4.io/u/system)\
**Post date:** [August 2, 2026, 4:23pm UTC](https://discuss.px4.io/t/does-trajectory-setpoint-control-yaw-behavior-for-fixed-wing/48920/3 "2026-08-02T16:23:21Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
