Commit Graph
636 Commits
Author SHA1 Message Date
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
Anton Babushkin a8ff126dfe px4io: print actuator control registers as int16 instead of uint16 2014-03-05 20:00:13 +04:00
Anton Babushkin 149bf4582c px4io: hardcode number of control groups in "px4io status" 2014-03-05 00:05:17 +04:00
Anton Babushkin a50957c3ce px4io: print all control groups in "px4io status" 2014-03-04 23:13:20 +04:00
Lorenz Meier a91b68d8a5 Fix DSM pairing error handling. 2014-02-21 08:37:12 +01:00
Lorenz Meier f1f1ecd096 Fix mavlink feedback FD handling 2014-02-21 08:36:45 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Lorenz Meier 3b31a6b1b9 Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
2014-01-30 00:54:55 -08:00
Darryl Taylor dfaa5a0c7c Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions. 2014-01-28 09:57:47 +08:00
Lorenz Meier 2a30c574ce IO status printing improvements / fixes 2014-01-26 15:50:19 +01:00
Lorenz Meier b67f7b2c7c Fix printing of IO status 2014-01-26 15:16:43 +01:00
Lorenz Meier 9cdbbab855 Differentiate between publication and signal receive timestamp, correctly set the rc_lost flag in the frame. Ready for prime-time testing. 2014-01-26 14:52:46 +01:00
Lorenz Meier 731ab465b3 Add support in the IO driver to control the S.Bus / RSSI port. 2014-01-26 14:22:54 +01:00
Lorenz Meier 57d38bc8ce Clean up RC related metadata, put everything into the RC data page. This ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet. 2014-01-26 00:17:26 +01:00
Lorenz Meier bafcbd99a6 Stop setting RSSI by cross-reading servo status. 2014-01-25 23:04:16 +01:00
Lorenz Meier f2f94f0f17 IO driver: Variable name and comment cleanup, no binary / functionality changes. 2014-01-25 23:03:21 +01:00
Lorenz Meier 92a6c7d734 Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it. 2014-01-24 17:33:04 +01:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Lorenz Meier 1960f7d6c5 Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader. 2014-01-24 17:29:27 +01:00
Lorenz Meier 2f968357a3 Make the protocol version more descriptive - helps to understand when / how px4io detect fails. 2014-01-24 17:28:04 +01:00
Lorenz Meier 4f78c3e605 Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam. 2014-01-24 17:27:28 +01:00
Andrew Tridgell d8c1131f1e px4io: improved reliability of forceupdate re-starting px4io
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
2014-01-24 12:35:19 +01:00
Lorenz Meier 6a40acdbdc Fixed PPM warning to be only printed with PPM inputs enabled 2014-01-23 09:58:22 +01:00
Lorenz Meier c74660fec5 Merge branch 'rssi' of github.com:PX4/Firmware into rssi 2014-01-23 09:18:01 +01:00