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

350 Commits

Author SHA1 Message Date
Vladimir Zidar
8c1b008da1 LP-268 Uncrustified. 2016-03-28 16:03:16 +02:00
Vladimir Zidar
4159449021 LP-268 This adds TX and RX data rates to OPLinkStatus UAVO and fixes small issue in rfm22b driver with rx_seq not being updated. 2016-03-28 16:02:28 +02:00
Laurent Lalanne
593cf7bc61 Typo PIOS_RFM22B_GetPairStats() 2016-03-12 17:56:05 +01:00
Alessio Morale
089c224514 Merged in alessiomorale/librepilot/amorale/LP-96_cpu_idle_counter (pull request #37)
LP-96 Updated CPU idle counter / LP-97 unify CopterControl and Revolution init process
2016-02-19 20:19:05 +01:00
Lalanne Laurent
48a76dd139 Merged in TheOtherCliff/librepilot/theothercliff/LP-83_Bricking_of_Revo_and_Sparky2 (pull request #142)
LP-83 Unbrick Revo and Sparky2
2016-02-16 19:13:57 +01:00
Fredrik Arvidsson
9e53b35fdc LP-104 LP-196 Signal quality implementation for Graupner HoTT. Uncrustification of flight code. 2016-01-25 00:42:54 +01:00
Fredrik Arvidsson
ffa671da78 LP-196 Adding signal quality calculation to Ex.Bus receiver module. 2016-01-25 00:23:31 +01:00
Fredrik Arvidsson
e17d809120 Merge branch 'next' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-24 21:11:35 +01:00
Laurent Lalanne
a0d7af7f55 LP-215 Set correct failsafe values if PPM stream fails. 2016-01-24 16:15:15 +01:00
Laurent Lalanne
db83d1860e LP-209 Update Rssi and LinkQuality values - Set Connected/Disconnected state in both sides - Add checkTimeOut() 2016-01-24 16:15:14 +01:00
Fredrik Arvidsson
0d660d33ad LP-104 LP-196 Changes to address review comments and then uncrustification. 2016-01-16 12:19:34 +01:00
Fredrik Arvidsson
c06fb0249f LP-104 LP-196 Uncrustify and some other formatting issues fixed. 2016-01-10 10:12:54 +01:00
Fredrik Arvidsson
d32cc0e7fb Merge branch 'thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-09 19:18:48 +01:00
Fredrik Arvidsson
02c981388a Merge branch 'thread/LP-196_Jeti_Ex_Bus_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09
# Conflicts:
#	flight/targets/boards/coptercontrol/board_hw_defs.c
#	flight/targets/boards/coptercontrol/firmware/pios_board.c
#	flight/targets/boards/revolution/board_hw_defs.c
#	flight/targets/boards/revolution/firmware/inc/pios_config.h
#	flight/targets/boards/revolution/firmware/pios_board.c
#	flight/targets/boards/revonano/firmware/inc/pios_config.h
#	flight/targets/boards/revonano/firmware/pios_board.c
#	shared/uavobjectdefinition/hwsettings.xml
#	shared/uavobjectdefinition/manualcontrolsettings.xml
#	shared/uavobjectdefinition/receiveractivity.xml
2016-01-09 16:59:24 +01:00
Fredrik Arvidsson
c8edd023a2 LP-196 Cleaned up some code. 2016-01-06 17:16:02 +01:00
Fredrik Arvidsson
534ff1ff3c LP-196 Added Auto-Baud-Rate code. Will toggle between high (125 KBaud) and low (250 KBaud) baud rate every EXBUS_BAUD_RATE_LIMIT (set to 64 right now).
Cleaned out some unused variables.
2016-01-05 14:03:15 +01:00
unknown
d00c169dbb LP-196 Fixed bug in Ex.Bus decoder and changed baud rate for UART to 125 kbaud. 2016-01-03 18:27:14 +01:00
Fredrik Arvidsson
3e920bc5bc LP-196 Added driver for Jeti EX.Bus protocol. Added support for CopterControl target on Main and Flexi port. This is WIP and not tested yet. 2015-12-26 12:29:04 +01:00
Fredrik Arvidsson
e6d4638201 LP-104 Adds support for Graupner HoTT SUMD/SUMH serial protocol used by receivers on Main and Flexi port.
Still work in progress. Only supports CopterControl target and crashes on input :(
2015-12-20 11:08:15 +01:00
Cliff Geerdes
c65702b1d3 LP-83 fix two known bricking scenarios 2015-12-16 01:46:59 -05:00
Alessio Morale
ff335072d0 Merged in paul_jewell/librepilot/LP-119_fix_pios_msheap (pull request #58)
Changed incorrect #if to #ifdef in pios_msheap.c
2015-12-13 19:11:46 +01:00
Cliff Geerdes
e0a805518f LP-73 uncrustify 2015-10-25 23:59:52 -04:00
Cliff Geerdes
5cb042e703 LP-73 fw_gpsplatinum build 2015-10-24 14:57:12 -04:00
Cliff Geerdes
afc96267d3 LP-73 use simple timed DataAvailable 2015-10-24 12:23:12 -04:00
Cliff Geerdes
7de55812dd LP-73 changes for pull request comments 2015-10-24 12:09:22 -04:00
Cliff Geerdes
b086d1a021 LP-73 ExtMag fix some more watchdog issues 2015-10-24 12:09:20 -04:00
Cliff Geerdes
d4b0d106f8 LP-73 External Mags on I2C initial coding 2015-10-24 12:09:19 -04:00
Paul Jewell
5517ff322e Changed incorrect #if to #ifdef in pios_msheap.c 2015-09-13 12:39:03 +01:00
Alessio Morale
3eaf1ef3c3 LP-96 - Implement CPU idle counters and calibration functions 2015-09-03 20:05:25 +02:00
Alessio Morale
a5482a5c2b LP-108 - Fix Temp calculation, get rid of floatin point operations within ISR 2015-09-01 23:32:26 +02:00
Stefan Karlsson
d57e838ab1 LP-37 Fix alignment bug in in pvPortMallocGeneric
The allocation size was incremented by 'alignment' bytes when
'xWantedSize' was 'alignment' aligned, but not 'portBYTE_ALIGNMENT'
aligned.
2015-07-17 17:04:18 +02:00
Alessio Morale
508d55c9a6 REVONANO - Fix MPU9k Reset 2015-06-01 18:54:14 +02:00
Werner Backes
25b5278b05 Corrected mpu9250 magnetometer axis orientation. 2015-05-18 21:30:04 +02:00
Alessio Morale
15a5022c7e Raise callbackscheduler stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
855361488a REVONANO - emulate bigger sector size for erase operations 2015-05-18 21:30:02 +02:00
Alessio Morale
5ca6e43070 REVONANO - Fix erase settings 2015-05-18 21:30:02 +02:00
Alessio Morale
895540974a REVONANO - Disable Sensitivity Adjustment values. 2015-05-18 21:30:01 +02:00
Alessio Morale
43f04a340b OP-1658 - MPU9250 support for sensor "reset", fix temperature measurement 2015-05-18 21:30:01 +02:00
Alessio Morale
174340d8bf OP-1658 - Various fixes for MPU9250 2015-05-18 21:30:01 +02:00
Alessio Morale
928f1385ec OP-1658 - MPU9250 sensor device model implementation 2015-05-18 21:30:00 +02:00
Laurent Lalanne
f82a584eb2 REVONANO mpu9250 driver fix for Mag orientation 2015-05-18 21:29:57 +02:00
Stefan Karlsson
efb6855f6f REVONANO - Various temp fixes debug code to get nano to read from the flash. Code has been added to make the execution of systemTask wait until initTask has completed.
Conflicts:
	flight/pios/common/pios_flashfs_objlist.c
2015-05-18 21:29:56 +02:00
Alessio Morale
288c9019d1 uncrustify 2015-05-18 21:29:55 +02:00
Alessio Morale
51094ba95d REVONANO - Minor cleanup of MPU9250 driver 2015-05-18 21:29:55 +02:00
Alessio Morale
d2dae79c82 REVONANO - update SPL to 1.4.0 that adds support for f411 2015-05-18 21:29:55 +02:00
Mathieu Rondonneau
66b06e4c9a REVONANO - Add MPU9250 support 2015-05-18 21:29:42 +02:00
Alessio Morale
fb11b312c5 REVONANO - Flash fs fixes 2015-05-18 21:26:40 +02:00
Alessio Morale
5c13551a1a REVONANO - Add support for eeprom and objlist fs 2015-05-18 18:55:25 +02:00
Alessio Morale
8b11861c63 REVONANO - Readd old objlist FS to be used with EEPROM 2015-05-18 18:55:25 +02:00
Alessio Morale
1e1195ec05 REVONANO - Add Eeprom support 2015-05-18 18:55:25 +02:00
Alessio Morale
76ad80fdf5 Revert "objlist: remove now unused objlist flash filesystem"
Bring them back to the right path
This reverts commit d89a9b1b6c.
2015-05-18 18:54:52 +02:00
Alessio Morale
375f23ff0c REVONANO - Make debuglog, FlashFS and other bits optional 2015-05-18 18:54:50 +02:00
abeck70
2c3fcd64d1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into laurent/OP-1869_Analog_airspeed_scaling 2015-05-14 20:21:40 +10:00
Laurent Lalanne
8e8d08c4a1 OP-1869 "scale" lower case 2015-05-13 21:55:18 +02:00
Steve Evans
1771d347bb Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge 2015-05-13 20:36:06 +01:00
Steve Evans
fd00cd8210 Merge branch 'next' into steve/OP-1803_s.bus_dropped_frames 2015-05-13 20:29:54 +01:00
Laurent Lalanne
11e83bd0e8 OP-1869 Analog Airspeed sensor : Allow scale (voltage divider), change alpha/LowPassFilter behavior 2015-05-01 13:00:36 +02:00
m_thread
8d4fe80388 OP-1837 Uncrustify 2015-04-26 21:08:54 +02:00
m_thread
b0b1a42aec OP-1837 This change adds support for the Multiplex SRXL v1 and v2 protocols.
Protocol version is autodetected and 12 or 16 channels are supported.
SRXL is available on Flexiport of Revolution board.
2015-04-26 15:04:52 +02:00
Steve Evans
7445add280 OP-1849 Hooks all in place for CDC line state changes to drive port GPIO for DTR 2015-04-26 03:05:47 +01:00
Steve Evans
79339d677f Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_update_minimosd_via_usb 2015-04-21 07:44:50 +01:00
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
Alessio Morale
ab36dcbdee Merge remote-tracking branch 'origin/rel-15.02.02' into next 2015-04-20 14:54:07 +02:00
Mathieu Rondonneau
9cb0926009 OP-1804: Add realloc. 2015-04-16 22:52:09 -07: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
Alessio Morale
ee19ff893e OP-1820 - Add mag orientation parameter in hmc configuration 2015-04-03 20:40:52 +02: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
006fdf9072 Uncrustify 2015-03-22 20:26:36 +01:00
Alessio Morale
4962936c76 Merge remote-tracking branch 'origin/cyr/OP-1691_RFM22B_reset_cpuhog' into next 2015-03-22 20:24:37 +01:00
Alessio Morale
ddd72324c3 OP-1793 - Use a constant for running average smoothing factor 2015-03-20 22:11:29 +01:00
Alessio Morale
bcffde5465 OP-1793 - Filter temperature to reduce the noise injected into pressure measuremenent. 2015-03-18 05:29:39 +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
Erik Gustavsson
65c24e6315 OP-1691 Release SPI bus before sleeping 2015-02-17 18:08:47 +01:00
Erik Gustavsson
dd5abeca9b OP-1691 Review fix: ensure rounding for vTaskDelay 2015-02-08 11:08:10 +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