Yaw Control with MAV_CMD_CONDITION_YAW

Hey everyone,

I’m using mavlink with PX4 and trying to rotate the drone’s yaw during a mission using MAV_CMD_CONDITION_YAW.

The command sends fine (no errors), but the drone doesn’t rotate.
I’m in Mission Mode or in LOITER Mode , and I’ve tried both absolute and relative yaw , etc. Still nothing.

I assume PX4 not support this cmd so how can I change only the drone yaw without using offboard mode or upload new mission point. since I wan the drone to keep moving while have the ability to change its heading dynamically.

Questions:

  • Does PX4 actually support this in Mission Mode?
  • Should I send it one time or at a fixed rate?
  • Any better way to control yaw mid-mission?

Appreciate any tips or workarounds — thanks! :folded_hands: