aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.hil
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-09-08 20:40:55 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-09-08 20:40:55 +0200
commit2e8b675c6c5ddc3fd2db22a8e22a664b50ef18a9 (patch)
tree3f9f6b684c1c37329f2f0420dd5b68be86ad2b4d /ROMFS/px4fmu_common/init.d/rc.hil
parent2d6dfe2a9e1fc04a9cadc3e4defa3e9cd615db1f (diff)
downloadpx4-firmware-2e8b675c6c5ddc3fd2db22a8e22a664b50ef18a9.tar.gz
px4-firmware-2e8b675c6c5ddc3fd2db22a8e22a664b50ef18a9.tar.bz2
px4-firmware-2e8b675c6c5ddc3fd2db22a8e22a664b50ef18a9.zip
Fixed (temporarily) HIL by allowing index 1000 to start a matching setup
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.hil')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.hil8
1 files changed, 4 insertions, 4 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.hil b/ROMFS/px4fmu_common/init.d/rc.hil
index eccb2b767..b924d62bc 100644
--- a/ROMFS/px4fmu_common/init.d/rc.hil
+++ b/ROMFS/px4fmu_common/init.d/rc.hil
@@ -5,10 +5,9 @@
echo "[HIL] starting.."
-uorb start
-
# Tell MAVLink that this link is "fast"
-mavlink start -b 230400 -d /dev/ttyS1
+sleep 2
+mavlink start -b 230400 -d /dev/ttyACM0
# Create a fake HIL /dev/pwm_output interface
hil mode_pwm
@@ -50,7 +49,8 @@ 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_pos_control_l1 start
fw_att_control start
echo "[HIL] setup done, running"
+