1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

438 Commits

Author SHA1 Message Date
Steve Evans
d28831008f OP-1803 Return link quality of zero rather than throw an exception if no receiver if the receiver port is undefined 2015-04-20 21:40:42 +01:00
Steve Evans
b87a1c1fa6 OP-1803 Enable DSM link quality so testers have something to work with 2015-04-19 18:41:04 +01:00
Steve Evans
73aeb5d653 OP-1803 Report link quality for OPLink 2015-04-04 22:02:54 +01:00
Steve Evans
b93d9e178e OP-1803 Max signal quality is 100% 2015-04-04 14:50:08 +01:00
Steve Evans
b7122008c7 OP-1803 Uncrustify 2015-04-03 18:30:36 +01:00
Steve Evans
b5a3ad3708 OP-1803 Use float to avoid rounding error on signal quality 2015-04-03 18:01:04 +01:00
Steve Evans
32b3f0d55d OP-1803 Remove old header reference 2015-04-03 15:45:00 +01:00
Steve Evans
f9f0e1657c OP-1803 Add good frame count option for debug 2015-04-03 15:29:24 +01:00
Steve Evans
2e5ecd2dce OP-1803 S.Bus signal quality monitoring 2015-04-02 21:41:40 +01:00
Steve Evans
a0f180d393 OP-1803 Initial commit 2015-04-02 19:09:58 +01: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
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
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
f3fe45750d OP-1683 - Remove dead code 2015-02-11 22:33:58 +01:00
Alessio Morale
f290d6d89d OP-1685 - Implement OneShot on F1 2015-02-11 22:33: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
Alessio Morale
aa55b1523d uncrustify 2015-02-05 01:42:32 +01:00
Alessio Morale
d0ca48e1c4 OP-1658 - Various fixes for MPU6000 and HMC5x83 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
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
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
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
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
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