1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
Commit Graph

229 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
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
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
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
73a7dc00d4 OP-1658 - MS5611 sensor framework model support 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
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
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
4c27a78072 OP-1674 Allow channel 250 2015-01-12 12:57:01 +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
c21d3d8a67 uncrustification! 2014-11-08 12:59:16 +01:00
Alex Beck
e2b38d0d7d Yaffs or dosfs now conditional linkage for simposix yaffs testing 2014-10-28 08:48:38 +11:00
abeck70
942945850b Merge branch 'next' into abeck/OP_1503v3-yaffs 2014-10-23 21:25:54 +11: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
abeck70
de68e0179f First round review comments 2014-10-14 17:17:59 +11: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
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
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
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
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
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
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