Commit Graph
260 Commits
Author SHA1 Message Date
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
Jean Cyr 12da0efbb2 Read the full buffer
sizeof wont work here since file_buf is now a pointer
2014-07-10 00:55:33 -04:00
Jean Cyr 8c6745d53f Prevent stack overflow when flashing px4io
Large local variable causing stack overflow when attempting to flash
IO!!!
2014-07-10 00:41:09 -04:00
Lorenz Meier 6aed623b6c Merge branch 'master' of github.com:PX4/Firmware into power_enforce 2014-06-30 10:04:34 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07: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 aa312f96f8 drivers: Fix compile warnings and non-standard performance counter names 2014-05-21 14:20:48 +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 19d798addc px4io driver: init stack only twice as big as really needed and not four times as big 2014-05-14 21:52:25 +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
Andrew Tridgell ab1939c6a3 pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
this allows the safety switch on px4io to be forced off
2014-04-28 11:45:45 +02:00
Jean Cyr ab257ebcce Proper data manager restart handling
Introduce SYS_RESTART_TYPE parameter having one of 3 values: boot
restart, inflight restart, or unknown restart, and defaulting to unknown
restart.

px4io.cpp sets this parameter according to the type of restart detected.

dataman.c retrieves this parameter and clears data entries according to
their persistence level. Does nothing if unknown restart.
2014-04-28 00:52:19 -04:00
Lorenz Meier 282f40d162 Hotfix to PX4IO uploader. There are no known mishaps due to it, but very clearly the IO firmware flashing process should be verified after an upload. 2014-04-15 19:25:07 +02:00
Lorenz Meier 262485a5e8 px4io: Typo fixed 2014-04-05 17:09:48 +02:00
Lorenz Meier 3b5e6f9833 sensors and px4io driver: Guard against failsafe trigger for inverted remotes 2014-04-05 11:28:07 +02:00
Lorenz Meier ce50429769 Merged SBUS minimal changes 2014-04-05 11:17:05 +02:00
Lorenz Meier 73d04f7a37 px4io driver: Only publish RC signal if it was at least once valid. 2014-04-05 11:15:22 +02:00
Lorenz Meier 1eb0b19409 Merged minimal S.BUS failsafe changes 2014-04-05 11:14:19 +02:00
Holger Steinhaus 5e0d687b56 px4io driver: publish input_rc even if RC connection has been lost 2014-04-05 11:05:07 +02:00
Lorenz Meier 9a0b2b7610 Make throttle failsafe depend on the failsafe threshold parameter. Make the parameter optional (no harm if not found). 2014-04-05 11:02:22 +02:00
Lorenz Meier 64ffafb48e Only publish RC inputs if we have seen some valid inputs at some point 2014-04-05 10:28:01 +02:00
Holger Steinhaus cb3a4f1267 px4io driver: publish input_rc even if RC connection has been lost 2014-03-25 17:12:14 +01:00
Lorenz Meier 533e3172dc Make PX4IO driver obey HIL as it should 2014-03-17 14:32:27 +01:00