diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-27 17:14:18 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-27 17:14:18 +0100 |
commit | 068cc190e20b8901b8e4128f3c21200724f0cd4f (patch) | |
tree | 4e5836ec46e8dfdaff46d397be9862c8c2972805 /ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil | |
parent | ba90dc87f6fcb6198e36265239774d35a8efe9cd (diff) | |
download | px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.tar.gz px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.tar.bz2 px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.zip |
Updated / added all system types that have been available before
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil | 58 |
1 files changed, 8 insertions, 50 deletions
diff --git a/ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil b/ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil index 40a13b5d1..ebe8a1a1e 100644 --- a/ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil +++ b/ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil @@ -1,14 +1,13 @@ #!nsh # -# USB HIL start +# HILStar / X-Plane +# +# Maintainers: Thomas Gubler <thomasgubler@gmail.com> # -echo "[HIL] HILStar starting.." +echo "HIL Rascal 110 starting.." -# -# Load default params for this platform -# -if param compare SYS_AUTOCONFIG 1 +if [ $DO_AUTOCONFIG == yes ] then # Set all params here, then disable autoconfig @@ -40,48 +39,7 @@ then param save fi -# Allow USB some time to come up -sleep 1 -# Tell MAVLink that this link is "fast" -mavlink start -b 230400 -d /dev/ttyACM0 - -# Create a fake HIL /dev/pwm_output interface -hil mode_pwm - -# -# Force some key parameters to sane values -# MAV_TYPE 1 = fixed wing, 2 = quadrotor, 13 = hexarotor -# see https://pixhawk.ethz.ch/mavlink/ -# -param set MAV_TYPE 1 - -# -# Check if we got an IO -# -if px4io start -then - echo "IO started" -else - fmu mode_serial - echo "FMU started" -fi - -# -# Start the sensors (depends on orb, px4io) -# -sh /etc/init.d/rc.sensors - -# -# Start the attitude estimator (depends on orb) -# -att_pos_estimator_ekf start - -# -# Load mixer and start controllers (depends on px4io) -# -mixer load /dev/pwm_output /etc/mixers/FMU_AET.mix -fw_pos_control_l1 start -fw_att_control start - -echo "[HIL] setup done, running" +set HIL yes +set VEHICLE_TYPE fw +set MIXER FMU_AERT |