abeck70
dd2733d73f
OP-1769 Ground support review comments
2015-03-11 13:49:21 +11:00
Alessio Morale
2a729c1742
OP-1776 - Optimize RX exchanging, changes for radiocombridge
2015-03-11 00:54:02 +01:00
Alessio Morale
5657f4757b
OP-1776 - Optimize RX exchanging buffers instead of working a byte at time
2015-03-10 20:35:40 +01:00
abeck70
f053954228
OP-1769 CC compile fixes
2015-03-10 23:07:14 +11:00
abeck70
f9b54fd6c8
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1769-Ground
2015-03-10 22:57:50 +11:00
abeck70
52147333ed
OP-1769 Ground Support
...
1. Receiver.c for ground allows disabled channels for all but yaw and throttle
2. Reciever.c applies a deadband on throttle 0 position
3. Arming understands ground have a 0 throttle position
4. Actuator optimisations in general and fixes for mixing
5. Actuator mixer support for reversible motors
2015-03-10 22:54:51 +11:00
abeck70
dc3610f4e8
OP-1764 uncrustify
2015-03-09 22:31:40 +11:00
abeck70
993481c11e
OP-1764 added flight side sanity checks
2015-03-09 21:31:42 +11:00
Erik Gustavsson
ae24359fb4
OP-1739 Always clear ubxLastAck & ubxLastNak when sending UBX message
2015-03-04 19:38:40 +01:00
Erik Gustavsson
0610262cc3
OP-1739 Add (untested) BeiDou support to flight side.
2015-03-01 17:28:43 +01:00
Erik Gustavsson
60736ea82d
OP-1739 Fill all UAVO slots with SV data
2015-03-01 16:44:30 +01:00
Erik Gustavsson
76ff576b38
uncrustify
2015-02-28 13:18:24 +01:00
Erik Gustavsson
4ada3d90d9
OP-1739 Add "Default" setting to GNSSMode which skips the GNSS selection
...
during autoconfig, e.g. for use with UBX6
2015-02-28 13:17:22 +01:00
Erik Gustavsson
d6bc3878d3
OP-1739 Check for NAKs in autoconfig
2015-02-28 12:25:24 +01:00
Erik Gustavsson
1024406fd9
OP-1739 Only include SVs with SNR>0 in "GPSSatellites", making better
...
use of the 16 slots available.
2015-02-28 11:01:08 +01:00
Erik Gustavsson
baddff3639
OP-1739 Extend SVINFO to 32 SVs. Make UBX parser handle > 256 bytes
...
payload.
2015-02-28 10:48:26 +01:00
Erik Gustavsson
f5b4e4da37
Remove infinite loop from autoconfig state machine.
2015-02-28 08:09:45 +01:00
Erik Gustavsson
2c403d5323
OP-1739 Add GNSS mode to GPS settings UAVO.
2015-02-28 08:09:45 +01:00
Erik Gustavsson
2029255538
OP-1739 Add CFG_GNSS message to autoconfig, with GPS and GLONASS configurable
2015-02-28 08:09:45 +01:00
Alessio Morale
83ce7c7b9a
OP-1750 - cause compiler to trigger an error if a case is missing
2015-02-27 04:01:37 +01:00
Alessio Morale
86111ddefd
OP-1750 - don't waste cycles by rescheduling each StateEstimation sub-step
2015-02-26 06:58:57 +01:00
Alessio Morale
362c0c67b7
OP-1750 - Performance optimization for Ins13 lib
2015-02-26 06:41:19 +01:00
Alessio Morale
e2c9111b39
performance optimizations
2015-02-24 22:41:46 +01:00
Alessio Morale
a01cab1e72
OP-1743 - Fix attitude issue on CC3D
2015-02-24 22:39:34 +01:00
Alessio Morale
bcbb1d08e4
Merge branch 'amorale/OP-1743_fix_cc_target' into next
2015-02-24 22:26:10 +01:00
Alessio Morale
81b9d2e379
OP-1743 - Raise manualcontrol stack
2015-02-24 22:03:18 +01:00
Alessio Morale
a30f115567
OP-1743 - Fix uninitialized objects usage
2015-02-24 22:02:56 +01:00
Alessio Morale
84465ae0cb
OP-1743 - Fix a very ugly error in attitude(cc/cc3d)
2015-02-24 22:02:25 +01:00
abeck70
c5275fc89b
OP-1744 fix crash on revo with ubx config
2015-02-24 22:40:49 +11:00
abeck70
0cd7e20425
Merge branch 'amorale/OP-1685_various_fixes' into test-oneshot
2015-02-23 16:47:12 +11:00
abeck70
57e0a8baf5
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1721
...
Conflicts:
flight/modules/Sensors/sensors.c
2015-02-23 14:40:55 +11:00
Alessio Morale
ad42ca7f16
Merge remote-tracking branch 'origin/amorale/OP-1658_sensor_overhaul_next' into next
2015-02-22 16:28:04 +01:00
Alessio Morale
1f5f5747f7
OP-1685 - Fix glitches on output settings save. It was due to wrong check for bankmode changes.
2015-02-22 14:21:23 +01:00
Alessio Morale
60abae8a8b
OP-1685 - Rename PIN6 to PIN8 (that's Input6)
2015-02-22 13:25:07 +01:00
Alessio Morale
2a90e86e58
OP-1685 - Try to avoid unneded updates to prevent output glitches
2015-02-22 13:12:00 +01:00
Alessio Morale
0cd545f5e4
OP-1658 - Fix ms5611 units
2015-02-20 05:47:31 +01:00
abeck70
b61a76eeae
Merge branch 'next' into abeck/OP-1721
2015-02-19 12:19:28 +11:00
abeck70
bc94fbc2df
OP-1670 uncrustify sanitycheck
2015-02-19 08:27:10 +11:00
abeck70
d157b1f553
OP1670:Sanitycheck acro/rate+cruisecontrol
2015-02-19 08:25:07 +11:00
Laurent Lalanne
26ec24f5b1
Merge remote-tracking branch 'origin/laurent/OP-1601_CC3D_Ubx_only' into next
2015-02-18 02:58:19 +01:00
Laurent Lalanne
25c8d43db3
Merge remote-tracking branch 'origin/laurent/OP-1635_Remove_QuadH_config_tab' into next
2015-02-18 02:56:23 +01:00
Alessio Morale
39513f0533
OP-1685 - Rename OneShot to PWMSync to avoid confusion
2015-02-17 23:20:07 +01:00
Erik Gustavsson
65c24e6315
OP-1691 Release SPI bus before sleeping
2015-02-17 18:08:47 +01:00
Alessio Morale
fbdd88c161
OP-1685 - handle servo outputs with PPM_Pin6, sanity check for flexi_ppm
2015-02-15 19:08:49 +01:00
abeck70
53482be09c
OP-1721 C++ and ARM tools
...
Enable revo C++ support:
1. Set USE_CXX to enable compliation and linkage of C++ source code
2. Disables rtti and exceptions
3. operator new and delete call pios malloc/free
4. Static constructor invocation supported
5. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.
6. Upgrade arm tools
2015-02-13 12:56:04 +11:00
Alessio Morale
1ad040229c
OP-1685 - implement PPM on pin 6
2015-02-12 00:00:17 +01:00
Alessio Morale
096a321181
OP-1685 - calls sanitychecks after updates to actuatorsettings, update board sanitycheck rules
2015-02-11 23:59:23 +01:00
Alessio Morale
f3fe45750d
OP-1683 - Remove dead code
2015-02-11 22:33:58 +01:00
Alessio Morale
fd299b559a
OP-1685 - Add custom sanity check hook to test OneShot availability
2015-02-11 22:33:57 +01:00
Alessio Morale
26893554c0
OP-1704 - Change Hook alarm level to Critical to prevent arming and allow them to be disabled with DisableSanityChecks
2015-02-11 22:33:57 +01:00
Alessio Morale
a4da83a1be
OP-1685 - Add OneShot compatible configurations
2015-02-11 22:33:57 +01:00
Alessio Morale
f290d6d89d
OP-1685 - Implement OneShot on F1
2015-02-11 22:33:57 +01:00
Laurent Lalanne
6da3c99af2
OP-1635 Remove QuadH in config tab - AirframeType
2015-02-10 22:48:43 +01:00
Laurent Lalanne
cd2ad35ae0
OP-1601 Add command line options for fw_coptercontrol : GCSRECEIVER=YES and DIAG_TASKS=YES
2015-02-08 22:37:24 +01:00
Alessio Morale
4245db7b31
Merge remote-tracking branch 'origin/amorale/OP-1704_sanity_check_hooks' into next
2015-02-08 19:59:57 +01:00
Alessio Morale
3f05aa0e11
OP-1658 - Fix header
2015-02-08 19:02:48 +01:00
Alessio Morale
46521f1c2d
Merge remote-tracking branch 'origin/amorale/OP-1683_syncupdate_oneshot' into next
2015-02-08 17:59:59 +01:00
Alessio Morale
240abe4bab
Merge remote-tracking branch 'origin/amorale/OP-1682_pwm_input_overflow' into next
2015-02-08 17:58:20 +01:00
Erik Gustavsson
dd5abeca9b
OP-1691 Review fix: ensure rounding for vTaskDelay
2015-02-08 11:08:10 +01:00
Laurent Lalanne
f92eba93ef
OP-1601 Ubx only, more efficient to save Ram on CC/CC3D
2015-02-07 17:02:59 +01:00
Laurent Lalanne
f378ca6da7
Merge branch 'laurent/CC3D_Nmea_Gps_14.10' into laurent/CC3D_next_Ubx_only
2015-02-07 14:04:58 +01:00
Laurent Lalanne
5c08f013f1
Allow multiples talkers IDs, define some debug messages and typos
2015-02-06 19:50:09 +01:00
Laurent Lalanne
58e70b2e3a
CC3D special firmware : Nmea GPS
2015-02-06 16:59:41 +01:00
Alessio Morale
108c74da3e
OP-1704 - Reenable an hook if it is reattached
2015-02-05 15:42:58 +01:00
Alessio Morale
aa55b1523d
uncrustify
2015-02-05 01:42:32 +01:00
Alessio Morale
a8e89dffcd
OP-1704 - Add support for custom sanity check hooks
2015-02-05 01:39:58 +01:00
Alessio Morale
85335d62a9
OP-1658 - Fix some headers, remove unused files
2015-02-03 00:33:15 +01:00
Alessio Morale
857cead7c7
OP-1658 - Fixes for other targets (OSD and GPS)
2015-02-03 00:00:06 +01:00
Alessio Morale
fe59057476
OP-1658 - Applying sensor framework to RevoProto
2015-02-03 00:00:06 +01:00
Alessio Morale
3d49362345
OP-1658 - Applying sensor framework to revolution
2015-02-03 00:00:06 +01:00
Alessio Morale
d0ca48e1c4
OP-1658 - Various fixes for MPU6000 and HMC5x83
2015-02-03 00:00:06 +01:00
Alessio Morale
0cf5d163d1
OP-1658 - Fixes for CC3D and its attitude module
2015-02-03 00:00:06 +01:00
Alessio Morale
4f6c7dcb00
OP-1658 - Fixes to other (old and deprecated) sensors
2015-02-03 00:00:05 +01:00
Alessio Morale
4b01d0d2ea
OP-1658 - fix temp interleaving for MS5611
2015-02-03 00:00:05 +01:00
Alessio Morale
adbcdecb41
OP-1365 - adds quick and dirty decays to max and min values
2015-02-03 00:00:05 +01:00
Alessio Morale
bdd9ac7c60
OP-1658 - Support reset for main sensors
2015-02-03 00:00:05 +01:00
Alessio Morale
73a7dc00d4
OP-1658 - MS5611 sensor framework model support
2015-02-03 00:00:05 +01:00
Alessio Morale
ba0e486004
OP-1658 - Add support for barometer in sensor module
2015-02-03 00:00:05 +01:00
Alessio Morale
6904996aba
OP-1658 - add performance counters
2015-02-03 00:00:05 +01:00
Alessio Morale
fc125540b7
OP-1658 - various fixes
...
Conflicts:
flight/pios/common/pios_mpu9250.c
2015-02-03 00:00:05 +01:00
Alessio Morale
621c1e8679
OP-1658 - MPU6000 & HMC5x83 make driver struct const
2015-02-03 00:00:05 +01:00
Alessio Morale
9d36ac4b9c
OP-1658 - Apply to Revolution target
2015-02-03 00:00:05 +01:00
Alessio Morale
cf791db71e
OP-1658 - Implementation of Sensor Module using PiOS Sensors Framework
2015-02-03 00:00:05 +01:00
Alessio Morale
84f577029e
OP-1658 - HMC5x83 sensor device model implementation
2015-02-03 00:00:05 +01:00
Alessio Morale
6341fa7eca
OP-1658 - MPU6000 sensor device model implementation
2015-02-03 00:00:05 +01:00
Alessio Morale
4d8b36adad
OP-1658 - Remove sensors includes from pios.h to prevent cross dependencies
2015-02-03 00:00:05 +01:00
Alessio Morale
49b8b1f93e
OP-1658 - Add PIOS_SENSORS and Sensor framework API
2015-02-03 00:00:05 +01:00
Laurent Lalanne
b9bfcd18d2
OP-1686 Slave Oplink may want to receive PPM data in PPM_Only mode
2015-02-02 21:25:38 +01:00
Karl Knutsson
d161ebbc74
OP-1522 address review comments
2015-02-02 21:25:38 +01:00
Karl Knutsson
137c183ec2
OP-1522 Remove unused channel set cfg
...
Remove unused channel set configuration option.
With the new channel allocation the old channel set
configuration isn't needed.
2015-02-02 21:25:38 +01:00
Karl Knutsson
a3715598c7
OP-1522 New channel allocation
...
Generate a pseudo random list of channels from hmac_sha1 with the
coordid as key.
Enforce channel spacing based on the frequency deviation derived
from the configured data rate.
2015-02-02 21:25:38 +01:00
Karl Knutsson
9bf18490b1
OP-1522: Channel timeout logic
...
Use real time rather than missed pickets when deciding if we are
disconneted. Makes the link less sensitive at higher rates since
higher rates means more chances to get a packet through within the
given time.
2015-02-02 21:25:38 +01:00
Karl Knutsson
b0491da115
OP-1576: Remove unused tx_resent counter
...
Remove unused tx_resent counter and replace it with
rx_failure in link quality calculations.
2015-02-02 21:25:38 +01:00
Karl Knutsson
52c1080ffe
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2015-02-02 21:25:38 +01:00
Erik Gustavsson
966ef5ce75
OP-1680 Increase the range and resolution of OPLink PPM values
...
Encode 511 steps plus a single "invalid" value, rather than 256 steps
plus a dedicated valid flag bit. This gives a range of 990 - 2010 us in
steps of 2 us.
2015-02-02 21:25:37 +01:00
Alessio Morale
86a1ca2bcf
OP-1683 - Pulse length must be zeroed at each cycle
2015-02-02 19:58:04 +01:00
Alessio Morale
752f3447d2
OP-1683 - Implement an update skip strategy in single pulse mode when pulse period is higher than the update cycle
2015-02-02 02:58:22 +01:00
Alessio Morale
a5f601593d
OP-1683 - Put again in place safe limits on pulse width
2015-01-31 15:04:02 +01:00
Alessio Morale
1d08083375
OP-1682 - OneShot125: Change timer clock to 2MHz (that's available as exact value for current targets), raise timer period to prevent glitches
2015-01-31 14:40:40 +01:00
Alessio Morale
025e3596fa
OP-1682 - Fixes from review
2015-01-31 12:55:34 +01:00
Alessio Morale
86571a804d
OP-1683 - Switch to the same schema used by cleanflight.
...
Running in repetitive mode, clearing CCRx after manually triggering update event.
2015-01-30 21:22:14 +01:00
Alessio Morale
632051c0ac
OP-1683 - Increase resolution for OneShot125 running timer at 8MHz, setup automatically rates for OneShot
2015-01-30 21:22:00 +01:00
Erik Gustavsson
1b94f178e8
OP-1691 Remove busy-wait and add yeild points in rfm22_init()
2015-01-28 20:55:36 +01:00
Alessio Morale
1ad4a01b75
OP-1682 - Fixes for review
2015-01-25 21:51:37 +01:00
Alessio Morale
7955f63c98
OP-1683 - Clenaup, trigger update in setfailsafe, Fix standard pwm operation
2015-01-25 21:25:14 +01:00
Corvus Corax
7e421b99a4
uncrustificationization
2015-01-25 15:48:45 +01:00
Alessio Morale
5f034dfd3e
OP-1683 - Missing uncrustification for f1 stubs.
2015-01-24 15:41:04 +01:00
Alessio Morale
dcc9a5b7dc
OP-1683 - Actuator uses "standard" 1000-2000 range and remap it to 125-250 just before sending to servo to prevent any impact on gcs and other blocks
2015-01-24 13:37:00 +01:00
Alessio Morale
2a10d9d481
OP-1683 - fixes to PIOS_Servo, added code to prevent overflows
2015-01-24 13:35:41 +01:00
Alessio Morale
ec69941c30
OP-1683 - Fix compilation for other targets
2015-01-24 13:08:56 +01:00
Laurent Lalanne
7a24fc62a6
Merge branch 'laurent/OP-1674_GUI_display_oplm_frequency' into next
2015-01-24 01:28:28 +01:00
Laurent Lalanne
5d4b1df85c
OP-1652 Fix comment
2015-01-24 00:56:31 +01:00
Alessio Morale
411416d2a1
OP-1683 - Fix compilation for CC (not yet supported)
2015-01-24 00:18:20 +01:00
Alessio Morale
73c6ae2055
OP-1683 - Add revolution and other f4 targets support
2015-01-23 23:56:39 +01:00
Alessio Morale
47e1312982
OP-1683 - Implement oneshot/oneshot125 mode to actuator module
2015-01-23 23:51:53 +01:00
Alessio Morale
1f95332ff4
OP-1683 - Implement servo synchronous update mode for F4
2015-01-23 23:50:51 +01:00
Laurent Lalanne
c506fc93d6
OP-1674 Revert changes from previous commit in flight side, keep comments changes
2015-01-22 19:49:06 +01:00
Laurent Lalanne
68f9763e73
OP-1652 Typo FlexiIOPin
2015-01-21 14:32:21 +01:00
Laurent Lalanne
bc178b8a95
OP-1652 WS281x pins : Update flight side for revo
2015-01-21 14:12:36 +01:00
Alessio Morale
caa51253db
OP-1682 - Workaround overflow issue with pwm receiver inputs on shared timers.
2015-01-19 21:55:40 +01:00
Laurent Lalanne
4c27a78072
OP-1674 Allow channel 250
2015-01-12 12:57:01 +01:00
Fredrik Arvidsson
c8c3a46735
Uncrustify
2015-01-09 21:49:03 +01:00
abeck70
2b6d79467c
gpsassist:code review comments
...
1. Defines
2. Name of adjustments changed to vtolSelfTuningStats
2015-01-09 07:51:37 +11:00
abeck70
b1c94e83d0
gpsassist: One commit new branch
...
Collapsed into one branch for a new code review. Some unnecssary committed files removed.
2015-01-08 13:20:47 +11:00
Mathieu Rondonneau
acc124cacb
OP-1625: DSM: more robust detection of resolution
...
This allows switching back and forth between 10 and 11 bit
code which prevents getting locked up in one or the other.
It also avoids a situation that can cause an infinite
recursion.
This changeset is cherry-picked from TauLabs (b7eaf87502085666d9738ae16c66170f187f3981).
Thanks to Taulabs for improving OpenPilot's DSM autodetect feature.
2014-12-30 21:29:06 -08:00
Fredrik Larsson
4f7fc1bac7
Merge remote-tracking branch 'origin/corvuscorax/OP-1599_positionvario-reworks' into next
2014-12-14 23:45:57 +11:00
Mathieu Rondonneau
6844f8351d
run uncrustify.
2014-12-04 20:17:29 -08:00
Mathieu Rondonneau
4b00f6039d
OP-1626: Allow binding to happen within satellite binding window.
...
- This is working for satellite 22ms (genuines and clones).
- This change only affect revo.
2014-11-29 19:59:18 -08:00
Alessio Morale
99d73426b8
Uncrustify
2014-11-27 12:05:59 +01:00
Fredrik Larsson
1687ef7e8f
Merge remote-tracking branch 'origin/rel-14.10' into next
2014-11-23 12:15:32 +11:00
Fredrik Larsson
cd94410468
DSM Protocol removed flight firmware
2014-11-22 08:32:00 +11:00
Fredrik Larsson
1942d2ee30
Remove protocol enum
2014-11-22 07:44:55 +11:00
Fredrik Larsson
a45e28afa9
Merge remote-tracking branch 'origin/rel-14.10' into next
2014-11-22 03:39:30 +11:00
Mathieu Rondonneau
b0cc9ce021
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-20 19:58:34 -08:00
Fredrik Larsson
141cf194f1
Signed cats
2014-11-21 11:53:47 +11:00
Fredrik Larsson
8b3ae66932
New cat files after bump
2014-11-21 11:48:17 +11:00
Fredrik Larsson
9480c6efe6
Bump driver version
2014-11-21 11:47:36 +11:00
Fredrik Larsson
17c0102d34
Remove old cat files
2014-11-21 11:47:00 +11:00
Mathieu Rondonneau
1c6ac29218
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-18 19:35:57 -08:00
Laurent Lalanne
4fdcceda65
Merge branch 'laurent/OP-1601_CC_Ram' into next
2014-11-17 03:30:45 +01:00
Laurent Lalanne
357f091f0f
Merge branch 'laurent/OP-1601_CC_Ram' into rel-14.10
2014-11-17 03:29:47 +01:00
Werner Backes
4b68deb878
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-16 20:16:02 +11:00
Laurent Lalanne
8d08223e8a
OP-1601 Don't use new PVT messages with CC/CC3D
2014-11-15 22:39:17 +01:00
Laurent Lalanne
9e0ede3386
OP-1601 barosensor.c and airspeedstate.c removed from Makefile
2014-11-15 22:17:08 +01:00
Werner Backes
d9a3fac502
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-15 11:37:06 +01:00
Corvus Corax
5f352f54a3
OP-1599 updated defaults for position roam mode settings, do not low pass filter throttle
2014-11-10 19:06:27 +01:00
Corvus Corax
8fe21ed297
OP-1599 removed autotune from all flight code
2014-11-08 16:17:39 +01:00
Corvus Corax
c0e66a8acf
OP-1599 renamed flightmodes
2014-11-08 16:01:59 +01:00
Corvus Corax
3e5c5bd140
OP-1599 added new mode "courselock" in handlers where missing
2014-11-08 14:04:00 +01:00
Corvus Corax
db0ba763bf
OP-1599 add low pass filter to control input in vario mode to possibly reduce rubber-band effect - needs test and tuning
2014-11-08 13:32:40 +01:00
Corvus Corax
7d2ca3d92f
OP-1599 added course lock mode, renamed other position vario modes
2014-11-08 12:59:55 +01:00
Corvus Corax
c21d3d8a67
uncrustification!
2014-11-08 12:59:16 +01:00
Fredrik Larsson
e7d183b5e6
Merge branch 'rel-14.10' into next
2014-11-07 14:58:41 +11:00
Alessio Morale
6a2666381f
OP-1588 - Improve manualcontrol assumptions to be easier to mantain
2014-11-01 17:54:54 +01:00
Alessio Morale
e04825e7b7
OP-1588 - Remove *relay flight modes
2014-11-01 16:11:11 +01:00
Alessio Morale
b3b2d1ef02
OP-1584 - Remove some unused big UBX messages when running with GPS_MINIMAL
2014-11-01 16:00:03 +01:00
Alessio Morale
71d30a7521
OP-1584 - reduce telemetry queue size
2014-10-31 20:39:52 +01:00
Alessio Morale
c0ca20f661
OP-1584 - Remove auxmagsupport from cc3d for now as it is unused, remove other stuffs from ubx when GPS_MINIMAL is selected
2014-10-31 19:56:38 +01:00
Fredrik Larsson
0ea56989e7
Merge branch 'rel-14.10' into next
2014-10-31 10:12:50 +11:00
Fredrik Larsson
2dc777304e
Merge remote-tracking branch 'origin/abeck/OP_1503v3-yaffs' into next
2014-10-31 10:09:39 +11:00
Corvus Corax
d0417dda84
OP-1573 fix armhandler to not timeout-disarm when flying autonomously
2014-10-29 21:12:57 +01:00
Alex Beck
e2b38d0d7d
Yaffs or dosfs now conditional linkage for simposix yaffs testing
2014-10-28 08:48:38 +11:00
Alex Beck
b4e3fe137b
Removed unrequired signals from handler
2014-10-25 20:01:32 +11:00
Alex Beck
c6aa4ed1d6
Added signal handler that on ctrl-c will unmount the yaffs device(s) and save to the em-norsim file
2014-10-25 19:55:56 +11:00
abeck70
942945850b
Merge branch 'next' into abeck/OP_1503v3-yaffs
2014-10-23 21:25:54 +11:00
a*morale
7c1265ee30
OP-1548 - Change Fusion algorithm names to make clear their pourpose
2014-10-21 00:49:00 +02:00
a*morale
d1a229a9cb
OP-1553 OPLink does not work as non coordinator
...
Revert "OP-1535 - SPI:Use pio for small blocks"
This reverts commit 823a1afad2
.
2014-10-20 21:46:14 +02:00
Karl Knutsson
5ab924c07e
Revert "OP-1522 Robustness of OPLink radio"
...
This reverts commit 00d9c66867
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
5ef8d3803d
Revert "OP-1530 Use rfm22b_dev->num_channels"
...
This reverts commit 4e365f6dff
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
b69e222456
Revert "OP-1532 fix non-ppm mode"
...
This reverts commit 9fd4fb26b9
.
2014-10-16 08:23:10 +02:00
Alessio Morale
a9f35e2afe
Merge branch 'amorale/OP-1535_mpu_overhaul' into next
2014-10-16 00:51:02 +02:00
Alessio Morale
3ac2874687
OP-1540 - sha1sum was not sent correctly by GPS V9
2014-10-15 00:58:34 +02:00
Alessio Morale
15cd40a907
Merge remote-tracking branch 'origin/skarlsso/OP-1534_add_expo_and_acro_insanity_factor_to_txpid' into next
2014-10-14 21:43:59 +02:00
Alessio Morale
7968bcdb00
Merge remote-tracking branch 'origin/skarlsso/OP-1528_telemetry_on_flexi-io' into next
2014-10-14 21:17:37 +02:00
Alessio Morale
f4ef36f66c
Merge remote-tracking branch 'origin/skarlsso/OP-1536_revo_combridge_garbage' into next
2014-10-14 21:16:52 +02:00
abeck70
de68e0179f
First round review comments
2014-10-14 17:17:59 +11:00
Alessio Morale
fe20e39d5c
OP-1535 - uses union in fast_invsqrt
2014-10-14 05:39:11 +02:00
Alessio Morale
5d074063d1
OP-1535 - Add board specific sensor update rate constant
2014-10-14 05:38:57 +02:00
Fredrik Arvidsson
0fd9758e0c
OP-1525 Gaah.
2014-10-12 15:01:34 +02:00
Fredrik Arvidsson
118209e40d
OP-1525 Updated comment.
2014-10-12 14:59:41 +02:00
Alessio Morale
f2fc5f5616
OP-1513 - Fix time constants, set initial temperature as first sample value
2014-10-11 23:54:21 +02:00
Alessio Morale
823a1afad2
OP-1535 - SPI:Use pio for small blocks
2014-10-11 09:57:25 +02:00
Alessio Morale
9499cf9abc
OP-1535 - Some optimizations for attitude module
2014-10-11 09:57:07 +02:00
Stefan Karlsson
3285519380
OP-1536 Send only the available bytes, not the entire buffer, to the USB CDC RX callback function
2014-10-10 23:51:04 +02:00
Alessio Morale
4a8cfe3f86
OP-1535 - Refactor MPU6k driver to allow direct and fifo access based on configuration
2014-10-10 22:33:50 +02:00
Alessio Morale
28274cdb6b
OP-1535 - Fixes CC3D sensor SPI configuration
2014-10-10 22:33:49 +02:00
Alessio Morale
9350bd65d9
OP-1535 - change sensor rate to 1KHz with software downsample to 500Hz
...
Allow per board SPI prescaler settings
2014-10-10 22:33:49 +02:00
Alessio Morale
c1062124af
OP-1531 - Add temperature filtering for baro compensation
2014-10-10 22:33:47 +02:00
Alessio Morale
46fee43487
OP-1531 Filter temperatures for gyro and accel calibration. calculate new bias every 30 samples
2014-10-10 22:33:42 +02:00
Stefan Karlsson
c03d390269
OP-1534 Update both roll and pitch with TxPID Roll+Pitch.Expo option
2014-10-10 18:49:18 +02:00
Stefan Karlsson
bedb749f72
OP-1534 Add expo and acro insanity factor to TxPID
2014-10-10 17:57:24 +02:00
m_thread
19a7f4cd22
OP-1525 Changed some boundaries in firmware code.
2014-10-10 13:56:11 +02:00
m_thread
bb4d271799
OP-1525 Made the Expo magic number a constant and changed it to 1.00695f.
...
Changed n the firmware code to match the GCS side.
2014-10-10 12:26:22 +02:00
abeck70
948d6546af
yaffs simposix ready for review
...
All yaffs changes for library inclusion, arm compilation, and simposix integration.
2014-10-10 13:21:06 +11:00
Fredrik Arvidsson
9fb474d930
Merge remote-tracking branch 'origin/next' into thread/OP-1525_Acro_GUI
2014-10-09 20:08:19 +02:00
Karl Knutsson
9fd4fb26b9
OP-1532 fix non-ppm mode
...
Always send packets from the coordinator.
Previously the coordinator only always sent packets
on channel 0. This scheme doesn't work with
with the change to use 32 channel.
2014-10-08 20:59:51 +02:00
m_thread
b794c87d3b
Merge remote-tracking branch 'origin/next' into thread/OP-1525_Acro_GUI
2014-10-08 00:56:24 +02:00
Stefan Karlsson
aaebc25eff
OP-1528 Fix Telemetry-only over the Flexi-IO port
2014-10-08 00:31:31 +02:00
Fredrik Larsson
cb6e9fda6d
Merge remote-tracking branch 'origin/havyan/oplink-0' into next
2014-10-08 08:02:48 +11:00
Karl Knutsson
4e365f6dff
OP-1530 Use rfm22b_dev->num_channels
...
Use the number of allocated channel from the num_channels field
in the pios_rfm22b_dev struct rather than from the maximum number
of possible of channels given the configured speed.
2014-10-07 22:50:52 +02:00
Stefan Karlsson
004f5a32a9
OP-1528 Enable Telemetry on the Flexi-IO (receiver) port on the Revo
2014-10-06 21:28:09 +02:00
Corvus Corax
270f6d87cd
OP-1516 changed handling of integrals in acrop
2014-10-06 17:47:16 +02:00
Corvus Corax
b05bd2fb34
OP-1516 fixed boundf mistake
2014-10-05 21:07:06 +02:00
Corvus Corax
9525398deb
OP-1516 use fastPow implementation for expo - to make it work on cc3d
2014-10-05 01:25:15 +02:00
Karl Knutsson
00d9c66867
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2014-10-03 22:20:11 +02:00
Karl Knutsson
1c6e9b3cc4
OP-1510 don't hard code tx_power to 100mW
2014-10-03 22:20:11 +02:00
Corvus Corax
bdb5c88d08
OP-1516 added bank configurable expo to stick to allow snappier rate response
2014-10-03 19:07:47 +02:00
Corvus Corax
ac0fccc10a
OP-1516 re-introduce sanity to Acro+
2014-10-03 15:44:02 +02:00
Corvus Corax
17f187468c
Merge remote-tracking branch 'origin/next' into corvuscorax/OP-1516_acro+
2014-10-03 12:34:35 +02:00
Alessio Morale
8e2e534c60
Uncrustify/clean commented code
2014-10-03 11:41:26 +02:00
Alessio Morale
21156dbb9e
Merge remote-tracking branch 'origin/amorale/OP-1515_fix_attitude_fifo_fixed' into next
2014-10-03 11:12:10 +02:00
Alessio Morale
55402880bc
Revert "Merge remote-tracking branch 'origin/amorale/OP-1515_fix_attitude_fifo' into next"
...
This reverts commit 316f7fcf02
, reversing
changes made to cfa0ef4671
.
2014-10-03 11:11:27 +02:00
Alessio Morale
e553014596
Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next
2014-10-03 00:37:55 +02:00
Alessio Morale
9cfd55d006
Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next
2014-10-03 00:37:39 +02:00
Corvus Corax
a12e2708a2
OP-1516 fixed obvious issues
2014-10-02 23:38:06 +02:00
Corvus Corax
dcb354b0b1
OP-1516 Enable PiroComp per setting
2014-10-02 22:42:08 +02:00
Corvus Corax
3ad47bfa0a
OP-1516 added Acro+ stabi mode
2014-10-02 22:13:10 +02:00
Corvus Corax
2586dafa8c
OP-1511 added comment to filter code for better readability
2014-10-02 21:18:52 +02:00
Alessio Morale
a5fd040b49
OP-1515 - Attitude module was not reading all gyro/accel fifo items causing it to lag behind by at least a sample
2014-10-01 21:13:44 +02:00
Alessio Morale
ae9f30c729
OP-1477 - Fix mag exti config, set correct rate, set correct SPI speed for hmc5x83. Note: GPIO is disabled as it seems there is some issues with Exti on PB0
2014-10-01 02:07:46 +02:00
Alessio Morale
0ffb99f228
OP-1477 - Fix issue with quick request to DDC port, change baud rate to 57600, fix sys rate, optimize uart tx
2014-10-01 02:06:03 +02:00
Alessio Morale
c1641613ce
OP-1515 - Attitude module was not reading all gyro/accel fifo items causing it to lag behind by at least a sample
2014-09-30 15:12:37 +02:00
Fredrik Larson
efde46cf7a
Merge branch 'next' into fw_wiz
2014-09-30 15:41:19 +10:00
Alessio Morale
b2aa73acf6
Merge remote-tracking branch 'origin/amorale/OP-1499_autoconfig_retries' into next
2014-09-29 21:30:16 +02:00
Alessio Morale
9e0596c2c5
Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
...
Conflicts:
Makefile
flight/targets/boards/discoveryf4bare/firmware/Makefile
flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
5054bda433
OP-1477 - Fix SYS message rate
2014-09-28 20:29:52 +02:00
Alessio Morale
f2058dfc7f
OP-1477 - Remove hardcoded strings for initialization config
2014-09-28 15:01:19 +02:00
Alessio Morale
4c76620402
OP-1507 - Reduce memory usage for CopterControl
2014-09-27 22:40:17 +02:00
Alessio Morale
93cf6b457f
OP-1507 - optimize com fifo usage when RX callback receives a single byte
2014-09-27 00:20:15 +02:00
Alessio Morale
d0b37bab28
OP-1507 - Handles GPS data a chunk at time instead of a single byte at time.
2014-09-27 00:17:00 +02:00
Alessio Morale
be747138e1
OP-1275 - Optimize fifo for single char operations
2014-09-25 20:26:35 +02:00
Alessio Morale
7e789ccc69
OP-1379 - Clear output pin at the end of dma cycle
2014-09-25 00:59:39 +02:00
Alessio Morale
78756f6873
OP-1499 - Failed Autoconfig will raise an Error Alarm. When AC does start it will reset any previous ack. Force update to Autoconfig Status in GPSPositionSensor UAVO. Add a small pause between each config step
2014-09-24 06:12:48 +02:00
Alessio Morale
8712a1dfdc
OP-1477 - Board support for updated SYS message
2014-09-24 01:06:49 +02:00
Alessio Morale
c772442723
OP-1477 - remove debug infos and add send some relevant informations using SYS message (firmware and board revision/info)
2014-09-24 01:06:41 +02:00
m_thread
7bcdff9f2f
Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard
...
Conflicts:
ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp
ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationsource.h
2014-09-23 22:30:49 +02:00
Alessio Morale
7e78194e12
OP-1477 - change led rate so that's less annoying
2014-09-23 20:27:10 +02:00
Corvus Corax
ca7a3e4333
Merge branch 'next' into corvuscorax/OP-1483_leaky-integrals-and-post-filtering
2014-09-23 13:54:33 +02:00
Werner Backes
b621df59f2
Merge remote-tracking branch 'origin/D-Lite/OP-1483-PathFollower-DisablePosKi' into next
2014-09-23 13:33:32 +02:00
Fredrik Larsson
5bbd6724d6
Merge remote-tracking branch 'origin/skarlsso/OP-1493_discoveryf4bare_support_in_gcs' into next
2014-09-23 21:11:15 +10:00
m_thread
19aa3ed5a3
Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard
2014-09-22 23:05:21 +02:00
Fredrik Larson
c36e9a9122
Merge remote-tracking branch 'origin/thread/OP-1474_PID_Scaling_Banks' into next
2014-09-23 06:20:34 +10:00
Fredrik Larsson
b93a7a9dce
Arming for Helis on Revo
2014-09-23 05:35:35 +10:00
Alessio Morale
0885fda926
OP-1499 - CFG-CFG mask was incorrect (nav is 0x02, not 0x01)
2014-09-22 00:56:49 +02:00
Alessio Morale
3c6a8e0395
OP-1379 - Prevent loosing any update to background notification and notifications with priority higher than current
2014-09-21 23:32:52 +02:00
Corvus Corax
41e062373d
OP-1483 enable postfilter for indoor mode for filter debugging, change default filter alpha coefficient to 0.999
2014-09-21 19:26:01 +02:00
Alessio Morale
a5ebf36425
OP-1499 - Replay the configuration sequence in case of gps disconnection, add retry logic in case of errors
2014-09-21 16:38:52 +02:00
Alessio Morale
7a9a0868c9
OP-1275 - split persistence handling out of UavobjectManager. stubs are used if target deos not support persistency
2014-09-20 21:02:51 +02:00
Alessio Morale
cedb4f127d
OP-1477 - typos and other fixes from review
2014-09-20 20:58:40 +02:00
Corvus Corax
76f94e13ef
Revert "OP-1483 implement leaky integral on position control loop in pathfollower (vtol only)"
...
This reverts commit 1a0ab29050
.
2014-09-20 13:45:45 +02:00
Corvus Corax
b315c8f106
OP-1483 Added velocity filter to correct EKF's velocity estimate for static velocity offsets
...
(caused for example by sensor disagreement or calibration issues)
2014-09-19 16:34:20 +02:00
Corvus Corax
1a0ab29050
OP-1483 implement leaky integral on position control loop in pathfollower (vtol only)
2014-09-19 15:52:11 +02:00
m_thread
226fe186c4
Merge branch 'skarlsso/OP-1474-PID_Scaling_one_factor' of ssh://git.openpilot.org/OpenPilot into thread/OP-1474_PID_Scaling_Banks
2014-09-19 15:15:52 +02:00
Stefan Karlsson
b3e7a23f4f
OP-1474 Demultiplex TPS settings when pid banks are updated
2014-09-19 15:12:07 +02:00
Stefan Karlsson
9a21eed71e
OP-1474 Make it possible to select axes to scale
2014-09-19 15:11:15 +02:00
m_thread
3b1e67d185
Merge remote-tracking branch 'origin/next' into thread/OP-1474_PID_Scaling_Banks
...
Conflicts:
ground/openpilotgcs/src/plugins/config/stabilization.ui
2014-09-19 09:01:02 +02:00
Stefan Karlsson
f0c47976a5
OP-1474 Fix label compile error
2014-09-19 01:29:04 +02:00
Stefan Karlsson
31c5f1c519
OP-1474 Make it possible to select the combination of P, I, and D to scale
2014-09-19 01:16:49 +02:00
Stefan Karlsson
d3e7ef300f
OP-1474 Use PID banks for the TPS settings
2014-09-19 01:05:08 +02:00
Werner Backes
c90973cb99
Removed the now unused position Ki from VtolPathFollowerSettings UAVObject
2014-09-18 17:01:50 +02:00
Alessio Morale
46ef59f186
OP-1379 - Rebuild and simplify the queuing mechanism
2014-09-17 01:24:01 +02:00
Alessio Morale
eb15939031
OP-1477 - typo in mallocFailed trap
2014-09-17 00:21:32 +02:00
Alessio Morale
2cca5162f7
OP-1477 - a bit of cleanup, some flash bits moved to a separate file
2014-09-16 23:02:53 +02:00
Alessio Morale
2885a20acb
OP-1477 - add watchdog support
2014-09-16 22:51:28 +02:00
Alessio Morale
2f50dbeee5
OP-1477 - Split and cleanup gpssys module
2014-09-16 22:40:55 +02:00
Alessio Morale
cac463e623
OP-1477 - various changes
...
- move to UBX libraries;
- remove configuration (it will be done by Revo);
- set speed at 115200;
- Change sysmod rate;
2014-09-16 22:40:55 +02:00
Alessio Morale
50d4a97c0c
OP-1477 - GPS SYS: for multi device support of HMC5x driver
2014-09-16 22:40:55 +02:00
Alessio Morale
c232985baa
OP-1477 - initial framer + autoconfiguration and some fixes
...
- Added a framing code for gps data to be able to interleave mag sentences.
- Fix fields definition, set structures used to send UBX data as packed to fix issues with alignments,
- change axis orientation to match revo when both boards conector sides are are aligned
2014-09-16 22:40:54 +02:00
Alessio Morale
28f3ca9a17
OP-1477 - Use UBX_DDC driver
2014-09-16 22:40:54 +02:00
Alessio Morale
11522ccbb0
OP-1477 - move to PIOS_I2C
2014-09-16 22:40:54 +02:00
Alessio Morale
36bb58755b
OP-1477 - add support for SPI/MAG
2014-09-16 22:40:54 +02:00
Alessio Morale
1fa2bfddc6
OP-1477 - Add GPS System Module
2014-09-16 22:40:54 +02:00
Alessio Morale
531d80a69c
OP-1476 - Fix other targets for OP_DFU changes
2014-09-16 22:40:54 +02:00
Alessio Morale
b971b713d6
OP-1476 - Fix Bootloader jumpToApp condition and change speed to 57600
2014-09-16 22:40:53 +02:00
Alessio Morale
7e73c59e90
OP-1476 - Fixes for Bootloader
...
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +02:00
Alessio Morale
c44dac2447
OP-1476 - fix bootloader for serial support
2014-09-16 22:40:53 +02:00
Alessio Morale
3eca0fefef
OP-1477 - Change mag GAIN to 1.3
2014-09-16 22:40:53 +02:00
Alessio Morale
250b7fe962
OP-1477 - Fix mag DRDY/GPIO support
2014-09-16 22:40:52 +02:00
Alessio Morale
14862c687d
OP-1477 - Add ubx handling libraries
2014-09-16 22:40:52 +02:00
Alessio Morale
a6fc5c9190
OP-1477 - Fixes for multi device support of HMC5x driver
2014-09-16 22:40:52 +02:00
Alessio Morale
bcb30ecbf3
OP-1477 - enable temp compensation and fix axis orders
2014-09-16 22:40:52 +02:00
Alessio Morale
4890ef3ab0
OP-1477 - Add support for Flash
2014-09-16 22:40:52 +02:00
Alessio Morale
146c1764fd
OP-1477 - UBX_DDC driver implementation
2014-09-16 22:40:52 +02:00
Alessio Morale
f2a0daac5c
OP-1477 - Add pios_ubx_ddc driver to handle i2c comms with UBlox GPS
2014-09-16 22:40:52 +02:00
Alessio Morale
71af403c9d
OP-1477 - some cleanup
2014-09-16 22:40:51 +02:00
Alessio Morale
7e55d6ff41
OP-1477 - add support for SPI/MAG
2014-09-16 22:40:51 +02:00
Alessio Morale
b4f9c7c2b1
OP-1477 - BL fix issue with usart name
2014-09-16 22:40:51 +02:00
Alessio Morale
b3a971e91d
OP-1477 - support for mag
2014-09-16 22:40:51 +02:00
Alessio Morale
c28eb4fbca
OP-1477 - Add SPI Support
2014-09-16 22:40:51 +02:00
Alessio Morale
46424523b0
OP-1477 - Firmware usart Working
2014-09-16 22:40:51 +02:00
Alessio Morale
1970e0a870
OP-1477 - Fix bootloader
2014-09-16 22:40:50 +02:00
Alessio Morale
9b61fc611b
OP-1477 - Add platform support
2014-09-16 22:40:50 +02:00
Alessio Morale
81ae43ac40
OP-1275 - fix Watchdog
2014-09-16 22:40:50 +02:00
Laurent Lalanne
bc9e6b24f9
Merge remote-tracking branch 'origin/laurent/OP-1491_HQuad_mixing_values' into laurent/OP-1222_FW_Wizard
...
Conflicts:
ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg
Conflicts resolved in artwork, same style as FW branch
2014-09-16 18:55:43 +02:00
Alessio Morale
984a7a675c
OP-1275 - add ChangeBaud to PIOS_COM_MSG
2014-09-16 00:42:51 +02:00
Alessio Morale
20273e77aa
OP-1275 - Fix CPU usage due to uncleared irq flags
2014-09-16 00:42:51 +02:00
Alessio Morale
94c39caa50
OP-1275 - Fix PIOS_COM to be used with no PIOS_INCLUDE_FREERTOS defined
2014-09-16 00:42:51 +02:00
Alessio Morale
ffac550601
OP-1275 - Optimize fifo for single char operations
2014-09-16 00:42:51 +02:00
Alessio Morale
0c7f4905da
OP-1275 - Fix PiOS_EXTI
2014-09-16 00:42:51 +02:00
Alessio Morale
de4180f990
OP-1275 - Reenable usart after init in ChangeBaud
2014-09-16 00:42:51 +02:00