How to control my fixed wing by offboard control via ROS2

I want to fly my fixed wing like iris by offboard control via ROS2.I have read the PX4 user guide and fly the iris successfully. But the same way for the fixed wing have no reaction.Why?What can i do for the offboardcontrol.cpp?
Thanks for help!!!