Skip to content

Commit

Permalink
Add px4vision sitl target
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim committed Mar 24, 2020
1 parent e2d2ae2 commit ab7cca0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions ROMFS/px4fmu_common/init.d-posix/10030_px4vision
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
#
# @name PX4Vision SITL
# Holybro px4vision. Gazebo Only.
#
# @type Quadrotor
#

sh /etc/init.d/rc.mc_defaults

if [ $AUTOCNF = yes ]
then
param set COM_OBS_AVOID 1
param set CP_DIST 6.0
fi

set MIXER quad_x

2 changes: 1 addition & 1 deletion platforms/posix/cmake/sitl_target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ExternalProject_Add(mavsdk_tests
set(viewers none jmavsim gazebo)
set(debuggers none ide gdb lldb ddd valgrind callgrind)
set(models none shell
if750a iris iris_opt_flow iris_opt_flow_mockup iris_vision iris_rplidar iris_irlock iris_obs_avoid iris_rtps solo typhoon_h480
if750a iris iris_opt_flow iris_opt_flow_mockup iris_vision iris_rplidar iris_irlock iris_obs_avoid iris_rtps solo typhoon_h480 px4vision
plane plane_cam plane_catapult
standard_vtol tailsitter tiltrotor
rover boat
Expand Down

0 comments on commit ab7cca0

Please sign in to comment.