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

6426 Commits

Author SHA1 Message Date
Laurent Lalanne
69db95ca5e LP-614 Sparky2 : Add HoTT Telemetry to flexiPort 2019-04-18 17:52:36 +02:00
Laurent Lalanne
89abb7c085 LP-613 Add new algorithm with Complementary+GPS 2019-04-16 21:36:53 +02:00
Laurent Lalanne
4221fcf7b0 LP-612 Temperature module with NTC thermistor or LM35 sensors 2019-04-14 20:59:20 +02:00
Lalanne Laurent
62e72dbcc7 Merged in f5soh/librepilot/LP-601_WP_output_file_locale (pull request #517)
LP-601 Waypoint fixes

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Eric Price <corvuscorax@cybertrench.com>
2019-02-21 21:49:49 +00:00
Lalanne Laurent
1ea6a3d0f9 Merged in f5soh/librepilot/LP-607_world_mag_model_2015v2 (pull request #526)
LP-607 Update to WMM-2015v2

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2019-02-21 21:45:41 +00:00
Lalanne Laurent
03d71dff55 Merged in f5soh/librepilot/LP-608_HoTT_telemetry_revonano (pull request #527)
LP-608 HoTT telemetry revonano

Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2019-02-21 21:44:48 +00:00
Laurent Lalanne
ba7f9ed809 LP-518 Revo/Sparky: Disable simple beacon tone 2019-02-21 22:38:04 +01:00
Laurent Lalanne
6ab47fd06c LP-518 OpenLRS: Simple beacon tone, cpu free. Apply to Sparky2 and Revo 2019-02-21 22:38:04 +01:00
Laurent Lalanne
794c18233e LP-518 Allow Mavlink and MSP Rssi for OpenLRS and use OPLinkStatus.RSSI 2019-02-21 22:38:04 +01:00
Laurent Lalanne
598baec72f LP-518 OPLink receiver: Update Rssi and Link quality 2019-02-21 22:38:04 +01:00
Laurent Lalanne
8e861cbcae LP-518 Add Quality_Get to OpenLRS receiver and update OPlink_Receiver with Rssi and LinkQuality 2019-02-21 22:38:04 +01:00
Laurent Lalanne
bc7f576b20 LP-518 OpenLRS: Fix Rssi and link quality 2019-02-21 22:38:03 +01:00
Laurent Lalanne
7a97907504 LP-518 Only disable link for OPlink protocols, not OpenLRS. 2019-02-21 22:38:03 +01:00
Eric Price
36f361d6a1 Merged in corvusvcorax/librepilot/LP-603_optional_quaternionstabi (pull request #520)
LP-603 Make QUATERNION_STABILIZATION optional.

Approved-by: Lalanne Laurent <f5soh@free.fr>
2019-02-21 21:35:51 +00:00
Eric Price
9653e7d258 Merged in corvusvcorax/librepilot/LP-604_Stabilization_Feedforward (pull request #521)
LP-604 Add a feed forward term to Stabilization outer loop

Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2019-02-21 21:26:52 +00:00
Julian Lilov
e846b300fe Merged in julian_lilov/librepilot-jdl/LP-605_PathPlan_Resume_Fix (pull request #522)
LP-605 PathPlan 'Resume' Fix

Approved-by: Lalanne Laurent <f5soh@free.fr>
2019-02-21 20:36:27 +00:00
Laurent Lalanne
a15b047d00 LP-608 Simulate individual cell voltage in Electric and General Air 2019-02-18 18:21:55 +01:00
Laurent Lalanne
9c1175f270 LP-608 Fix Revolution board for HoTT telemetry 2019-02-16 19:33:51 +01:00
Laurent Lalanne
aec8e7992e LP-608 Allow min/max altitude recording for standalone board without inputs 2019-02-16 15:50:25 +01:00
Laurent Lalanne
14a7e7a7cf LP-608 Prevent false warning alarms related to speed and distance from GPS 2019-02-16 15:50:25 +01:00
Laurent Lalanne
f602e04fad LP-608 Add Airspeed data to General and Electric Air module message 2019-02-16 15:50:00 +01:00
Laurent Lalanne
d6ef3b7cf0 LP-608 Add HoTTBridge to Revonano 2019-02-16 15:44:04 +01:00
Laurent Lalanne
5f955ebb14 LP-607 Update to WMM-2015v2 2019-02-07 22:29:33 +01:00
U-karat-jdl\karat
674129352d LP-605 'uncrustify' new code 2018-11-29 13:04:43 +02:00
U-karat-jdl\karat
6364bb8566 LP-605 call setWaypoint() on PathPlan resume 2018-11-29 12:20:53 +02:00
Eric Price
f162bbf331 LP-602 Improvement to usb_dcd. Activate rx handler always, even if it seems unneeded. Otherwise reading from DCD will fail if a module tries to read data before USB is connected. 2018-10-19 16:55:52 +02:00
Eric Price
a91ebccd88 LP-604 changed low pass filter to have a significantly ( factor 10 ) smaller Tau than the feed forward term itself, otherwise the filter delay nulls the feed forward effect 2018-10-19 10:07:07 +02:00
Eric Price
b218909c7b LP-604 Add suitable lowpass filter to feed forward term 2018-10-19 08:29:25 +02:00
Eric Price
c933916592 LP-603 fixed typo. sorry. 2018-10-18 19:34:37 +02:00
Eric Price
73ba9ff589 LP-604 Add a feed forward term to Stabilization outer loop 2018-10-18 19:24:22 +02:00
Eric Price
f6ec3514b0 LP-603 Make QUATERNION_STABILIZATION optional. It can be harmful when using POIs on multicopter and the desired yaw jumps a lot, suddenly 2018-10-18 19:23:32 +02:00
Eric Price
4c9b17903e LP-602 Update all bootloaders that run on STM32F4 hardware to use correct USB connected check 2018-10-18 13:13:06 +02:00
Eric Price
8793aaa387 LP-602 Re-enable rx_status checking in usb_csc to optionally reenable rx after reset
This partially reverts 1203fa9e66
LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1)
However rx_status is only used in the reinit case, without reintroducing issue LP-495
2018-10-16 15:56:17 +02:00
Eric Price
868d787912 LP-602 Fix regression of bootloader which checks for USB availability without initialising it, so it really needs to check if the cable is present (gpio check) 2018-10-16 11:44:01 +02:00
Eric Price
a4e20499c0 LP-602 significant change to USB layer. force complete USB stack reset on replug/reset from host device 2018-10-16 11:43:50 +02:00
Eric Price
ca82317970 LP-602 Bugfix in pios_usb_cdc: reset tx_start on device init to prevent stalled tx 2018-10-16 11:43:36 +02:00
Eric Price
3f2d89fc11 LP-602 better fix for USB IRQ lockup issue 2018-10-15 13:09:18 +02:00
Eric Price
6ab58fe93d LP-602 bugfix in STM32_USB_OTG_Driver to prevent IRQ hammering on USB replug 2018-10-12 16:02:58 +02:00
Laurent Lalanne
9e788436d0 LP-601 Use normal altitude sign above home for AboveAltitude condition parameter 2018-10-07 23:16:25 +02:00
Lalanne Laurent
ae5d69aab3 Merged in f5soh/librepilot/LP-600_Ibus10ch_stack_alarm (pull request #515)
LP-600 Increase SYSTEM and DIAG_TASKS stack size

Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-09-29 10:00:03 +00:00
Vladimir Zidar
230d770498 Merged in mindnever/librepilot/LP-599_Extend_cloneof_attribute_functionality_in_uavobject_xml (pull request #514)
LP-599 Extend cloneof attribute functionality in uavobject xml

Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-09-29 09:58:05 +00:00
Vladimir Zidar
07871ca19f Merged in mindnever/librepilot/LP-545_ubx_null_ptr_dereference_fix (pull request #513)
LP-545 ubx null ptr dereference fix

Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-09-29 09:57:13 +00:00
Laurent Lalanne
8d2acc6de2 LP-600 Increase SYSTEM and DIAG_TASKS stack size 2018-08-07 13:23:34 +02:00
Vladimir Zidar
8dbf25edc2 LP-599 Make cloned fields as typedef's of parent types in flight & ground (c, c++) uavobjgenerators. 2018-05-07 00:09:04 +02:00
Vladimir Zidar
3ba6fea710 LP-545 ubx null ptr dereference fix 2018-05-06 19:37:29 +02:00
Jan NIJS
d53dadaf6b LP-598 Followed Laurent's suggestions that makes it possible to remove duplicated code
- Update assessAltitude() to return the altitude in auto takeoff as well as auto land code.
  Code that duplicated the calculations has been removed.
- Make pretty & update headers
2018-05-05 18:22:20 +02:00
Jan NIJS
ec9b867b44 LP-598 clean-ups
- AltitudeAtState is corrected to be a positive altitude above ground.
- remove unneeded call to StabilizationDesiredGet()
- update timeout values in descriptions so they match the code
2018-05-01 19:58:56 +02:00
Jan NIJS
18f5e76f3a LP-598 Fix auto-takeoff velocity
Velocity setpoint with the wrong sign, causing the uav to remain on the ground during the first autotakeoff.
2018-05-01 19:58:56 +02:00
Lalanne Laurent
56df37a9e5 Merged in f5soh/librepilot/LP-585_refine_OPLM_channel_generator (pull request #502)
LP-585 refine OPLM channel generator

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:36:48 +00:00
Lalanne Laurent
66bbc2b47b Merged in f5soh/librepilot/LP-576_Default_Yaw_stabilization_automomous_modes (pull request #492)
LP-576 Made AxisLock as default for Yaw stabilization in all autonomous modes.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:28:47 +00:00
Lalanne Laurent
853a014e47 Merged in f5soh/librepilot/LP-596_AltitudeHold_transition (pull request #509)
LP-596 Fix AltitudeHold transition

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Cliff . <cliffsjunk@att.net>
Approved-by: Julian Lilov <jdl@abv.bg>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:27:14 +00:00
Lalanne Laurent
cb6d86b048 Merged in f5soh/librepilot/LP-589_INS13_Yaw_spin (pull request #504)
LP-588 INS13 - Scale down Mag variance setting by Be² + Small fixes

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 15:22:28 +00:00
Laurent Lalanne
691c6c1b57 LP-596 Fix AltitudeHold transition 2018-04-15 20:07:58 +02:00
Laurent Lalanne
bbb0c7fb25 LP-593 firmwareIAP cleanup, remove code for old AHRS 2018-04-12 14:55:08 +02:00
Laurent Lalanne
4c83f0a844 LP-593 Set firmware Crc at init 2018-04-11 19:32:09 +02:00
Lalanne Laurent
1ab7956c1a Merged in f5soh/librepilot/LP-582_Revonano_flexi_i2c (pull request #497)
LP-582 RevoNano: Fix missing flexi I2C

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-06 15:35:10 +00:00
Laurent Lalanne
8f504526ca LP-588 INS13 - Scale down Mag variance setting by Be² + Small fixes 2018-04-02 11:29:45 +02:00
Laurent Lalanne
cfd7751ed8 LP-585 Increase channel spacing for 256KBps 2018-03-14 14:17:46 +01:00
Laurent Lalanne
be794a0594 LP-585 Add comments + typo 2018-03-13 23:05:32 +01:00
Laurent Lalanne
131a6b0a34 LP-585 Uncomment/fix openlrs debug 2018-03-13 20:06:26 +01:00
Laurent Lalanne
dbb569278a LP-585 Change the calc for channel generator and avoid rounding issues.
Take in account the frequency deviation and keep Tx inside defined band.
2018-03-13 20:06:25 +01:00
Vladimir Zidar
b8239e3cf8 Merged in mindnever/librepilot/LP-584_Fix_ADC_on_servo_outputs (pull request #500)
LP-584 Fix ADC on servo outputs

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-03-11 12:23:33 +00:00
Vladimir Zidar
784efc12cf Merged in mindnever/librepilot/LP-556-Allow_BoardId_and_Revision_spoofing (pull request #475)
LP-556 Allow BoardId and Revision spoofing

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-03-11 12:23:18 +00:00
Lalanne Laurent
578e7adb94 Merged in f5soh/librepilot/LP-569_PosHold_YawControl (pull request #485)
LP-569 Ignore YawControl while using PosHold, AutoTakeOff and AutoCruize

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Paul Jewell <paul@teulu.org>
2018-03-11 12:22:52 +00:00
Vladimir Zidar
af47e00815 LP-584 Fix servo driver to not touch unused pins in _disable() function. Fix adc channel for servo6 on revolution & sparky2 targets. 2018-03-11 00:41:50 +01:00
Laurent Lalanne
0ae0687c9e LP-582 RevoNano: Fix missing flexi I2C 2018-02-25 21:31:07 +01:00
Vladimir Zidar
f64a1ba822 LP-580 Change PIOS_INCLUDE_HMC5X83 to PIOS_INCLUDE_SENSORS_AUXMAG where it applies to general auxmag support. 2018-02-23 13:19:41 +01:00
Vladimir Zidar
f0ebe8f780 LP-580 QMC5883L: added DRDY timeout, so that driver can reinit chip 2018-02-23 13:19:25 +01:00
Vladimir Zidar
d10f7684ca LP-580 Support for QMC5883L mag chip. 2018-02-23 13:19:18 +01:00
Vladimir Zidar
c3d9c27a58 LP-556 Removed unneeded includes. 2018-02-13 11:38:25 +01:00
Vladimir Zidar
6c9c6cb3f3 LP-556 Change settings uavo to have two fields matching FirmwareIAPObj. 2018-02-12 04:27:07 +01:00
Vladimir Zidar
51923bb67f LP-556 Allow DiscoveryF4Bare to spoof own board id through FirmwareIAPObj. 2018-02-12 04:26:18 +01:00
Laurent Lalanne
938bd7e6fd LP-576 Made AxisLock as default for Yaw stabilization in all autonomous modes. 2018-02-06 19:41:16 +01:00
Lalanne Laurent
dc012a1503 Merged in f5soh/librepilot/LP-563_Reduce_telemetry (pull request #480)
LP-563 Reduce telemetry bandwidth

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:04:26 +00:00
Lalanne Laurent
45d2913d8b Merged in f5soh/librepilot/LP-560_BaroOffset (pull request #479)
LP-560 Add better filtering before set the baroOffset value

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:04:11 +00:00
Lalanne Laurent
a353661820 Merged in f5soh/librepilot/LP-550_Flight_Modules_fixes (pull request #463)
LP-550 Flight Modules fixes

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:01:19 +00:00
Laurent Lalanne
5be3aad67b LP-569 Ignore YawControl while using PosHold, AutoTakeOff and AutoCruize 2017-12-17 18:53:40 +01:00
Laurent Lalanne
43c4718798 LP-563 CameraDesired is updated continuouslly, check gimbal outputs. 2017-12-03 18:30:55 +01:00
Vladimir Zidar
213893e298 Merged in mindnever/librepilot/LP-525-GCS_Hardware_pages_for_F3_boards (pull request #455)
Add GCS Hardware pages for F3 boards

Approved-by: Mateusz Kaduk <mateusz.kaduk@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-11-27 10:39:13 +00:00
Laurent Lalanne
8cc85923d7 LP-560 Add better filtering before set the baroOffset value 2017-11-26 11:54:37 +01:00
Laurent Lalanne
8da65e8068 LP-550 Set OptionalModules>ModuleName to Enabled if module is builtin. 2017-10-29 15:48:22 +01:00
Laurent Lalanne
8c9cd5d0ec LP-550 Move batteryEnabled to local variable 2017-10-29 13:44:49 +01:00
Laurent Lalanne
b469e9b1ba LP-550 MODULE_AUTOTUNE_BUILTIN typo 2017-10-29 13:44:45 +01:00
Laurent Lalanne
d58c0b11b9 LP-550 Allow Txpid builtin 2017-10-29 13:39:21 +01:00
Vladimir Zidar
8935906fca Merged in mindnever/librepilot/LP-544_fix_ws2811_servo_conflict (pull request #473)
LP-544 Fix for ws2811 & servo driver conflict.

Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2017-10-29 12:16:45 +00:00
Vladimir Zidar
1b0ceaeed7 LP-525 [PikoBLX] Cleaned up HW configuration, added PPM Port (pad) combo. Verified GCS HW page. 2017-10-23 23:04:58 +02:00
Vladimir Zidar
5f1fef4bc7 LP-173 Removed comments referencing previously removed code. 2017-10-19 00:46:54 +02:00
Vladimir Zidar
4b54986f6f LP-173 Added missing #define SETTINGS_INITCALL(fn) to simposix target 2017-10-18 05:20:00 -07:00
Vladimir Zidar
0b317f8208 LP-173 Remove explicit calls to remaining settings objects: EKFConfiguration, HomeLocation, RevoCalibration and TakeOffLocation 2017-10-17 13:39:22 +02:00
Vladimir Zidar
e1346f427e LP-173 simposix cannot use SETTINGS_INITIALISE_ALL macro, but luckily it does already initialize ALL objects (not only settings) with UAVObjectsInitializeAll() 2017-10-17 13:25:25 +02:00
Vladimir Zidar
b2f548b2ed LP-173 Add settings initcall type. Add SETTINGS_INITIALISE_ALL to board files. Remove all manual settings objects initializations. 2017-10-17 13:25:25 +02:00
Vladimir Zidar
cc29d520a9 LP-544 Add PIOS_Servo_SetActive() API to communicate active servo channels from Actuator module to pios_servo driver. pios_servo is not allowed to touch inactive outputs. 2017-10-17 13:06:05 +02:00
Brian Webb
2f1e7cd72d Merged in webbbn/librepilot/LP-552-openlrs-receiver-shows-mixed-opli (pull request #465)
LP-552

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-10-13 18:36:58 +00:00
Vladimir Zidar
2fcacf1905 Merged in mindnever/librepilot/LP-553-fix_author_issue (pull request #468)
LP-553 Add dRonin/TauLabs to @author tag in pios_bmp280.c

Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2017-10-13 18:26:50 +00:00
Vladimir Zidar
37278c3425 LP-553 Add dRonin/TauLabs to @author tag in pios_bmp280.c 2017-10-08 12:29:36 +02:00
Vladimir Zidar
ed1f6881e3 LP-432 Automatically generate -DHAS_xxx_MODULE for *all* included modules. Use HAS_LOGGING_MODULE inside telemetry.c/setLoggingPeriod() to void function if logging module is not included. 2017-10-07 15:30:18 +02:00
Brian Webb
f289f17b83 LP-552 Moves call to PIOS_BOARD_IO_Configure_OPLink_RCVR from pios_board.c to pios_board_io.c (conditional on OpenLRS protocol not being configured). 2017-09-18 18:54:31 -07:00
Philippe Renon
dbe95ae493 Merged in filnet/librepilot/LP-109_video_gadget (pull request #454)
LP-109 video gadget

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-09-18 19:58:07 +00:00
Vladimir Zidar
885d46c8df LP-549 Make ASWA throttle threshold configurable. Add FlightModeSettings.AlwaysStabilizeWhenArmedThrottleThreshold with default value of 0.2 2017-09-14 09:42:31 +02:00
Vladimir Zidar
28ad66502a LP-549 Disable Iterm zeroing at low throttle when ASWA is enabled.
LP-549 Enable ASWA only after initial throttle threshold has been reached to allow Iterm to be zeroed with zero throttle while on ground.
2017-09-14 09:41:42 +02:00