Commit Graph
390 Commits
Author SHA1 Message Date
Julian Oes 4a6b845ef6 px4io: nicer printf 2016-06-07 22:10:56 +02:00
Lorenz Meier 7398164fcc Updated PX4 use / API of low level GPIO and other hardware-centric system facilities 2016-05-28 14:56:17 +02:00
Lorenz Meier 41b127d405 Make IO RSSI handling as robust and informative as on FMU 2016-05-15 14:32:06 +02:00
Lorenz Meier 06fec2bce0 IO driver: Fix PWM load 2016-05-14 18:05:24 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar 6f49f861d6 px4io_params.c param metadata 2016-05-13 20:25:22 -04:00
Lorenz Meier ebaca071f6 Battery charge estimation: Factor in voltage drop for idle props 2016-05-06 18:14:34 +02:00
Lorenz Meier dd774a60e3 IO driver: Reduce perf counters 2016-05-05 20:08:11 +02:00
Julian Oes fa6fe4ca96 px4io: small change after perf_counter API change 2016-04-25 12:48:48 +02:00
Julian Oes 88626cf5f1 px4io: remove leftover printf 2016-04-21 13:34:46 +02:00
Julian Oes 482ce55d57 px4io: allow 0 as a PWM signal 2016-04-21 13:32:38 +02:00
Andrew Tridgell 3bad8131cf px4io: don't call io_set_rc_config when rc config disabled 2016-04-18 18:44:05 +02:00
Andrew Tridgell fde635ef5a px4iofirmware: fixed display of sbus rate in px4io status 2016-04-18 11:43:24 +02:00
Andrew Tridgell 30ce7fdd48 px4io: display SBUS rate in px4io status 2016-04-18 11:43:24 +02:00
Andrew Tridgell 6290e621d4 px4io: added control for setting SBUS rate 2016-04-18 11:43:24 +02:00
Andrew Tridgell 3fda934d1b px4io: on config error ask IO to reboot to bootloader
this allows us to update fw when core config settings have changed,
such as the actuators/servos change that happened recently
2016-04-18 11:40:07 +02:00
Andrew Tridgell 85e8cd89b6 px4io: set reasonable default voltage scaling
needed for when px4 param system not available in ardupilot
2016-04-18 11:39:37 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes 69b0b75151 px4io: astyle 2016-04-11 18:01:47 +02:00
Julian Oes 32c3135788 commander: move battery calculations to systemlib
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.

This moves the battery fields out of the vehicle_status message into the
battery_status topic.

This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Daniel Agar 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Julian Oes bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Daniel Agar 146cdf578a px4io param @unit take 2 2016-03-14 09:12:34 +01:00
Daniel Agar 58e9c23544 px4io param @unit 2016-03-14 09:10:29 +01:00
Lorenz Meier 738d3cb123 IO driver: Fixx lockdown flag handling 2016-02-23 13:09:06 +01:00
Andreas Antener 8dbbe1b1f3 fixed code style in px4io.cpp 2016-02-15 15:55:14 +01:00
Lorenz Meier be6278a1ba IO: Avoid param writes which do not change a value 2016-02-15 12:44:07 +01:00
Lorenz Meier ab65a55fbf Change arming transfer to only set the register if the local configuration changed. Move its write operation to the fast rate so that arming / disarming is instantaneous 2016-01-18 11:36:11 +01:00
Lorenz Meier 0f78c28aca PX4IO: Flag params requiring a reboot 2016-01-13 21:20:41 +01:00
Lorenz Meier 1754816358 IO driver: Better RC reporting 2015-12-07 11:41:00 +01:00
David Sidrane 9d4c7e9af6 Ran Astyle 2015-12-04 13:10:29 -10:00
David Sidrane 452d724cfe Reved FMU Side px4pio uploader to accept Rev 5 and below bootloader 2015-12-04 13:10:29 -10:00
Bartosz Wawrzacz c655b51d36 fixed formatting in px4io driver 2015-11-12 16:21:11 +01:00
Bartosz Wawrzacz 132a57c314 fix the scaling when using "RSSI from input channel" functionality 2015-11-12 15:38:44 +01:00
Lorenz Meier 8154fcdc8a IO driver: Fix code style 2015-11-06 10:24:10 +01:00
Lorenz Meier 1baf103ee7 IO driver: Set mixer ok flag once the mixer load completed 2015-11-06 10:24:10 +01:00
jgoppert 8536722861 Firmware rename for px4io to avoid using board label in name. 2015-10-20 13:44:17 -04:00
Daniel Agar 6c10cf18e4 re-enable Werror 2015-10-06 18:28:30 -04:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
Lorenz Meier 1df1166127 IO driver: Naming and stack cleanup 2015-10-03 13:01:12 +02:00
Lorenz Meier ef61c4e299 IO: Remove outdated check 2015-09-20 10:23:27 +02:00
Lorenz Meier aba2d007df IO: Move to semaphore abstraction 2015-09-20 00:28:24 +02:00
Lorenz Meier bdf5180b18 PX4IO driver: Get rid of weak function 2015-09-13 23:31:20 +02:00
Lorenz Meier 334c001cda IO driver: Add interface header 2015-09-13 23:25:27 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier 8421d51d5e PX4IO driver: Fix code style 2015-09-06 12:05:37 +02:00
Lorenz Meier b23d41e90f IO driver: Update to uORB changes 2015-08-20 10:48:45 +02:00
Mark Charlebois a589d15c52 Refactored debug() and log() in CDev
These functions used vprintf which is not available on all platforms.
They also do not enable line and file debug output.

Changed to macros that preserve the output format.  Uses new macro that
can be used to implement per object, runtime selectable logging

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-11 12:07:06 -07:00
Lorenz Meier ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier e07e4743c5 PX4IO: Enable S.BUS if config param is set, ignore if no param present 2015-08-08 23:50:05 +02:00