For sitl simulations (with Gazebo in my case), is there a way to set the initial heading of the plane?
I know you can use “export PX4_HOME_LAT/export PX4_HOME_LON” for the initial position, but can’t find any documentation on environment variables for px4 sitl simulations
You change the line pointed out by Jaeyoung-Lim. After -x -y -z you can add arguments for the pose. The one for yaw is -Y in radians. Here’s a link the documentation for the gz model function: http://manpages.ubuntu.com/manpages/bionic/man1/gz.1.html