Commit Graph
384 Commits
Author SHA1 Message Date
Lorenz Meier 603b43b6d8 Fix CID 12574 & 12553 2015-01-20 14:16:48 +01:00
Lorenz Meier c04f870564 Fix CID 12427 & 12438 2015-01-20 14:14:23 +01:00
Lorenz Meier f1a53f5152 Fixing CID 12528 2015-01-20 14:12:25 +01:00
Lorenz Meier fc9c67f5be Fix CID 12439 2015-01-20 14:07:59 +01:00
Lorenz Meier 764f499405 Fix CID 12470 2015-01-20 14:06:12 +01:00
Lorenz Meier 6203c73ccc Perf counter fixes 2015-01-11 11:03:56 +01:00
Lorenz Meier 1bee73af22 Latency measurements: Estimate latency based on sensor timestamp through full system 2015-01-11 11:03:56 +01:00
Lorenz Meier 4712c75dea IO driver: Log the total system latency up to the IO transfer 2015-01-11 11:03:55 +01:00
Andrew Tridgell c906c21238 px4io: prevent use of uninitialised memory in io_set_arming_state()
the vehicle may not have setup a control_mode. We need to check the
return of orb_copy() to ensure we are getting initialised values
2014-11-26 11:39:41 +11:00
Andrew Tridgell 29f000dc31 px4io: fixed error returns to be negative
follow standard conventions
2014-11-26 11:39:41 +11:00
Andrew Tridgell 809500cfcd px4io: fixed RC_CONFIG channel limit check
number of channels is the right test, not number of actuators
2014-11-26 11:39:41 +11:00
Lorenz Meier 7b43b80c37 Merge branch 'master' of github.com:PX4/Firmware into safety 2014-11-22 14:40:41 +01:00
Andrew Tridgell ba81125453 px4io: added OVERRIDE_IMMEDIATE arming flag
this allows the flight code to choose whether FMU failure gives
immediate manual pilot control, or waits for the mode switch to go
past the override threshold
2014-11-16 21:02:14 +01:00
Andrew Tridgell 6406e235d6 px4io: publish pwm values when STATUS_FLAGS_FMU_OK is not set
this allows testing of FMU failure behaviour in px4io by monitoring
the reported PWM output when the vehicle code stops sending
updates. Otherwise testing needs to be done with "px4io status" which
is very tedious.

With this change a GCS can monitor the PWM outputs from the failsafe
mixer using normal mavlink messages
2014-11-16 21:01:00 +01:00
Andrew Tridgell 88bae21ce5 px4io: added RC_CONFIG, SET_OVERRIDE_OK and CLEAR_OVERRIDE_OK ioctls
this allows for full setup of RC override without needing param_get()
to PX4 specific parameters
2014-11-16 21:00:01 +01:00
Lorenz Meier 88093ebf1a Hotfix: Fix IO channel mapping 2014-11-10 18:52:18 +01:00
Lorenz Meier 23a33e31cd Add missing mode switch channel 2014-11-05 19:26:10 +01:00
Lorenz Meier 182c1c1d52 Fix RC mapping indices - 0 index induces issues right now 2014-11-05 17:17:34 +01:00
Andrew Tridgell dd23d0acbc drivers: allow forcing the safety switch on
This allows forcing the safety switch to the on position from software
which stops the pwm outputs
2014-10-30 08:44:00 +11:00
Lorenz Meier 4656db01c2 Enable IO safety parameter 2014-10-22 17:59:53 +02:00
Lorenz Meier f490331632 Enable flaps, avoid mode switch position 2014-10-16 22:57:27 +02:00
Lorenz Meier 0d917576d4 Enable flaps in manual override 2014-10-15 22:19:06 +02:00
Lorenz Meier 7921184e40 IO input driver: Output ST24 as receiver type / status 2014-10-07 09:36:42 +02:00
Thomas Gubler 8b7c57a0d0 px4io driver: update cb only when changed 2014-09-30 13:39:40 +02:00
Thomas Gubler 92c3e52fec Merge remote-tracking branch 'upstream/termination_failsafe' into obcfailsafe 2014-08-27 21:34:07 +02:00
Lorenz Meier a7109609ec support termination failsafe in IO driver 2014-08-27 08:00:28 +02:00
Thomas Gubler 5e5322c593 fix flight termination circuit breaker name, tested 2014-08-26 22:46:09 +02:00
Thomas Gubler ca44efab7c Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-17 10:46:11 +02:00
Holger Steinhaus 5b1e4db396 px4io driver: fix actuator output format 2014-08-16 21:44:52 +02:00
Thomas Gubler 8dbe6a6dc0 px4io driver: use flighttermination circuit breaker 2014-08-15 14:35:45 +02:00
Lorenz Meier 0c0c8e943a Fixed missing return value after last change set 2014-08-12 07:30:01 +02:00
Lorenz Meier 7d1cd7b994 Fix NO RC handling (fixes #1263) 2014-08-11 19:28:14 +02:00
Lorenz Meier 0b3e300303 Merge branch 'forcefail' of github.com:PX4/Firmware into forcefail 2014-07-19 15:10:36 +02:00
Lorenz Meier f3fe9c2fdf Print force fail status 2014-07-19 15:09:07 +02:00
Thomas Gubler 689536893c px4io driver: force failsafe depending on actuator armed 2014-07-19 12:46:52 +02:00
Lorenz Meier 903b482378 PX4IO driver: Add support to set force failsafe 2014-07-18 11:19:05 +02:00
Lorenz Meier c5b13b7dbc IO driver: stricter init 2014-07-16 09:05:29 +02:00
Lorenz Meier cdfbe9bcc4 px4io: Do not forward excessively low battery voltages 2014-07-12 23:30:34 +02:00
Lorenz Meier 0fe8ed509a Merge branch 'master' into power_enforce 2014-06-26 17:28:01 +02:00
Lorenz Meier d58a992e91 Hotfix: Improve PX4IO monitor command 2014-06-23 13:44:36 +02:00
Lorenz Meier 8ea5fd20c1 px4io driver: Add support for circuit breakers 2014-05-25 20:36:05 +02:00
Lorenz Meier 69421be983 px4io: Check for bad param value 2014-05-23 19:45:29 +02:00
Lorenz Meier 4fe0027e7a px4io driver: Only try to upload if we have a non-zero failsafe throttle value 2014-05-16 09:51:23 +02:00
Lorenz Meier 899998e58f px4io driver: Use modern-days syntax to start task 2014-05-15 10:28:48 +02:00
Lorenz Meier 332e08b44a px4io driver: Deallocate perf counters in destructor properly 2014-05-14 14:00:31 +02:00
Lorenz Meier c2f825647e px4io driver: Small fix 2014-05-14 13:06:20 +02:00
Lorenz Meier a62ac72b2e px4io: Hotfix for IO driver, do not rely on the reported channel count to limit array lengths 2014-05-14 12:48:54 +02:00
Lorenz Meier 8deb1c9160 Read out the RC status at the same transfer as the channels to ensure we got synchronized data 2014-05-14 08:00:41 +02:00
Lorenz Meier 1d6b9fae03 Fix in-air restarts, protect against an external MAVLink sender exploiting the restart mechanism 2014-05-06 14:57:06 +02:00
Lorenz Meier 2ee02e5e4b Merge pull request #874 from jean-m-cyr/master
Proper data manager restart handling
2014-04-29 07:53:30 +02:00