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

6383 Commits

Author SHA1 Message Date
Vladimir Zidar
a2d8d795d6 Merged in mindnever/librepilot/LP-512-STM32F30x_StdPeriph_And_STM32_USB-FS-Device_Driver (pull request #427)
LP-512 STM32F30x StdPeriph And STM32 USB FS Device Driver

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
2017-05-25 13:08:19 +00:00
Brian Webb
704b1f073a Merged in webbbn/librepilot/LP-511-port-uavofrskysensorhubbridge (pull request #422)
Frsky sensor hub telemetry

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-05-25 12:11:21 +00:00
Vladimir Zidar
b87c8f4e3a LP-512 F3 USB-FS Device: Add support for new usb peripheral in STM32F303xD and STM32F303xE 2017-05-25 13:45:48 +02:00
Vladimir Zidar
f1bfc71727 LP-512 StdPeriph driver: add __attribute__((unused)) where required. 2017-05-25 13:45:03 +02:00
Vladimir Zidar
659b7d0733 LP-512 STM's standard libraries for F30x (CMSIS, StdPeriph and USB Device) 2017-05-25 13:39:28 +02:00
Vladimir Zidar
fc6f426e2c LP-519 F1: Manage GPIO_Mode from pios_servo.c to allow universal timer pin configuration with TIM_SERVO_CHANNEL_CONFIG() macro. 2017-05-18 12:42:33 +02:00
Vladimir Zidar
8edd7c1d7c LP-519 F1: revert pios_sys.c clock management. Due to older (than f3 & f4) gpio architecture, we should not allow clocks for multiple peripherals with alternate functions routed to same io pin. 2017-05-18 12:41:31 +02:00
Brian Webb
ff2504c61f Adds a port of the Tau Labs/dRonin FrSKY Sensor Hub module. 2017-05-17 19:45:40 -07:00
Philippe Renon
0a494a034f Merged in filnet/librepilot/LP-516_gps_jumptoapp_hangs_board (pull request #421)
LP-516 gps jumptoapp hangs board

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-05-15 20:18:18 +00:00
Vladimir Zidar
1a28929206 Merged in mindnever/librepilot/LP-480_pios_board_com_port_setup_refactoring (pull request #418)
LP-480 pios board com port setup refactoring

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-05-15 18:59:06 +00:00
Philippe Renon
4e3f480304 LP-516 gps: bump bootloader version (from 1 to 2) 2017-05-03 09:05:28 +02:00
Philippe Renon
a116bd2313 LP-516 gps: issuing a JumpToApp in bootloader mode will not hang board anymore
ssp_dfu guard variable was preventing any user triggered JumpToApp to be fully completed
2017-05-03 09:05:11 +02:00
Vladimir Zidar
792746f775 LP-480 DSM: do not fail to initialize driver for ports without bind capability. 2017-04-27 16:27:53 +02:00
Vladimir Zidar
ce3cba9d40 LP-479 Set lowest acceptable dshot rate to 150khz to avoid possible division by zero and unreasonably slow rates. 2017-04-26 16:57:38 +02:00
Vladimir Zidar
58e70c8849 LP-480 reverted irelevant .xcodeproj file 2017-04-25 18:40:54 +02:00
Vladimir Zidar
50fce728f8 LP-479 Addressed PR comments 2017-04-25 14:10:08 +02:00
Vladimir Zidar
3b39f1b4ce LP-479 fix simposix firmware build 2017-04-25 14:10:08 +02:00
Vladimir Zidar
1ebfb701f6 LP-479 Initial DShot implementation, F4 & F1 2017-04-25 14:10:07 +02:00
Vladimir Zidar
01f5baaed2 LP-480 Removed PIOS_BOARD_USART_Ioctl() and moved inverter handling to pios_usart directly. Handling is now conditionally built in based on PIOS_USART_INVERTER_PORT define. 2017-04-25 13:11:37 +02:00
Vladimir Zidar
3d876d7035 LP-480 Removed RadioAuxStream function from PIOS_BOARD_IO_Configure_RFM22B(), added another function to configure radioaux from hwsettings (revo & sparky2 only). 2017-04-24 16:10:18 +02:00
Vladimir Zidar
bb68ed2c5a LP-480 RevoNano USART2 sbus baud rate workaround 2017-04-24 13:04:23 +02:00
Vladimir Zidar
05ee4b8dac LP-480 Move PIOS_COM_SetHalfDuplex() functionality to IOCTL. Remove RX/TX mode and change parameter order for PIOS_COM_ChangeConfig() and com driver set_config to match the databits/parity/stopbits scheme (like for example 8N1). 2017-04-24 13:04:23 +02:00
Vladimir Zidar
86022e2def LP-480 removed unused PIOS_BOARD_IO_Configure_WS2811() and PIOS_BOARD_IO_Configure_ADC() from pios_board_io.h 2017-04-24 13:04:22 +02:00
Vladimir Zidar
9d01cbe4d4 LP-480 Comments out PIOS_INCLUDE_USART and PIOS_INCLUDE_PWM from simposix pios_config.h to allow simposix fw build. 2017-04-24 13:04:22 +02:00
Vladimir Zidar
97210850c3 LP-480 add missing #include 2017-04-24 13:04:22 +02:00
Vladimir Zidar
280e771ded LP-480 Make PIOS_BOARD_IO_USB_[VCP|HID]_Function enums based on HWSETTINGS_USB_[HID|VCP]PORT values to allow simple type casting. 2017-04-24 13:04:22 +02:00
Vladimir Zidar
1548312823 LP-480 CopterControl will expect ADC_Init() only if board revision has analog gyro, so be prepared to get NULL from PIOS_BOARD_HW_DEFS_GetAdcCfg() 2017-04-24 13:04:21 +02:00
Vladimir Zidar
83326eaca3 LP-480 all targets build nicely. 2017-04-24 13:04:03 +02:00
Vladimir Zidar
a6f7cc6cdf LP-480 gpsplatinum board_hw_defs cleanup 2017-04-24 13:03:11 +02:00
Vladimir Zidar
16020c1839 LP-480 GPSplatinum pios_usart fixes. Bootloader now fits again. 2017-04-24 13:03:11 +02:00
Vladimir Zidar
9eb1f3b5e5 LP-480 Moved sensors initialization to pios_board_sensors.c 2017-04-24 13:03:07 +02:00
Vladimir Zidar
c9f6ba55a0 LP-480 USB config cleanup. Coptercontrol & Revo tested. Booted. Usb functional. 2017-04-24 13:01:44 +02:00
Vladimir Zidar
5cebebe33b LP-480 More work in progress. 2017-04-24 13:01:41 +02:00
Vladimir Zidar
ddc4f3d855 LP-480 coptercontrol build ok 2017-04-24 12:55:10 +02:00
Vladimir Zidar
c0adcb904b LP-480 build discoveryf4bare 2017-04-24 12:55:09 +02:00
Vladimir Zidar
dd49ef0166 LP-480 work in progress: revo, nano & sparky2 targets ok. 2017-04-24 12:55:06 +02:00
Alessio Morale
54a81fdcf1 Merge remote-tracking branch 'webbbn/LP-499-enhanced-oplink-bridging' into next 2017-04-22 22:25:49 +02:00
Brian Webb
a22809f52e Merged in webbbn/librepilot/LP-506-remove-pair-stats-from-rfm22b-cod (pull request #414)
LP-506 Removes pair stats from oplink code.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-04-22 17:36:05 +00:00
Brian Webb
027e021378 Merged in webbbn/librepilot/LP-507-convert-all-times-in-rfm22b-drive (pull request #415)
LP-507 Converts all tick times in the rfm22b driver to ms.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-04-22 17:35:40 +00:00
Brian Webb
dc5eef0cb5 LP-499 Adds support for bridging either radio primary, radio auxilary, and/or VCP to any of the output ports (main, flexi, VCP, HID). Also adds the ability to configure the com speed of the UARTs independent of the air data rate. 2017-04-22 09:36:04 -07:00
Brian Webb
ece26d20b1 LP-506 Removes pair stats from oplink code. 2017-04-22 09:31:32 -07:00
Brian Webb
5dff540d07 LP-507 Converts all tick times in the rfm22b driver to ms. 2017-04-22 09:26:32 -07:00
Laurent Lalanne
37d1a84945 LP-504 Set speed unit to cm/s 2017-04-08 10:19:27 +02:00
Lalanne Laurent
524cba9279 Merged in f5soh/librepilot/LP-488_autotune_altitudeVario (pull request #395)
LP-488 Add AltitudeVario to Autotune

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Mateusz Kaduk <mateusz.kaduk@gmail.com>
2017-03-30 18:53:05 +00:00
Eric Price
faf51bb13b Merged in corvusvcorax/librepilot/LP-500_HoTT_Telemetry_Bridge (pull request #409)
LP-500 HoTT Telemetry Bridge

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-03-30 18:02:29 +00:00
Vladimir Zidar
f0457e654a Merged in mindnever/librepilot/LP-495_USB_CDC_ep_status_nak_fix_F4 (pull request #403)
LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1)

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
2017-03-30 18:02:16 +00:00
Vladimir Zidar
d0030efeb0 LP-495 PR comments and uncrustify 2017-03-28 22:29:02 +02:00
Eric Price
cae5668e64 LP-500 Allow HoTT Telemetry on all USARTS (Rcvr, Flexi and Main) (trivial) 2017-03-28 08:25:34 +02:00
Eric Price
c5ea323770 LP-500 fixed comment typos found in PR/review 2017-03-28 07:58:50 +02:00
Eric Price
545f1c863b LP-500 HoTT Bridge Module ported from TauLabs 2017-03-24 07:56:19 +01:00
Corvus Corax
02b5f26a72 LP-500 HoTT Telemetry added device definitions 2017-03-24 07:54:27 +01:00
Corvus Corax
faf894c530 LP-500 Added UAVObject for HoTT bridge 2017-03-24 07:54:21 +01:00
Corvus Corax
2977ec1382 LP-500 HoTT bridge module initial create 2017-03-24 07:54:01 +01:00
Philippe Renon
a14469e68b Merged in filnet/librepilot/LP-486_disable_gpsplatinum_compilation (pull request #394)
LP-486 temporarily disable compilation of gpsplatinum bootloader

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Harold Hankins <hwh@hjns.net>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-03-23 19:45:58 +00:00
Pashalis Padeleris
67a9aa35ef Merged in padeler/librepilot/LP-483-python-uavtalk (pull request #389)
LP-483 python uavtalk scripts and examples

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Pashalis Padeleris <padeler@gmail.com>
2017-03-23 19:44:56 +00:00
Paul Jewell
7428ab59f9 Merged in paul_jewell/librepilot/LP-289_pidcontrol_ne (pull request #362)
LP-289 pidcontrol ne

Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Paul Jewell <teulupaul@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-03-21 21:49:51 +00:00
Vladimir Zidar
a1e84d5483 Merged in mindnever/librepilot/LP-484-refactoring_oplink_and_openlrs_rcvr_ppm_callbacks (pull request #392)
LP-484 refactoring oplink and openlrs rcvr ppm callbacks

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-03-21 21:41:25 +00:00
Alessio Morale
dc0bd7967d Merged in alessiomorale/librepilot/LP-448_autodetect_count (pull request #391)
LP-448 - stop autodetecting the number of cells once the board is armed and after a minute from power on.

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Harold Hankins <hwh@hjns.net>
2017-03-21 21:29:18 +00:00
Vladimir Zidar
1203fa9e66 LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1) 2017-03-15 16:33:52 +01:00
paul Jewell
c056e73b93 LP-289 Removed orphaned doxygen addtogroup directives 2017-03-09 20:14:07 +01:00
paul Jewell
dcb3d760db LP-289 Updated copyright notices 2017-03-09 19:43:24 +01:00
Eric Price
fb5f9034ea LP-289 prevent initialization with non-zero pid->I accumulator (dangerous if kI is low) 2017-03-09 19:43:24 +01:00
paul Jewell
ebc4b16d9a LP-289 Clean up comments and uncrustify 2017-03-09 19:43:24 +01:00
paul Jewell
143b5e7ab6 LP-289 Small change to comment 2017-03-09 19:43:24 +01:00
paul Jewell
a19bd40259 LP-289 cleaned up PIDControlNE::UpdateParameters() 2017-03-09 19:43:23 +01:00
paul Jewell
c723a06e93 LP-289 added comments and fixed one typo 2017-03-09 19:43:23 +01:00
paul Jewell
edd3b8689b LP-289 Further clean up of PIDControlDown::UpdateParameters() 2017-03-09 19:43:23 +01:00
paul Jewell
814a882a1d LP-289 Manage kp=0 in PIDControlDown::UpdateParameters() 2017-03-09 19:43:23 +01:00
Eric Price
e9a0e3ad69 LP-490 cosmetic code cleanup 2017-03-07 12:12:18 +01:00
Laurent Lalanne
40e6b3c39f LP-488 Change ThrustControl name 2017-03-03 01:46:10 +01:00
Eric Price
2124393d5f LP-490 EKF maps magnetometer into horizontal plane based on known HomeLocation.Be value, to not distort Roll+Pitch estimate from mags 2017-03-02 19:01:02 +01:00
Eric Price
23e50ae5f8 LP-490 re-introduce correct mag handling (scaling to unit vector) in insgps13state 2017-03-02 19:00:42 +01:00
Eric Price
e62cf039fb LP-490 move back to insgps13state 2017-03-02 18:59:48 +01:00
Eric Price
3b65559904 LP-443 bugfixes in insgps14state - prevent NaN propagation from bug in magnetometer handling, fix missing dimension in array 2017-03-02 09:51:27 +01:00
Eric Price
74bd1589e8 LP-443 modified insgps14state to use spare matrix optimization (similar to insgps13state) as opposed to precompiled prediction equation code 2017-03-01 19:51:40 +01:00
Laurent Lalanne
e7eeba8475 LP-489 Round the smoothQuickValue to 0 2017-03-01 17:12:23 +01:00
Laurent Lalanne
7207e95447 LP-489 Apply SmoothQuickSource changes 2017-03-01 17:12:19 +01:00
Laurent Lalanne
f73dc05029 LP-488 Add AltitudeVario to Autotune 2017-03-01 12:50:56 +01:00
Philippe Renon
60525a63da LP-486 temporarily disable compilation of gpsplatinum bootloader
will be reverted once this firmware compiles again
2017-02-26 15:12:52 +01:00
Alessio Morale
99d54668be LP-446 - Configurable debounce timer 2017-02-26 15:12:49 +01:00
Alessio Morale
9def29d927 LP-446 - Add LiHV 2017-02-26 15:12:46 +01:00
Alessio Morale
dbbc0f0ed0 LP-446 - fixes from review 2017-02-26 15:12:44 +01:00
Alessio Morale
45eb52fcd8 LP-446 - Implement battery alarm failsafe 2017-02-26 15:12:39 +01:00
Alessio Morale
7a7b5c6f68 LP-446 - Fix threshold names for FlightBatterySettings 2017-02-26 15:12:37 +01:00
Vladimir Zidar
95be5b1f0b LP-484 Addressed PR review issues. 2017-02-21 19:54:18 +01:00
Vladimir Zidar
d49394f8fb LP-484 Set correct servo out bank mode (PWM). Enable TIM1_UP_IRQ to fix PPM input @main port for oplinkmini target. Move ComUsbBridge to OPTMODULES for oplinkmini target. 2017-02-21 16:44:29 +01:00
Vladimir Zidar
45d1eb7493 LP-484 This change removes custom PIOS_OpenLRS_Rcvr_UpdateChannels() api in favor of PIOS_OpenLRS_RegisterPPMCallback() to be in line with other receiver modules. Furthermore, this commit moves the openlrs/oplink ppm callback from pios_board.c into *rcvr* module itself. 2017-02-21 16:44:20 +01:00
padeler
8c0f29a4ea LP-483 Fixed typo in header comments 2017-02-21 01:45:39 +02:00
Alessio Morale
0e078cdd5e LP-448 - stop autodetecting the number of cells once the board is armed and after a minute from power on.
This prevent the number of autodetected cells to change if the battery is discharged and the board is disarmed/rearmed.
The timer prevent the autodetected cells to change if the the battery discharges on the ground.
2017-02-20 23:07:58 +01:00
Alessio Morale
556c2e9e99 Merged in alessiomorale/librepilot/lp-446_battery_failsafe (pull request #355)
LP-446 Battery failsafe

Approved-by: Lalanne Laurent
Approved-by: Philippe Renon
Approved-by: Harold Hankins
Approved-by: Alessio Morale
2017-02-20 20:39:51 +00:00
Alessio Morale
d5768f87c7 LP-446 - Configurable debounce timer 2017-02-20 21:28:03 +01:00
padeler
0ff0fe6532 LP-483 sets author to librepilot in all python files 2017-02-17 20:37:47 +02:00
padeler
116ec93332 LP-483 Moved python module outside ground. Renamed to librepilot
Protocol bugs fixed in the metadata object packing
Metadata fix for the connectionmanager. Connection manager keeps connection
alive by sending an object periodically. Example scripts updated.
2017-02-16 02:52:24 +02:00
padeler
7038aacdfe LP-483 cherry-pick pyuavtalk code from amorales fork 2017-02-16 02:48:37 +02:00
Lalanne Laurent
758af312b5 Merged in filnet/librepilot/LP-402_invalid_value_for_running (pull request #381)
LP-402 invalid value for running
2017-01-27 20:21:12 +00:00
Philippe Renon
20454c53a0 Merged in mindnever/librepilot/LP-270-Implement_a_PIOS_COM_ChangeConfig (pull request #386)
LP-270 implement a PIOS_COM_ChangeConfig API
2017-01-27 19:56:38 +00:00
Philippe Renon
ae74c7f3f0 Merged in f5soh/librepilot/LP-478_Wizard_stick_do_not_move (pull request #384)
LP-478 TX Wizard issues
2017-01-27 19:56:31 +00:00
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
Laurent Lalanne
fa34dcda67 LP-440 Remove - Add Comments 2017-01-22 15:05:19 +01:00
Laurent Lalanne
33b16be19c LP-440 Fix ReceiverActivity disabled while armed 2017-01-22 12:17:56 +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
Jan NIJS
07dd0df102 LP-477 Add "iBus RX on receiver port" support for revo(clone) boards. 2017-01-20 15:20:04 +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
02d7d04932 LP-402 systemmod: remove commented out cruft 2017-01-16 09:04:38 +01:00
Philippe Renon
1c222bdf09 LP-402 remove unused taskinfo and callbackinfo includes 2017-01-16 09:04:37 +01:00
Philippe Renon
de837a02e8 LP-402 systemmod: properly init task and callback info variables
avoids random data for unused optional callbacks
2017-01-16 09:04:33 +01:00
Philippe Renon
a0a2f30788 Merged in f5soh/librepilot/LP-454_Boat (pull request #369)
LP-454 boat
2017-01-14 17:52:06 +01:00
Laurent Lalanne
1bff0f479c LP-454 Add boat and differential boat to the ground tab 2017-01-14 17:47:12 +01:00
Philippe Renon
fe9658a27b uncrustify 2017-01-14 16:18:13 +01:00
Alessio Morale
44365cf3e9 LP-446 - Add LiHV 2017-01-09 23:48:23 +01:00
Alessio Morale
d59054d8a6 LP-446 - fixes from review 2017-01-09 23:48:22 +01:00
Alessio Morale
508c6dd763 LP-446 - Implement battery alarm failsafe 2017-01-09 23:41:23 +01:00
Alessio Morale
0a3b3dd82b LP-446 - Fix threshold names for FlightBatterySettings 2017-01-09 23:41:23 +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
Philippe Renon
02d4d47139 Merged in f5soh/librepilot/LP-462_MSP_Dterm_zeroed (pull request #373)
LP-462 MWOSD - MSP: Handle Dterm scale
2017-01-09 22:45:20 +01:00
Philippe Renon
88784276f0 Merged in f5soh/librepilot/LP-428_Switch_Stick_threshold (pull request #370)
LP-428 Switch and stick threshold
2017-01-09 22:45:11 +01:00
Alessio Morale
c5dec236f7 LP-443 - disable Nav Alarm for non Nav algorithms 2017-01-07 18:14:29 +01:00
Alessio Morale
3eb4b45f04 LP-443 - Fixes from review. 2017-01-07 18:14:29 +01:00
Alessio Morale
79c600b151 LP-443 - apply to all other boards as well 2017-01-07 18:14:29 +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
8df3758104 LP-353 - Implement a specific Nav only option in ekf filter, add a debug NavYaw field for testing pourpose(it may be used for integrity check as well) 2017-01-07 18:14:29 +01:00
Alessio Morale
08b7153624 LP-353 - Set GPSNAVIGATIONINS13CF as nav enabled fusion algorithm 2017-01-07 18:14:29 +01:00
Alessio Morale
8e484dd862 LP-443 - EKF14 - Apply "2D" mag handling for EKF13 as well 2017-01-07 18:14:29 +01:00
Alessio Morale
ff5bd26e1a LP-353 - Allow INS For nav and CF for attitude 2017-01-07 18:14:29 +01:00
Alessio Morale
5d8f4b6cde LP-443 - Fixes to make ins13 and 14 interchangeable 2017-01-07 18:14:29 +01:00
Alessio Morale
4f045bc73a LP-443 - Handle arming 2017-01-07 18:14:29 +01:00
Alessio Morale
ce87ce105e LP-443 - Add INS14 to Sparky/Revo 2017-01-07 18:14:28 +01:00
Alessio Morale
e39a5a92bc LP-437 - Support for Sparky2 2017-01-06 16:02:28 +01:00
Alessio Morale
14080021b2 LP-437 - Support for Revolution 2017-01-06 16:02:28 +01:00
Alessio Morale
0af373a8c7 LP-437 - Support for OPLinkMini 2017-01-06 16:02:28 +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
Laurent Lalanne
f67c092d6a LP-462 MWOSD - MSP: Handle Dterm scale 2017-01-02 13:04:04 +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
Alessio Morale
06dd94636b Merged in f5soh/librepilot/LP-345_RFM22_band_rebased (pull request #364)
LP-345 Rfm22 band
2016-12-28 13:54:29 +01:00
Lalanne Laurent
9ad736d7c8 Merged in Oblivium/librepilot/LP-452_Implement_and_verify_Galileo_support_for_ublox_8 (pull request #368)
LP-452 Support the Galileo GNSS on U-blox NEO M8N receiver.
2016-12-28 13:35:36 +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
2e854b263f LP-428 Remove unused define 2016-12-23 15:34:47 +01:00
Laurent Lalanne
ad0d18cfef LP-428 Handle different threshold levels for sticks and switches 2016-12-23 15:22:14 +01:00
Laurent Lalanne
2872a3467a LP-345 Simplify xtalcap callback check, reuse PIOS_RFM22B_SetXtalCap at boot 2016-12-23 14:39:09 +01:00
Laurent Lalanne
340d304558 LP-345 Changes from review - Typos - Initialize previousOPLinkSettings 2016-12-23 14:39:09 +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
8e1d6f6d86 LP-346 RFM22 tuning: Missing AFCCorrection update for OPLink 2016-12-23 14:39:08 +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
Jan NIJS
e5ca71052a LP-452 Added Galileo as a GNSS configuration option to the GCS.
System -> Settings -> GPSSettings -> UbxGNSSMode

The options GPS+Galileo and GPS+GLONASS+Galileo have been added.

Also corrected PRN mask for EGNOS SBAS information. Active PRN: 120 & 136 , 123
Ref: https://egnos-user-support.essp-sas.eu/new_egnos_ops/index.php
2016-12-17 00:04:44 +01:00
Philippe Renon
d21e880345 uncrustify 2016-12-15 22:44:43 +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
Laurent Lalanne
76c0f3f350 LP-444 Update SystemHealth for I2C alarms and more. 2016-12-11 18:15:02 +01:00
Vladimir Zidar
1207968362 LP-444 Do not touch i2c alarm in case it is uninitialised. This will keep the gcs field grey when I2C is not in use. 2016-12-05 13:47:17 +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
Laurent Lalanne
762b1c1ef1 LP-401 Scan only active flightmodes 2016-11-15 21:41:26 +01:00
Cliff Geerdes
27d6b04b58 LP-411 AutoTune limit outer PID - dRonin PR 1283 2016-11-15 21:41:26 +01:00
Cliff Geerdes
47bbf2cd33 LP-401 Autotune init improvments 2016-11-15 21:41:26 +01:00
Lalanne Laurent
81c5551be4 Merged in filnet/librepilot/LP-429_flight_mode_changes_dont_trigger_configuration_check (pull request #345)
LP-429 flight mode changes dont trigger configuration check
2016-10-23 14:19:19 +00:00
Vladimir Zidar
68414cf648 LP-431 Get only necessary data from ManualControlSettings to save on stack usage. 2016-10-10 00:29:11 +02:00
Philippe Renon
abfe95095d LP-429 manualcontrol: first register config change callbacks and only then do a initial configuration check 2016-10-09 19:30:25 +02:00
Philippe Renon
c289dd3a1a LP-429 manualcontrol: make sure that flight mode changes trigger a configuration check 2016-10-09 19:29:28 +02:00
Laurent Lalanne
52fe2578f2 LP-428 Reduce Arming threshold 2016-10-09 01:44:19 +02: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
Lalanne Laurent
79b0acb2e2 Merged in paul_jewell/librepilot/LP-424_fix_pios_openlrs_reference (pull request #339)
LP-424 - Corrected copy error - in pios_openlrs.c
2016-10-01 19:36:14 +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
Brian Webb
f8c69646b7 LP-417 Blink link LED on OPLink when not connected. 2016-09-25 09:56:51 -07: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
Philippe Renon
2b8e5e78f6 LP-406 remove space from Windows USB directory name 2016-09-21 22:33:27 +02:00
Philippe Renon
6221ddd9b4 LP-406 revert changes to inf file (i.e. remove sparky and version bump) 2016-09-21 22:33:27 +02:00
Alessio Morale
5dbdaaa904 Merged in f5soh/librepilot/LP-407_Add_RSSI_Channel_input (pull request #325)
LP-407 Add Rssi channel input
2016-09-21 21:24:43 +02:00
Lalanne Laurent
553448abad Merged in alessiomorale/librepilot/LP-385_cameracontrol (pull request #309)
Lp 385_cameracontrol
2016-09-21 21:24:05 +02:00
Philippe Renon
039200b403 Merged in f5soh/librepilot/LP-333_I2C_Pullups_rel-16.09 (pull request #326)
LP-333 I2C Pullups for flexiport and i2cport
2016-09-21 21:12:12 +02:00
Cliff Geerdes
8cfc867e1d LP-333 I2C Pullups for flexiport and i2cport 2016-09-18 20:27:23 +02:00
Laurent Lalanne
aaf30e7fad LP-407 Changes from review - Cleannup 2016-09-16 19:46:31 +02:00
Laurent Lalanne
72aabd30fd LP-407 Pios_Sbus: Set quality to minimum after a failsafe 2016-09-16 19:45:23 +02:00
Laurent Lalanne
cff5dac088 LP-407 Add Rssi input value - ReceiverActivity: Ignore Rssi channel if already set 2016-09-14 15:23:20 +02:00
Alessio Morale
25b2a22122 LP-385 - Add Image Index 2016-09-08 02:29:33 +02:00
Vladimir Zidar
4e427f69db LP-401 Add sanity check for FlightModeSettings to bring up reboot-required alarm if flightmode has autotune, but no autotune modules started. 2016-09-07 00:58:46 +02:00
Lalanne Laurent
bf5cff319a Merged in mindnever/librepilot/LP-382_fix_MSP_stack_overflow_on_PID_save (pull request #314)
LP-382 Use ObjectPersistence UAVO instead of stack hungry UAVObjSave()
2016-09-04 19:53:22 +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
Alessio Morale
493a48ba2b LP-385 - fixes from review 2016-09-03 21:44:41 +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
Vladimir Zidar
27146b6dcd LP-382 Use ObjectPersistence UAVO instead of stack hungry UAVObjSave() 2016-09-01 13:47:46 +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
Philippe Renon
c363e126fc Merged in mindnever/librepilot/LP-322_USB_ComBridge_functionality_on_OPLink (pull request #302)
Lp 322_usb_combridge_functionality_on_oplink
2016-08-30 09:55:57 +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
a5a45576a1 LP-322 Added USB ComBridge functionality to OPLink. Updated GCS code. 2016-08-30 01:52:59 +02:00
Vladimir Zidar
cb53094843 LP-377 Remove references to HwSettings object. This is not needed anymore. 2016-08-30 01:39:53 +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
Alessio Morale
6c8dafec3c LP-385 - Add support for all revo class boards 2016-08-29 21:16:52 +02:00
Alessio Morale
44f1c76ef9 Merge branch 'next' into LP-385_cameracontrol 2016-08-29 21:04:55 +02:00
Alessio Morale
b04a3929be LP-385 - Get system timestamp coherently with system module 2016-08-29 20:35:11 +02:00
Alessio Morale
d000dd63c6 LP-385 - Add MinimumTimeInterval which define a hard minimum limit between two consecutive shots in auto mode. This is needed to ensure camera can keep up with trigger without loosing shots 2016-08-29 20:24:58 +02:00
Alessio Morale
8114d7771e LP-385 - Fix manual trigger 2016-08-29 19:58:39 +02:00
Alessio Morale
7ed8e63689 LP-385 - Fix Actuator support for CameraControl 2016-08-29 19:57:55 +02:00
Alessio Morale
9bb9086167 LP-385 - Convert local coordinates to LL 2016-08-29 19:57:34 +02:00
Alessio Morale
4e78da41d3 LP-368 - Add coordinate conversion functions, perform some cleanup/optimization 2016-08-28 22:44:53 +02:00
Alessio Morale
b356408e16 LP-385 - Manage time/distance trigger, picture trigger pulse duration 2016-08-28 22:42:56 +02:00
Philippe Renon
1647982fca Merged in f5soh/librepilot/LP-387-Sparky_analog_port (pull request #305)
LP-387 Analog port: Add DAC pin as input - Fix pin mapping.
2016-08-28 18:48:22 +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
Philippe Renon
45f791742d Merged in mindnever/librepilot/LP-239_GPS_on_Revo_FlexiIO (pull request #299)
LP-239 gps_on_revo_flexiio
2016-08-28 18:46:12 +02:00
Laurent Lalanne
798248ef24 LP-387 Analog port: Add DAC pin as input - Fix pin mapping. 2016-08-21 04:57:15 +02:00
Alessio Morale
3bd8d48068 LP-385 - use fractional part of second in camera activity 2016-08-18 19:27:30 +02:00
Alessio Morale
8f5ec2679c LP-385 - add supports for fractional part of second in gps time 2016-08-18 19:27:06 +02:00
Alessio Morale
88a8e767c4 LP_385 - Implement activation/manual override logic, Camera activity "publishing" 2016-08-18 19:25:55 +02:00
Alessio Morale
c7e060c04a LP-385 - Initial CameraControl module commit 2016-08-18 12:40:34 +02:00
Alessio Morale
22969c5e17 LP-385 - Implement camera trigger output handling 2016-08-18 12:10:14 +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
Vladimir Zidar
51151e6290 LP-239 This commit adds missing com protocols (GPS) to Revo Flexi IO (rcvrport) including proper GCS handling 2016-08-06 03:20:35 +02:00
Lalanne Laurent
a979287bb7 Merged in alessiomorale/librepilot/LP-367_set_rtl_velocity (pull request #293)
LP-367 - Set Return to home velocity
2016-08-06 00:50:54 +02:00
Laurent Lalanne
34f55ffbe2 LP-298 Use PIOS_Board_configure_ibus() for all boards - Missing define for RevoNano 2016-08-05 20:49:34 +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
Vladimir Zidar
12c6c9b2fe LP-364 Cosmetic changes including (in)famous uncrustify. 2016-07-24 22:26:34 +02:00
Vladimir Zidar
5b8d168a12 LP-364 This commit adds MAVLink to revoproto target 2016-07-24 22:26:34 +02:00
Vladimir Zidar
b0dd2649bc LP-364 remaining conflict fixes 2016-07-24 22:26:34 +02:00
Vladimir Zidar
873950b071 LP-364 Added MAVLink support to remaining target boards: sparky2, revonano and coptercontrol. 2016-07-24 22:26:29 +02:00
Vladimir Zidar
ba6ebba29c LP-364 CC3D related fixes. Added missing AttitudeStateYawGet(). 2016-07-24 22:21:30 +02:00
Vladimir Zidar
b8b9d31c07 LP-364 Initial MAVLink bridge port from dRonin 2016-07-24 22:21:30 +02:00
Alessio Morale
08b960549a LP-367 - Set homelocation velocity 2016-07-24 17:04:51 +02:00
Vladimir Zidar
a0e7859dd1 LP-365 replace com port boilerplate code with calls to PIOS_Board_configure_com() 2016-07-21 23:52:23 +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
Cliff Geerdes
a13de1e62b LP-340 Add 100 bytes of stack because Nano needs 156 more than Sparky2 2016-07-20 02:56:10 -04:00
Cliff Geerdes
447dff6fc9 LP-340 cosmetic type of issues requested in PR 2016-07-19 19:04:40 -04:00
Cliff Geerdes
792aae6f9b LP-340 stop NAN propagation at the start of tuning 2016-07-19 17:41:58 -04:00
Alessio Morale
02d04ddf43 LP-361 - Cleanup sequences to make alarms easier to understand
Error sequence:
  pause, RED, <item color> x 2, pause;
warn sequence:
  pause, ORANGE, <item color>, pause;

ITEM COLOR:
- GPS = GREEN;
- MAG = PURPLE;
- CONFIG = RED;
- RECEIVER = YELLOW.

BATTERY ALARM:
- warning 5x ORANGE blinks
- critical 5x RED blinks

DISARMED: short white blinks
2016-07-17 17:19:34 +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
Cliff Geerdes
a365578385 LP-340 dont export nan pids and new setting for d-term oscillation 2016-07-16 00:42:20 -04:00
Brian Webb
9fdde98ff9 LP-190: Adds OPLink configuration GUI cleanup from filnet. 2016-07-12 18:01:03 -07: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
02b5a9bd78 LP-190: ppm_mode must be true if either 'control' or 'data and control' are set even if no PPM ports are configured, otherwise the data link doesn't work. 2016-07-12 17:49:26 -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