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
Lorenz Meier
4cfad588ff
IO: Add param for S.BUS output
2015-08-08 23:49:18 +02:00
Lorenz Meier
c9fefe236b
Merged release into master
2015-06-13 11:06:01 +02:00
Lorenz Meier
8259102bf1
PX4 IO driver: Fix TRIM upload
2015-06-09 23:06:01 +02:00
Lorenz Meier
284da7d344
PX4IO driver: Support trim values
2015-06-09 14:19:00 +02:00
Lorenz Meier
126ad2247e
PX4IO: Code style fixes
2015-06-05 22:45:06 +02:00
Mark Whitehorn
61904d3106
fix type mismatch
2015-05-29 10:05:29 -06:00
Mark Charlebois
35e0d866eb
Fix compare of int and uint32
...
VEHICLE_CMD_START_RX_PAIR is defined as uint32 and is being compared to an int.
GCC complains about this and fails. Changed int cast to a unsigned int.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 19:43:54 -07:00
Lorenz Meier
ad251d558f
px4io driver: update command names
2015-05-27 15:21:33 -07:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Lorenz Meier
983243933d
PX4IO params: better documentation
2015-05-25 16:42:47 +02:00
Lorenz Meier
d54b931554
IO driver: auto update param
2015-05-25 16:42:47 +02:00
Lorenz Meier
b155e97a54
Load IO params for mask
2015-05-25 16:42:47 +02:00
Lorenz Meier
c46c150a3d
Rename IO params
2015-05-25 16:42:46 +02:00
Lorenz Meier
a1232083fc
IO driver: Support pwm reversal, prepare config parameters
2015-05-25 16:42:46 +02:00
Mark Charlebois
36f5d47ed9
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/gyro_calibration.cpp
src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Simon Wilks
ea8ba79481
Read the current flight termination circuit breaker value, not just updated values.
2015-05-07 08:27:41 +02:00