Fixed wing Attitude controller

I want to use the Attitude controller for operating the Fixed wing UAV in offboard mode. I am inputting the thrust value and q value. q is calculated using function quaternion_from_euler function which takes roll, pitch and yaw as input. Even I change the Yaw value it has no affect on the System and the pitch and roll are working fine. I am using /mavros/setpoint_raw/attitude to set my attitude values. How to set the Yaw value correctly??

Duplicate of Fixed wing Yaw set point.