Specify Vehicle Parameters (Startup File) in SITL

I had a customized iris model with depth camera and 2D LIDAR sensors, and I can confirm that I am able to simulate it in Gazebo with ROS interface. I followed steps similar to ones in the issue linked above and I summarize it here.

  1. I copied the customized model to Firmware/Tools/sitl_gazebo/models/<model_name>
  2. Created a startup file in Firmware/ROMFS/px4fmu_common/init.d-posix/xxxx_<model_name> . xxxx is a unique ID that does not start with 0’s (e.g. 10017_<model_name>)
  3. Build SITL make px4_sitl gazebo
  4. roslaunch px4 posix_sitl.launch vehicle:=<model_name>