Fixed heading turns in the survey mode

Hi, I was making a Multi-copter drone for surveys using PX4-Autopilot 1.15 and wanted that while drone is in auto mode, it keeps it’s heading fixed along the direction of the survey swaths while executing it’s mission. Is there any way to achieve this via firmware code change or any configuration?

I tried experimenting with the MPC_YAW_MODE parameter but the 5 options available won’t cover this use case. Any suggestions?

Thanks for help in advance! Have a great day.

Hi, in theory, MPC_YAW_MODE (5) should allow you to manually specify a yaw angle with the RC stick or from the ground station. If this is not working, please open an issue in https://github.com/PX4/PX4-Autopilot/issues with a log showing the problem.