Commit Graph

4497 Commits

Author SHA1 Message Date
Thomas Gubler 3c10b78e20 stae machine helper: remove unnecessary check for RC loss 2014-08-23 14:02:22 +02:00
Thomas Gubler ffd2fa7386 commander: fix check for rc && gps loss 2014-08-23 13:25:50 +02:00
Thomas Gubler cc12e6051d obc rcloss: set altitude 2014-08-23 13:13:51 +02:00
Thomas Gubler 2971510289 commander: flight termination, require arming 2014-08-23 13:00:28 +02:00
Thomas Gubler fd3746a233 add OBC RC loss mode to navigator 2014-08-22 23:06:14 +02:00
Thomas Gubler 6ae8800ad0 move and rename params
airfield home is general
2014-08-22 23:05:19 +02:00
Thomas Gubler 4d75222b67 switch to rc loss mode if rc loss commanded 2014-08-22 21:41:24 +02:00
Thomas Gubler d50135b611 rc loss && gps loss: flight termination 2014-08-22 21:40:58 +02:00
Thomas Gubler b22acadb8a DL loss && gps fail: flight termination 2014-08-22 21:02:33 +02:00
Thomas Gubler 406a52e639 fix typo 2014-08-22 20:24:04 +02:00
Thomas Gubler 752a0a5625 add obc gps failure mode 2014-08-22 00:40:45 +02:00
Thomas Gubler 1a14ff250e fw att control: use RC only if in manual 2014-08-22 00:39:44 +02:00
Thomas Gubler c402ac28ec Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-21 20:04:21 +02:00
Lorenz Meier aa8fcceea2 Merge pull request #1297 from PX4/mission_fix
mavlink: missions manager compID cleanup
2014-08-21 14:40:34 +02:00
Lorenz Meier 9c75b9562e Be more permissive with mission component IDs, renamed camera to onboard link but still accepting same commandline syntax 2014-08-21 14:39:17 +02:00
Thomas Gubler f7dbc34027 sensors: remove warnx 2014-08-21 12:43:34 +02:00
Lorenz Meier 8f65d52aca Merge pull request #1299 from PX4/navigatorstatefix
navigator: correct mode for land and termination
2014-08-21 09:46:14 +02:00
Thomas Gubler 3e1de713af navigator: correct mode for land and termination 2014-08-21 09:39:43 +02:00
Lorenz Meier 4dcdaa7234 Merge pull request #1298 from PX4/adafruiti2cpwm
pca9685: correct input scaling
2014-08-21 09:38:14 +02:00
Thomas Gubler 5bc81c8561 pca9685: correct input scaling 2014-08-21 09:30:29 +02:00
Thomas Gubler 0f01905f9a Merge remote-tracking branch 'upstream/master' into obcfailsafe
Conflicts:
	src/modules/commander/commander.cpp
2014-08-21 06:31:22 +02:00
Anton Babushkin 3cbfe989c7 mavlink: missions manager compID cleanup, use the common compID, stict compID checks for incoming messages 2014-08-20 21:54:38 +02:00
Lorenz Meier 24b1ff23f2 Merge pull request #1296 from PX4/adafruiti2cpwm
Adafruit i2c to pwm board driver
2014-08-20 20:26:12 +02:00
Thomas Gubler c414417cf8 rename adafruiti2cpwm to pca9685 2014-08-20 16:24:57 +02:00
Thomas Gubler dd85c0407c adafruit i2c pwm: listen to uorb for setpoints 2014-08-20 15:45:57 +02:00
Thomas Gubler 66991f9bb1 bring up adafruit i2c pwm driver
includes the test function, fucntionality verified with scope and servo
2014-08-20 15:45:46 +02:00
Thomas Gubler bb1a45ac42 skeleton for adafruiti2cpwm driver 2014-08-20 15:45:40 +02:00
Lorenz Meier 56ec052346 Merge pull request #1283 from PX4/qnh
add param for qnh
2014-08-20 15:43:17 +02:00
muharred 690843c53a Reset excitement mode for hmc5883 sensor before applying a new one to avoid getting reserved 11 bits set in case of a set_excitement(1) call following a set_excitement(-1) call. 2014-08-20 13:06:39 +03:00
Thomas Gubler 760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Lorenz Meier 9e099b42fa Merge pull request #1291 from PX4/mavlink_cmdint
mavlink: Handle command int packets
2014-08-19 15:41:43 +02:00
Lorenz Meier 6e8867928b Merge pull request #1290 from PX4/sf_fix
Require a digit ahead of the dot for a valid number for the SF0x output
2014-08-19 15:40:52 +02:00
Lorenz Meier cc98c6deff Merge pull request #1277 from PX4/fwattvscale
fw att control: change control surface deflection scaling
2014-08-19 08:50:57 +02:00
Thomas Gubler 64ca94412e engine fail: fw pos control limits pitch and sets 0 throttle 2014-08-19 07:31:55 +02:00
Thomas Gubler 7f9c996555 engine fail: small state machine fix 2014-08-19 07:30:19 +02:00
Lorenz Meier de7d9c5b95 Merge pull request #1293 from PX4/timeout_fix
Timeout fix
2014-08-18 23:18:41 +02:00
Lorenz Meier 966e9d3f0a Merge branch 'master' of github.com:PX4/Firmware into as_fix 2014-08-18 20:12:10 +02:00
Lorenz Meier 7eb521b6d4 Do not perform retries in airspeed driver - this is too much load for the HRT queue 2014-08-18 20:07:55 +02:00
Lorenz Meier 8d7a12218c Time out after a reasonable interval (10 seconds, as e.g. OBC rules prescribe). Experiments show the SiK radios to time out ~4-7 seconds if they loose sync 2014-08-18 20:06:30 +02:00
Lorenz Meier 9e82f14ad8 Mag scale check: only test if the scale roughly makes sense, do not judge the environment 2014-08-18 18:53:37 +02:00
Lorenz Meier 0d87dc9923 mavlink: Handle command int packets 2014-08-18 16:50:13 +02:00
Lorenz Meier 024c6d5727 Airspeed fix attempt 2014-08-18 16:49:12 +02:00
Lorenz Meier 16694051c9 Require a digit ahead of the dot for a valid number for the SF0x output 2014-08-18 13:16:58 +02:00
Thomas Gubler 99860da9b7 commander: remove unnecessary output (navigator already does the output) 2014-08-17 16:36:35 +02:00
Thomas Gubler 66709ec295 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 15:25:54 +02:00
Thomas Gubler 86ae2e489f sensors: do not exit task on error 2014-08-17 15:21:50 +02:00
Thomas Gubler db422a3f90 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 13:46:04 +02:00
Thomas Gubler 91d8cb2edc sensors: move close to correct position 2014-08-17 13:45:51 +02:00
Thomas Gubler 5832948371 geofence: lat/lon is double
types changed but the geofence implentation was not updated, this was forgotten in 58792c5ca6
2014-08-17 12:37:14 +02:00
Thomas Gubler b100884220 geofence: support AMSL mode 2014-08-17 12:07:02 +02:00