1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-12 20:08:48 +01:00
Commit Graph

693 Commits

Author SHA1 Message Date
Philippe Renon
aeddb98ea6 Merged in mindnever/librepilot/LP-475_Fix_PIOS_MPU9250_Mag_Sensitivity (pull request #382)
LP-475 Fix for PIOS_MPU9250_Mag_Sensitivity() function.
2017-01-27 19:56:04 +00:00
Vladimir Zidar
191f92ce91 LP-270 - Updated copyright years 2017-01-23 13:50:22 +01:00
Vladimir Zidar
4bb5bee32b LP-270 - Add baud rate and mode parameters. Store working copy of usart init structure for private use, so we do not revert to original config before every change. Re-enable usart after changing parameters. 2017-01-23 13:39:40 +01:00
Alessio Morale
9750879396 LP-270 - F0 and F4 Implementation 2017-01-23 13:39:39 +01:00
Alessio Morale
6d80b55c60 LP-270 - Implement PIOS_COM_ChangeConfig API (F1) 2017-01-23 13:39:39 +01:00
Jan NIJS
9ed4f644aa LP-477 Describe iBus packet format and add packet type validation check
Also add a compile time protection to make sure we don't compile with bad buffer lengths.
2017-01-20 15:20:42 +01:00
Vladimir Zidar
100d073e95 LP-475 Use signed int for sensor data to avoid data overflow corruption when applying adjustment factor. 2017-01-19 17:07:15 +01:00
Vladimir Zidar
01679ee02b LP-475 This commit fixes multiple errors in SPI transfer handling inside PIOS_MPU9250_Mag_Sensitivity() function. 2017-01-18 21:57:32 +01:00
Philippe Renon
fe9658a27b uncrustify 2017-01-14 16:18:13 +01:00
Philippe Renon
cf1b64966e Merged in alessiomorale/librepilot/lp-443_ekf14_mag_proj_handling (pull request #354)
LP-443 & LP-353 ekf14 and CF+INS
2017-01-09 23:13:43 +01:00
Philippe Renon
246706ac9d Merged in mindnever/librepilot/LP-463-Fix_Incorrect_timer_prescaler (pull request #374)
LP-463 Use correct timer clock for F1 target. All timers get 72M clock regardless of APB domain they live on.
2017-01-09 22:45:31 +01:00
Alessio Morale
93dcc55977 LP-353 - Introduce a Nav alarm that is active when Position estimation is not available 2017-01-07 18:14:29 +01:00
Alessio Morale
2e5f3aa60c LP-437 - Add support for a secondary radio stream and associated AuxCom driver
TODO: find out if there is still free space on current packet and store both streams content
2017-01-06 16:02:28 +01:00
Vladimir Zidar
fef715b3d6 LP-463 Use correct timer clock for F1 target. All timers get 72M clock regardless of APB domain they live on. 2017-01-01 17:17:58 +01:00
Lalanne Laurent
c2cf44f8d8 Merged in mindnever/librepilot/LP-415_pios_servo_Add_functions_to_support_esc_passthrough (pull request #334)
LP-415 pios servo add functions to support esc passthrough
2016-12-28 14:20:28 +01:00
Vladimir Zidar
be03fb2020 LP-415 Added missing AF remap 2016-12-28 13:25:51 +01:00
Vladimir Zidar
282a187357 LP-415 F411 needs check for additional STM32F411xE define 2016-12-28 13:25:50 +01:00
Vladimir Zidar
85df731afc LP-415 Added LP copyright to modified files 2016-12-28 13:25:50 +01:00
Vladimir Zidar
dad4a94036 LP-415 Consolidate F1 & F4 version into single one that lives in pios/common/ 2016-12-28 13:25:50 +01:00
Vladimir Zidar
7e6494c8a8 LP-415 New functions PIOS_Servo_Disable(), PIOS_Servo_Enable() and PIOS_Servo_Config(). Moved timer initialization code to _Enable() function. Removed call to PIOS_TIM_InitChannels(). 2016-12-28 13:25:50 +01:00
Laurent Lalanne
1e920ec67c LP-346 RFM22 tuning: Allow XtalCap value changes without reboot. 2016-12-23 14:39:09 +01:00
Laurent Lalanne
ea377973fc LP-346 RFM22 tuning: Add XtalCap value for fine tuning 2016-12-23 14:39:08 +01:00
Laurent Lalanne
7800f49705 LP-346 RFM22 tuning: Add AFC value to OplinkStatus 2016-12-23 14:39:08 +01:00
Laurent Lalanne
f332d48e9b LP-345 RFM22: Add frequency band selection. 433, 868 and 915Mhz band 2016-12-23 14:38:50 +01:00
Philippe Renon
33188bd78e Merge remote-tracking branch 'upstream/master' into next
# Conflicts:
#	ground/gcs/src/plugins/coreplugin/connectionmanager.cpp
2016-12-13 00:56:32 +01:00
Vladimir Zidar
e603f9f3fe LP-444 Improved I2C alarm handling by monitoring error count changes returned by PIOS_I2C_GetDiagnostics(). 2016-12-05 13:02:36 +01:00
Vladimir Zidar
64bf884f96 LP-391 Changed PIOS_COM_Init buffer len parameters to uint16_t type. Fixed simposix pios_board.c GPSPORT_GPS init incorrectly passing -1 to PIOS_Board_configure_com() which was on some platforms converted to large unsigned value. 2016-11-26 21:51:29 +01:00
Philippe Renon
aef6d65b1f Merged in mindnever/librepilot/LP-413_add_PIOS_COM_RegisterAvailableCallback (pull request #333)
LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function.
2016-10-05 21:45:32 +02:00
Lalanne Laurent
01de16657d Merged in paul_jewell/librepilot/LP-423_fix_HMC5x83_driver_dereferences_null_pointer (pull request #338)
LP-423 - Modified IRQHandler
2016-10-01 19:36:57 +02:00
paul Jewell
21383908a4 LP-424 Corrected copy error - s.,$:rfm22b_id/openlrs_id/g 2016-10-01 15:35:21 +02:00
paul Jewell
d8cbc6684b LP-423 - Modified IRQHandler 2016-09-30 23:24:09 +02:00
Vladimir Zidar
5d8274357d LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function. 2016-09-24 01:10:31 +02:00
Vladimir Zidar
87035d953c LP-412 Allow access to rx & tx callbacks through pios_com device API. 2016-09-24 01:07:01 +02:00
Laurent Lalanne
72aabd30fd LP-407 Pios_Sbus: Set quality to minimum after a failsafe 2016-09-16 19:45:23 +02:00
Lalanne Laurent
f182931c6b Merged in paul_jewell/librepilot/LP-330_fix_copyright_symbol (pull request #313)
Changed (c) to (C) for consistency
2016-09-04 12:44:17 +02:00
Corvus Corax
1af73aad8a fixed length type in pios/posix pios_com.c to size_t (was still uint16_t) 2016-09-02 21:28:23 +02:00
paul Jewell
0517258834 LP-330 Changed (c) to (C) for consistency 2016-08-31 19:47:40 +02:00
Philippe Renon
52a9aa37c8 Merged in mindnever/librepilot/LP-391_fix_Some_CC3D_ports_cause_a_boot_issue_and_re_init_to_defaults (pull request #307)
LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init().
2016-08-30 09:56:53 +02:00
Vladimir Zidar
107aa2170e LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init(). 2016-08-30 02:03:10 +02:00
Vladimir Zidar
b1f7f5e4bf LP-377 Implement handling of USB_CDC_REQ_SET_LINE_CODING control request for F4 and F1 targets. Removes UsbComBridgeSpeed from hwsettings object. Removes GCS combo boxes related to UsbComBridgeSpeed. Fixes few places where UsbComBridgeSpeed was used for DebugConsole speed config. 2016-08-30 01:22:57 +02:00
Philippe Renon
2ccabe27e7 Merged in alessiomorale/librepilot/LP-381_log_buffers (pull request #303)
LP-381 - Adds circular buffer and run writes within a separate callback
2016-08-28 18:47:40 +02:00
Alessio Morale
cba2184caf LP-381 - Adds circular buffer and run writes within a separate callback 2016-08-17 19:57:29 +02:00
Fredrik Arvidsson
226f8c4c3d Merged in f5soh/librepilot/LP-298_Ibus_support_Dronin (pull request #298)
LP-298 IBus support dRonin
2016-08-17 12:40:41 +02:00
Laurent Lalanne
e52d2636f0 LP-298 Use PIOS_IBUS_NUM_INPUTS like other inputs 2016-08-03 19:52:34 +02:00
Laurent Lalanne
5895468f08 LP-298 Port Ibus Input driver from dRonin - Not tested 2016-08-03 19:09:05 +02:00
Alessio Morale
e7f15e31d0 LP-369 - Fix cdc availability condition 2016-07-26 02:15:04 +02:00
Lalanne Laurent
2de896818e Merged in alessiomorale/librepilot/LP-361_notification_improvements (pull request #283)
Lp 361_notification_improvements
2016-07-21 20:05:54 +02:00
Alessio Morale
6b1f4e52be Merged in TheOtherCliff/librepilot/theothercliff/LP-340_AutoTune_fix_some_time_measurement_issues_in_original_code (pull request #282)
LP-340 Autotune fix some time measurement issues in original code
2016-07-21 19:53:33 +02:00
Alessio Morale
fa041ecf05 LP-361 - Don't lose notifications when more than an alarm is active
, fix time between notifications condition, cleanup
2016-07-17 17:13:09 +02:00
Brian Webb
586af77267 LP-190: Fixes an issue with uninitialized OPLink receiver channels. 2016-07-12 17:49:29 -07:00
Brian Webb
a65492b589 LP-190: Removes RFM22B register definitions from pios_rfm22b_priv.h and switches to using pios_rfm22b_regs.h. Alos addresses a few issues brought up in review. 2016-07-12 17:49:28 -07:00
Brian Webb
2e2bb1b20b LP-190: Removed rfm22breceiver UAVO. 2016-07-12 17:49:16 -07:00
Brian Webb
0738c8a78a LP-190: Final testing and bug fixes. 2016-07-12 17:47:16 -07:00
Brian Webb
91ea8966da LP-190: Addes support for OpenLRS receiver protocol to the OPLinkMini. Also updates the OPLink configuration to better support OpenLRS. 2016-07-12 17:47:16 -07:00
Brian Webb
aa21761f4c LP-190: Adds support for OpenLRS protocol to OPLinkMini 2016-07-12 17:47:16 -07:00
Brian Webb
021eb21008 LP-190: Moved openlrsstatus UAVO to OPLinkStatus 2016-07-12 17:46:15 -07:00
Brian Webb
a0279b272f LP-190: Initial checkin that adds OpenLRS receiver support to Revolution and OPLinkMini. 2016-07-12 17:45:33 -07:00
Cliff Geerdes
69f1964b12 LP-340 uncrustify 2016-07-12 14:48:11 -04:00
Cliff Geerdes
f2f8d8e712 LP-340 code changes 2016-07-12 14:48:11 -04:00
Cliff Geerdes
7553eb4f32 LP-340 Quick code with both timing fixes 2016-07-12 14:48:10 -04:00
Alessio Morale
6214c0ea30 Uncrustify 2016-07-03 17:10:46 +02:00
Alessio Morale
c9188fc5a2 Merged in TheOtherCliff/librepilot/theothercliff/LP-76_Port_Autotune_from_dRonin (pull request #198)
Theothercliff/lp 76_port_autotune_from_dronin
2016-07-03 16:09:30 +02:00
Alessio Morale
a2d2e81220 Merged in mindnever/librepilot/LP-342-pios_exti-improvement (pull request #266)
Lp 342 pios_exti improvement
2016-07-03 16:05:03 +02:00
Vladimir Zidar
27cc48b362 LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device. 2016-06-22 01:57:08 +02:00
Vladimir Zidar
4aebc7cc5e LP-342 Added EXTI_Init(DISABLE) to PIOS_EXTI_DeInit. 2016-06-22 00:32:56 +02:00
Vladimir Zidar
fabc3e8d69 LP-342 Simplify pios_exti configuration, allow dynamic configuration and reconfiguration. adds PIOS_EXTI_DeInit() 2016-06-22 00:32:47 +02:00
Cliff Geerdes
4240c8ea5c LP-76 implement new dRonin yaw calculation PR and fix a TL spelling error 2016-06-18 14:08:06 -04:00
Cliff Geerdes
aa06b1793f LP-76 update copyrights 2016-06-18 14:08:05 -04:00
Cliff Geerdes
fd22011bfa LP-76 get ready for PR uncrustify and comments 2016-06-18 14:08:05 -04:00
Cliff Geerdes
2105a49ca9 LP-76 add UAV defaults and remove UAV inits 2016-06-18 14:08:03 -04:00
Philippe Renon
be3be734b5 Merged in f5soh/librepilot/LP-326_16_PPM_Channels_support (pull request #256)
LP-326 16 PPM channels support
2016-06-08 21:59:08 +02:00
Vladimir Zidar
77a28f2066 LP-328 Moved i2c operation PIOS_HMC5x83_ReadMag() from _driver_fetch() to _driver_poll() so that fetch() always get good data 2016-06-02 14:34:38 +02:00
Vladimir Zidar
f27db8b65c LP-328 uncrustified 2016-06-02 12:47:31 +02:00
Vladimir Zidar
10637550d7 LP-328 hmc5x83 learns how to reinitialize after it gets reconnected to the bus 2016-06-02 12:44:45 +02:00
Laurent Lalanne
6f3bcf817e LP-326 Reduce minimal sync pulse lenght to 2700µs 2016-05-31 08:03:15 +02:00
Laurent Lalanne
2138516dfe LP-72 Various typo fixes - Set PPM input as default 2016-05-25 13:51:41 +02:00
Cliff Geerdes
0628949afd LP-72 uncrustify 2016-05-25 13:51:41 +02:00
Cliff Geerdes
fdc8b10ddf LP-72 use TauLabs USB IDs for Sparky2 so users can cross flash LP and TL without SBL. 2016-05-25 13:51:41 +02:00
Vladimir Zidar
2b760f9d39 LP-72 Fix MS5611 driver to allow booting with unpowered i2c devices hanging the bus 2016-05-25 13:51:41 +02:00
Vladimir Zidar
05d6d983ae LP-72 Fix for f2aa171 that broke revonano build - stm32f411 has no TIM8 2016-05-25 13:51:41 +02:00
Vladimir Zidar
1d3d784f8b LP-72 Fixes PPM input on receiver port. Added extra interrupt channel init for TIM1 & TIM8. Removed TIM8_UP_IRQHandler, as there is no such irq in stm32f4 line. 2016-05-25 13:51:40 +02:00
Laurent Lalanne
afb32d3090 LP-72 Uncrustify after rebase 2016-05-25 13:51:40 +02:00
Cliff Geerdes
2e65449dcc LP-72 rename revolution.cpp rename revo defines rename revo comments 2016-05-25 13:51:38 +02:00
Cliff Geerdes
9bb95e3a84 LP-72 initial sparky2 support needs GCS, 9250 orientation, testing 2016-05-25 13:51:34 +02:00
James Duley
5e02fb2da7 simposix don't #define false in c++ 2016-05-20 21:30:53 +01:00
Alessio Morale
5156c0c911 LP-304 - Allow further info to be added to PERF_INIT_COUNTER for future feature support.
This may allow in future to extract the counters id list with grep to be handled by gcs or other custom tools
Proposed usage:
PERF_INIT_COUNTER(counterVariable, id, "MODULE NAME","COUNTER DESCRIPTION","UNIT OF MEASURE");
i.e.:
PERF_INIT_COUNTER(counterExecutionTime, 0xAC700001, "ACTUATOR", "Actuator update execution time", "uS");
2016-05-03 00:07:35 +02:00
Alessio Morale
1b254e4182 LP-304 - Prevent errors when dealing with variables used only for instrumentation 2016-05-03 00:07:10 +02:00
Alessio Morale
bf639b486d LP-304 - declare counters as static 2016-05-03 00:06:24 +02:00
Laurent Lalanne
c9fff7e16e LP-151 OPLink: Allow custom Device ID or auto generated. 2016-05-01 21:56:50 +02:00
Vladimir Zidar
30e7e1f4e6 LP-281 use correct operator 2016-04-07 01:00:42 +02:00
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