Commit Graph

28679 Commits

Author SHA1 Message Date
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
Holger Steinhaus 09a9ea87e7 uavcan: increased thread prio, reduces roundtrip latency by a factor of 5..7 2014-08-19 22:48:15 +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
Thomas Gubler 57a250f946 navigator: remove offboard mode
offboard setpoints are now forwarded directly from mavlink
2014-08-19 09:56:32 +02:00
Thomas Gubler e3724e64d4 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-08-19 09:12:41 +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 2c0d192944 Use the wind speed estimate filtered values 2014-08-18 21:26:18 +02:00
Lorenz Meier cfcb76f627 Add long-term stable wind estimate 2014-08-18 21:23:59 +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 47b3f1253e Fix bottle drop logic 2014-08-18 16:47:30 +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 174b0a5527 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_main.cpp
2014-08-18 09:26:49 +02:00
Anton Babushkin f31c3243b0 mc_pos_control: navigation fixes, smooth position setpoint movements 2014-08-17 23:28:48 +02:00
Lorenz Meier 171857811f EKF filter update. Now correctly scaling variance (well, if you could call this ever "correct") for repeated fusion of the same data quantity. 2014-08-17 20:49:46 +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
Lorenz Meier c3522f8592 Publish telemetry status on telemetry update and on heartbeat update events to avoid inducing heartbeat update latencies resulting in spurious telemetry link dropped detections. Makes overall state handling simpler 2014-08-17 10:58:28 +02:00
Thomas Gubler a2cab83391 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 10:46:31 +02:00
Thomas Gubler ca44efab7c Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-17 10:46:11 +02:00
Thomas Gubler 1913ae19f1 add param for qnh 2014-08-17 10:45:30 +02:00
Lorenz Meier 5a5e1a976e Merge branch 'master' of github.com:PX4/Firmware 2014-08-17 10:32:10 +02:00
Lorenz Meier dd0916bd7d code style fix for mavlink app 2014-08-17 10:31:56 +02:00
Simon Wilks 789f949e74 Added debugging and small locking fix. 2014-08-17 10:19:48 +02:00
Holger Steinhaus 5b1e4db396 px4io driver: fix actuator output format 2014-08-16 21:44:52 +02:00