David Sidrane
0943bd9a31
Added Prefix to message to identify it as PX4IO related
2015-01-21 09:54:49 -10:00
Lorenz Meier
9aa7daa86c
PX4IO: Adjust stack size based on real usage of 900 bytes
2015-01-21 09:22:46 +01:00
Lorenz Meier
12ce2de7ae
IO driver: Fix resource corner case (not a real leak)
2015-01-21 08:58:47 +01:00
Lorenz Meier
81082c4119
Fix CID 12453
2015-01-20 14:21:03 +01:00
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
32313a13dd
PX4IO driver: Optimize for size
2014-11-15 13:54:16 +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
Jean Cyr
3a4da7c5fa
Revert to original loop
...
Original loop was correct, and slightly more efficient. Retain
initialization of ret to handle the case where passed in count is 0.
2014-07-26 09:05:44 -04:00
Jean Cyr
2de38d0628
Improve update performance and clean up compiler warnings in px4io driver
...
- Fix compiler warnings in px4io_serial.cpp
- Fix compiler warnings in px4io_uploader.cpp
- Rename confusing overloaded send method with nearly identical
parameters in px4io_uploader.cpp
- Improve update performance by using maximum size programming buffer
since we are no longer limited by stack size.
2014-07-25 23:30:37 -04: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
7625ea5e8a
Merge pull request #1188 from PX4/sensor_startup_cleanup
...
Sensor startup cleanup
2014-07-16 15:31:00 +02:00
Lorenz Meier
1dd4282099
Merge pull request #1165 from jean-m-cyr/master
...
px4io_uploader cleanup and minor optimization
2014-07-16 09:40:06 +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
unknown
25b036c6a5
Merge branch 'master' of https://github.com/PX4/Firmware
2014-07-12 14:48:19 -04:00
Jean Cyr
e8c5b8230d
px4io_uploader cleanup and minor optimization
...
Remove redundant code
Cleanup error handling in program function
2014-07-10 23:01:41 -04:00
hxxnrx
c97e08bcf0
Set IO PX4_I2C_BUS_ONBOARD I2C speed to 400KHz
2014-07-10 21:50:23 +02:00