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

15682 Commits

Author SHA1 Message Date
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
cd196c8d34 LP-601 Define line (or no line) for all WP modes on map. 2018-10-07 23:34:09 +02:00
Laurent Lalanne
285fb8b82c LP-601 Fix typo for ConditionParameter3 2018-10-07 23:22:17 +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
Laurent Lalanne
fe5ca6d5c1 LP-601 Waypoint file output : Write double values in C locale 2018-10-07 19:40:20 +02:00
Philippe Renon
aba11f0e10 Merged in filnet/librepilot/update_credits (pull request #407)
update credits

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Paul Jewell <teulupaul@gmail.com>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-09-29 10:02:39 +00:00
Lalanne Laurent
a2c529079a Merged in f5soh/librepilot/LP-470_sat_version (pull request #516)
LP-470 Bump map version

Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-09-29 10:00:57 +00: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
Jan NIJS
2f075df628 Merged in Oblivium/librepilot/LP-597_Progress_bar_for_GCS_log_replay (pull request #511)
LP-597 Progress bar for GCS log replay

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:56:01 +00:00
Jan NIJS
3bef6b29d0 Merged in Oblivium/librepilot/LP-598_Autotakeoff_Corrections (pull request #512)
LP-598 Autotakeoff Corrections

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
2018-09-29 09:54:27 +00:00
Laurent Lalanne
609799deb0 LP-470 Bump map version 2018-09-29 10:51:15 +02: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
9e9c9c8975 LP-599 Allow "cloneof" attribute to reference other objects. Allow some other attributes to override cloned values (options, limits, defaultvalue). 2018-05-07 00:08:16 +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
bafc40fefa LP-597 fixes from review
- m_timer_tick -> m_timerTick
- rename signals: setPlaybackPosition -> playbackPositionChanged & setBeginAndEndTimes -> timesChanged
- remove extraneous parentheses
- make pretty
2018-05-05 17:21:21 +02:00
Jan NIJS
ba0869c2d2 LP-597 Don't disable playback when the end of the logfile has been reached.
- instead, do the same as the user pressing the stop button.
2018-05-05 16:40:56 +02:00
Jan NIJS
684849f33c LP-597 again 3 separate buttons + various fixes & cleanups
Suggested by Philippe Renon:
- change the combined play-pause button to separate play and pause buttons. Hide button irrelevant button.
  Code has been simplified as a result.

Fixes:
- fix situation where replay is stopped/paused and logfile is disconnected through the Disconnect button.
- remove unneeded stuff (resizing related)
- rename updateBeginAndEndTimes -> setBeginAndEndTimes
- less base height needed for the widget
- wordwrap for "Playback speed" label. Wraps when space constrains.
- set a fixed width for statusLabel to prevent jumping around when the text changes
- Update the statusLabel to "Paused" when stopped/paused.
- rename enableButtons -> enableWidgets
- clear start and end text labels when playback has finished.
2018-05-05 16:40:55 +02:00
Jan NIJS
ecd6d20b13 LP-597 Progress bar for GCS log replay - first batch of fixes from review and some others
- remove extraneous parentheses
- use Qt naming convention for playbackPosition -> setPlaybackPosition
- consistently use playback instead of playBack
- most places: use of "state" instead of "status"
- removed empty line

- updated file headers
- removed QThread include (leftover from debugging)
- renamed pauseAndResetPosition to pauseReplayAndResetPosition for consistency with the related functions
2018-05-05 16:40:55 +02:00
Jan NIJS
fa70cb751c LP-597 Progress bar for GCS log replay - Resize playPause and stop buttons according to the available space for the widget.
- also make pretty
2018-05-05 16:40:54 +02:00
Jan NIJS
d540c2a043 LP-597 Progress bar for GCS log replay - ensure the index vectors are emptied before adding elements to them. Caused problem when replaying multiple logfiles successively.
- Bugfix: ensure the index vectors are emptied before adding elements to them. Caused problem when replaying multiple logfiles successively.
- extra validations while indexing the logfile
- Define TIMESTAMP_SIZE_BYTES and use that instead of the hardcoded timestamp size of 4 bytes.
- modify variable case: updateBeginAndEndtimes -> updateBeginAndEndTimes
- improve qWarning messages for logfile.cpp: add the name of the function because we read the logfile in two separate functions.
2018-05-05 16:40:54 +02:00
Jan NIJS
ef3cb8bf46 LP-597 Progress bar for GCS log replay - switch to double-function button for Play/Pause
- remove separate play and pause buttons, combine these functions in one playPause button.
- update icons & button texts
- move resources (icons) to logging plugin's own images folder
- explain why looking for the next timestamp after the last played one is useful.
  It causes the replay process to jump over parts of the logfile where no data has been recorded
  and jumps straight to the first timestamp after that part of the log where data is missing.
2018-05-05 16:40:54 +02:00
Jan NIJS
c53e99ee41 LP-597 Progress bar for GCS log replay - add progress bar and a stop button
- Added stop button:
  - start: starts from 0 position after stop signal, resumes from current position after pause signal.
  - pause: freezes at current position, also freezes scopes.
  - stop: stops replay and resets start position to 0 (does not close the logfile)
- Creates an index of the timestamp positions in the logfile for quick seeking to the target position in the log.
- Start, End and current position timestamps are visible in the GUI below the position slider.
- Determine replay position by moving the position slider
- Update position label while changing position bar
- Speed widget: lowest multiplier is now 0.1 instead of 0.
  Only set one decimal of precision.
  More decimals seem useless at this time.
2018-05-05 16:40:53 +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
Philippe Renon
a4c0bcfb1a Merged in filnet/librepilot/LP-567_uavobjectbrowser_highlight_handling (pull request #510)
LP-567 fix compilation error with older Qt versions

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-29 23:01:26 +00:00
Philippe Renon
445c5dd058 LP-567 fix compilation error with older Qt versions 2018-04-29 23:18:58 +02:00
Philippe Renon
12cf56c6bb update credits 2018-04-29 19:56:03 +02:00
Lalanne Laurent
e0513f3a76 Merged in f5soh/librepilot/LP-315_Update_templates (pull request #459)
LP-315 Update templates

Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-29 17:51:10 +00:00
Philippe Renon
8a729ce94b Merged in filnet/librepilot/LP-303_fix_full_screen_mode_on_windows (pull request #501)
LP-303 workaround issue with full screen mode on windows

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-29 17:45:47 +00: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
Philippe Renon
79533436e5 Merged in filnet/librepilot/LP-558_accept_case_insensitive_uav_enum_values (pull request #476)
LP-558 accept case insensitive uav enum values

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Paul Jewell <teulupaul@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Paul Jewell <paul@teulu.org>
2018-04-29 17:34:55 +00:00
Philippe Renon
53bd0da106 Merged in filnet/librepilot/LP-567_uavobjectbrowser_highlight_handling (pull request #486)
LP-567 uavobjectbrowser highlight handling

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-29 17:34:08 +00:00
Lalanne Laurent
b0e309356c Merged in f5soh/librepilot/LP-551_Tx_Wizard_output (pull request #488)
LP-551 Tx Wizard output

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:29:23 +00:00
Lalanne Laurent
cd94147a5a Merged in f5soh/librepilot/LP-577_HW_Settings_GPS_reboot (pull request #494)
LP-577 Ignore disabling GPS module for boards where the module is already built in.

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:29:08 +00:00