1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

6453 Commits

Author SHA1 Message Date
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 1203fa9e665b1ed0236c7456e1b5f064e3366460
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
7bea606373 LP-595 Add BL rescue delay for SpracingF3evo and TinyFish 2018-04-13 14:15:56 +02:00
Laurent Lalanne
74b43603fa LP-595 Add comment about BL delay / vsense 2018-04-13 13:55:10 +02:00
Laurent Lalanne
90e75f0061 LP-595 Add delay to ensure USB_Connected is detected - Back to common BL logic 2018-04-12 19:08:57 +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