Commit Graph
313 Commits
Author SHA1 Message Date
Andreas Antener af8cd3f880 correctly scale and trim outputs in IO 2016-07-13 09:29:13 +02:00
Roman 08bbd6dbfa px4iofirmware: added scale parameters for roll, pitch and yaw
since pure manual control for fixed wings in handled on the io side
the scale parameters for roll, pitch and yaw had to be introduced there
as well.

Signed-off-by: Roman <bapstr@ethz.ch>
2016-07-13 09:29:12 +02:00
Lucas De Marchi 18330f7ab7 Move __STDC_FORMAT_MACROS to build system
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow
defining format macros for printf-like functions. It needs to be defined
before any include is done, otherwise due to include chains and header
guards it may not take effect.

Instead of having to define it everywhere it is used, move the define to the
build system. Also update ecl and DriverFramework submodules to deal with the
changed definitions.
2016-07-10 16:31:36 +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
Andrew Tridgell 3f6f030fc4 px4iofirmware: allow override when RAW_PWM is active
if override is enabled then it should apply even if RAW_PWM is being
supplied by the FMU
2016-05-22 13:20:44 +02:00
Andrew Tridgell 9daf6c336b px4iofirmware: removed unused PX4IO_P_CONFIG_CONTROL_GROUP_COUNT 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 f19761d278 px4iofirmware: support setting the SBUS output frame rate
this allows for helicopters and multicopters with SBUS output
2016-04-18 11:43:24 +02:00
Jonathan Challinger d5dfb17f0d px4iofirmware: return failure when FORCE_SAFETY_OFF fails 2016-04-17 21:38:16 +02:00
Andrew Tridgell 943e6ffbc9 px4iofirmware: blink blue LED more rapidly when override is active
this makes it easier for a user to test that override is working
correctly in pre-flight checks. Otherwise override is hard to
distinguish from normal manual mode
2016-04-17 19:10:23 +02:00
Lorenz Meier 2fa1673ee0 Make 800 bytes space on IO. From @tridge. 2016-03-24 10:40:29 +01:00
Andreas Antener a1f4ab21bf fixed code style 2016-03-20 14:48:47 +01:00
Andreas Antener 6782bdaf69 prevent alternate flight control group (1) throttle from being active when safety is disabled 2016-03-20 11:19:23 +01:00
Lorenz Meier daeb4a24f3 Fix code style 2016-02-23 13:17:30 +01:00
Lorenz Meier 168f955e0c IO firmware: Ensure that in case of lockdown only the lockdown code writes servo outputs 2016-02-23 13:09:06 +01:00
Lorenz Meier 59c30a4cbf IO firmware: Output a disarmed pulse on lockdown 2016-02-23 13:09:06 +01:00
Lorenz Meier c26b18c153 IO: Initialize PWM pins first 2016-02-18 19:01:44 +01:00
David Sidrane 2949578832 Renamed pwm_timers to more appropriate io timers for use in pwm in/out and capture 2016-02-01 10:10:34 +01:00
Lorenz Meier f2af8a5a5d IO Firmware: Reduce unnecessary buffer space 2016-01-27 09:56:20 +01:00
Lorenz Meier 49f7df5724 IO firmware decode style 2015-12-24 09:47:29 +01:00
Lorenz Meier 7005b18a66 IO: Cleanup DSM input routine 2015-12-24 09:47:29 +01:00
Lorenz Meier 494bccb618 IO: Remove define now part of board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 48bbe8f6ba IO Firmware: Default override behavior to immediate override 2015-12-11 09:28:36 +01:00
Lorenz Meier 47ff8b6bc9 IO Firmware: Let pilot take control if FMU is down 2015-12-11 09:28:36 +01:00
Lorenz Meier 6bc6eda295 Fixed drivers 2015-11-28 09:13:15 +01:00
Lorenz Meier 10a3954232 IO firmware: Depend on external RC lib 2015-11-28 09:13:15 +01:00
Lorenz Meier ba4fdf197e Move S.BUS and DSM decoders into RC lib 2015-11-28 09:13:15 +01:00
Lorenz Meier 083dbbb71b IO firmware: Do mixer load as block operation 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
Lorenz Meier 948ff80b80 IO firmware: Fix code style 2015-10-19 13:46:32 +02:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
Lorenz Meier c8e75c98b0 IO configs: Use same filenames for all versions 2015-10-03 17:27:13 +02:00
James Goppert 2a60ffd554 Added stdc_format_macros for all inttypes.h includes. 2015-09-24 17:44:27 -04:00
James Goppert 7b6dff7cdc Fix for romfs generation. 2015-09-19 17:57:54 -04:00
James Goppert cd98cfe555 cmake: ROMFS build overhaul. 2015-09-19 13:44:02 -04:00
James Goppert 7be3afe249 Fixed firmware name. 2015-09-19 12:13:17 -04:00
James Goppert cc053bffcd Added px4io bin to ROMFS. 2015-09-19 09:58:10 -04:00
James Goppert 567431602a Adds alias __errno to linker file fixed link, need to understand why. 2015-09-14 19:55:53 -04:00
James Goppert 676a3d230c Work on px4io firmware building. 2015-09-13 23:20:00 -04:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier 2a8402edb1 Merged beta into master 2015-07-09 15:55:31 +02:00
Lorenz Meier 87b801034f IO firmware: Fix condition for output enable to also allow no throttle arming to enable outputs 2015-07-07 09:50:44 +02:00
Lorenz Meier 0ca6f46ef4 IO: Allow to pre-arm the non-throttle channels with the safety switch 2015-07-06 12:08:31 +02:00
Lorenz Meier 5f586fc354 Mixer library: Fix code style 2015-07-06 10:21:44 +02:00
Lorenz Meier 95eaebb28d Merge branch 'release_v1.0.0' 2015-07-04 10:47:18 +02:00
Lorenz Meier 615affdef9 S.BUS Output: deliver the disarmed PWM values 2015-07-03 23:51:45 +02:00
Lorenz Meier 234990fbe4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware 2015-07-02 01:00:06 +02:00
Lorenz Meier 6697ffb668 IO driver: Set throttle to zero if in PWM ramp mode 2015-06-30 09:51:19 +02:00
cctsao1008 e9d5978165 Adjust the duration of the BIND pulse
Some DSMX Remote Receiver can't enter BIND mode with the duration about 25us but 120us.
2015-06-30 00:21:47 +08:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00