What is default GPS coordinate for px4 sitl gazebo?

Hi, I’m running an UAV (px4, sitl, mavros, gazebo) - ASV simulation running on gazebo. The ASV has a GPS from gazebo_plugin. I need to config this GPS with the same GPS coordinate of the iris.
Where is the default GPS coordinate defined at? or, what is the default coordinate of starting point?


I’m not sure if this is the answer to your question, but you can set your home location as an environmental variable by adding the following lines to your .bashrc (or .zshrc) file.

Change the latitude and longitude to the values you desire.

export PX4_HOME_LAT=34.174528
export PX4_HOME_LON=-118.481175
export PX4_HOME_ALT=0
1 Like