mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
posix: remove rgbledsim driver which does nothing
In addition this is almost a copy of the rgbled driver
This commit is contained in:
@@ -17,7 +17,6 @@ set(config_module_list
|
|||||||
platforms/posix/drivers/gpssim
|
platforms/posix/drivers/gpssim
|
||||||
platforms/posix/drivers/gyrosim
|
platforms/posix/drivers/gyrosim
|
||||||
platforms/posix/drivers/ledsim
|
platforms/posix/drivers/ledsim
|
||||||
platforms/posix/drivers/rgbledsim
|
|
||||||
platforms/posix/drivers/tonealrmsim
|
platforms/posix/drivers/tonealrmsim
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ param set EKF2_AID_MASK 2
|
|||||||
param set EKF2_HGT_MODE 2
|
param set EKF2_HGT_MODE 2
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s -u _SIMPORT_
|
simulator start -s -u _SIMPORT_
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ param set RWTO_TKOFF 1
|
|||||||
|
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ param set COM_RC_IN_MODE 1
|
|||||||
param set NAV_DLL_ACT 2
|
param set NAV_DLL_ACT 2
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ param set INAV_W_XY_GPS_V 0.0
|
|||||||
param set INAV_W_Z_GPS_P 0.0
|
param set INAV_W_Z_GPS_P 0.0
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ param set LPE_FUSION 247
|
|||||||
|
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ param set LPE_FUSION 246
|
|||||||
|
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ param set RWTO_TKOFF 1
|
|||||||
|
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ param set LPE_FUSION 247
|
|||||||
|
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ param set COM_DISARM_LAND 5
|
|||||||
param set MPC_ACC_HOR_MAX 2
|
param set MPC_ACC_HOR_MAX 2
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ param set EKF2_ANGERR_INIT 0.01
|
|||||||
param set EKF2_MAG_TYPE 1
|
param set EKF2_MAG_TYPE 1
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ param set FW_THR_IDLE 0.6
|
|||||||
param set FS_GCS_ENABLE 2
|
param set FS_GCS_ENABLE 2
|
||||||
replay tryapplyparams
|
replay tryapplyparams
|
||||||
simulator start -s
|
simulator start -s
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ param set SYS_RESTART_TYPE 0
|
|||||||
|
|
||||||
dataman start
|
dataman start
|
||||||
|
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ param set SYS_RESTART_TYPE 0
|
|||||||
dataman start
|
dataman start
|
||||||
|
|
||||||
simulator start -t
|
simulator start -t
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
gyrosim start
|
gyrosim start
|
||||||
accelsim start
|
accelsim start
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ param set SYS_RESTART_TYPE 0
|
|||||||
|
|
||||||
dataman start
|
dataman start
|
||||||
|
|
||||||
rgbledsim start
|
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
|
|
||||||
ver all
|
ver all
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
#
|
|
||||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name PX4 nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
px4_add_module(
|
|
||||||
MODULE platforms__posix__drivers__rgbledsim
|
|
||||||
MAIN rgbledsim
|
|
||||||
COMPILE_FLAGS
|
|
||||||
SRCS
|
|
||||||
rgbled.cpp
|
|
||||||
DEPENDS
|
|
||||||
platforms__common
|
|
||||||
)
|
|
||||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user