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

15619 Commits

Author SHA1 Message Date
Brian Webb
9356ac91da LP-548 OPLink will output OPLink receiver objects if mode is set to control or data and control and PPM output is not configured. Also adds support for OPLInkReceiver to all FCs. 2017-09-03 18:11:46 -07:00
Brian Webb
586a073d33 LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink. 2017-08-31 19:43:49 -07:00
Philippe Renon
d4db79e06f LP-419 config: fix an unused arg warning 2017-08-28 21:49:09 +02:00
Philippe Renon
ffc48dab65 LP-419 config: improve const correcteness of saveState() methods 2017-08-28 21:48:38 +02:00
Marcus Proest
d1ab06e5b0 Merged in marcus_proest/librepilot/LP-543-fix-tea-ci-secrets-file (pull request #456)
LP-543 updated .drone.yml and regenerated .drone.sec for Tea-CI

Approved-by: Marcus Proest <proemarc@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-07-19 21:38:40 +00:00
Brian Webb
a542372d5f Merged in webbbn/librepilot/LP-540-add-support-for-ms5607-and-ms5637 (pull request #449)
LP-540 Adds support for ms5607 and ms5637 to the ms5611 driver and renames it ms56xx.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-07-19 21:35:25 +00:00
Laurent Lalanne
8da8172999 LP-399 Fix tooltips 2017-07-19 14:15:18 +02:00
Philippe Renon
548a881003 LP-419 removed unused code 2017-07-18 22:54:14 +02:00
Philippe Renon
47d9219a09 LP-419 add handling of os specific default GCS configuration file
if a os specific file (for example default_linux.xml) is found it will be loaded
alongside the common default.xml file.

no os specific dfault files are provided yet...
2017-07-17 22:54:47 +02:00
Philippe Renon
f00e40da4f LP-419 config: merge factory defaults at startup
a simple registry is used to track all configurations ever seen
only new configurations (i.e. not in the registry) are added
merging only applies to plugin and gadget configurations for now
2017-07-17 22:22:45 +02:00
Philippe Renon
b52424b2cd LP-419 dialgadget: convert floats to strings before saving configuration
avoids rounding issues
2017-07-17 22:22:43 +02:00
Philippe Renon
f7e0553ea9 LP-419 notification: remove unused files 2017-07-17 22:22:41 +02:00
Philippe Renon
9f3aae1f09 LP-419 config: made SerialPlugin a configurable plugin
inspired from notification plugin
2017-07-17 22:22:39 +02:00
Philippe Renon
2c14920ab0 LP-419 config: apply camel case to IPConnection classes 2017-07-17 22:22:33 +02:00
Philippe Renon
bba67f27d6 LP-419 config: made IPConnectionPlugin a configurable plugin
inspired from notification plugin
next is the serialconnection plugin
also made the code more conformant
2017-07-17 22:20:57 +02:00
Philippe Renon
068988741d LP-419 cleanup QSettings usage throughout GCS 2017-07-17 22:14:08 +02:00
Philippe Renon
7113c1a624 LP-419 main: use new settings utils 2017-07-17 22:14:06 +02:00
Philippe Renon
42a95e5791 LP-419 add settings utilities
provides utilities to initialize, load and merge factory defaults settings
2017-07-17 22:14:04 +02:00
Philippe Renon
38005e3881 LP-419 xmlconfig: cleanup and remove dead code 2017-07-17 22:14:02 +02:00
Laurent Lalanne
c9903f9bbc LP-399 Use checkboxes for status and settingsComplete - Tooltip changes 2017-07-10 13:01:04 +02:00
Brian Webb
b75637e6f2 LP-540 Changes all reference to ms5611 in ms56xx.h to ms56xx, and combines if statements in pressure compensation equations. 2017-07-08 09:15:33 -07:00
Brian Webb
4ee7249b4a LP-540 Adds support for ms5607 and ms5637 to the ms5611 driver and renames it ms56xx. 2017-07-08 09:14:58 -07:00
Marcus Proest
819653bcbc LP-543 updated .drone.yml and regenerated .drone.sec for Tea-CI 2017-07-06 22:27:25 +02:00
Laurent Lalanne
bbaa1b32d9 LP-399 Rearrange code to be more readable - Spelling 2017-07-05 23:31:59 +02:00
Laurent Lalanne
cc6dac9259 LP-399 Save HWSettings first 2017-07-05 23:31:59 +02:00
Laurent Lalanne
3bb2bd0b88 LP-399 Add groupbox for module Status 2017-07-05 23:31:59 +02:00
Laurent Lalanne
1b25dcc022 LP-399 Add more tuning information + reset button - Give feedback about
the module running or not.
2017-07-05 23:31:59 +02:00
Laurent Lalanne
c9570ba3a7 LP-399 Move AutoTune tab close to Stabilization 2017-07-05 23:31:59 +02:00
Laurent Lalanne
02e157390d LP-399 Better resizing 2017-07-05 23:31:58 +02:00
Laurent Lalanne
22480618e5 LP-399 Set SystemIdentState UAVO readonly from Gcs point of view. 2017-07-05 23:31:58 +02:00
Laurent Lalanne
68597d51cc LP-399 Add GUI to Autotune module 2017-07-05 23:31:58 +02:00
Laurent Lalanne
1abe34ce7e LP-399 Prepare Autotune GUI : Define some settings as enums 2017-07-05 23:31:57 +02:00
Lalanne Laurent
d031352cdd Merged in f5soh/librepilot/LP-539_OPLM_BigUAVO (pull request #447)
LP-539 OPLink - Big object issue

Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-07-05 19:33:46 +00:00
Jan NIJS
56661850ab Merged in Oblivium/librepilot/LP-536_GNSS_improvements (pull request #444)
LP-536 GNSS improvements

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
2017-07-05 19:33:11 +00:00
Philippe Renon
a62064d032 Merged in filnet/librepilot/LP-535_msys2_automatic_dependencies (pull request #448)
LP-535 simplified copy_dependencies.py

Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-07-05 19:32:33 +00:00
Brian Webb
8f91f1b49b Merged in webbbn/librepilot/LP-537-update-f0-gps-to-be-more-similar (pull request #445)
LP-537 update f0 gps to be more similar

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-07-05 19:32:00 +00:00
Philippe Renon
9efdb6b1fe Merged in filnet/librepilot/LP-530_upgrate_to_eigen_3_3_3 (pull request #436)
LP-530 upgrate to eigen 3 3 3

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-07-05 19:31:11 +00:00
Jan NIJS
c1aeb9f0c1 LP-536 update comments 2017-07-02 22:37:03 +02:00
Jan NIJS
cb8dd90ad7 LP-536 Fixes (hopefully) for PRN text scaling issue Laurent saw on his PC.
- I resolve the PRN text scaling issue by comparing the scaled text height with the available space.
If there is not enough space available, the scaling factor is updated so the final scale factor fills the available space as much as possible.
If the height limit has been reached, the corrected scaling is applied to both the PRN and the SNR text to keep both about the same size.

- This scaling works fine on my Windows PC. I therefore removed the maximum width limit for the snrwidget. (was 850px)
The snr widget will now take up all available width. This does not mean that individual bars will be scaled to fit the width of the widget.
However I have implemented a two step scaling for that. If there are less than 16 visible satellites, the width of each bar is calculated
based on a total of 16 bars in the view. Just like before my changes. If there are more than 16 satellites visible, the number of bars displayed
is incremented from 16 to 24. An aging based hysteresis has been added to prevent continuous flapping between both states.
I think this solution is aesthetically more pleasing than scaling the width of the bars to the width of the widget.
Especially for low number of satellites. (This solution would show massive bars if only a few satellites are visible)

- Since there was no copyright header in gpssnrwidget.cpp and gpssnrwidget.h, I have added one. The OP line is based on the last changes seen in the OP repo.
2017-07-02 21:29:29 +02:00
Laurent Lalanne
525875f6ff LP-487 Allow the Default button group #1 (PID rate-basic) also reset the RPY Dterm (in advanced tab) to defaults. 2017-07-02 17:29:34 +02:00
Brian Webb
45a267783a LP-537 stm32f10x_flash.h include in f0 pios_flash_internal.c instead of stm32f0xx_flash.h 2017-06-28 18:14:34 -07:00
Jan NIJS
c0964cfdce LP-536 Changes based on feedback to the PR:
- more professional looking toggle code.
- change PRN font to Digital-7
- updated font size factor for SNR PRN text from .56 to .68
- moved a few class includes from the .h to the .cpp file & forward declared QGraphicsSvgItem class in flatearthwidget.h
- hide marker before resize, display it again after resize.
- corrected issue where marker was crawling to the south on continuous resizes.
  Instead of nudging the marker, added a proper forceUpdate parameter to the setPosition() function.
- made sure that only one @author tag is present.
- centered both flatEarth and constellation widgets in their boxes.
- lowered resolution of the map image 1440 -> 1080 & used JPG instead of PNG. Size went from 1105KB on disk to 155KB on disk (PNG version for this resolution is 634KB).
  The resolution change has a minor impact on the level of detail seen in the zoomed view.
- added margin for the SNR widget. Although I start to think the SNR widget isn't all that interesting. Removal may be an option.

- Also removed gridLayout_2 from the top left, leftover from a test.
- Delete scene in the widget destructor. I saw this was done in constellation widget, therefore did the same.
  I used NULL instead of 0. Looks more correct for pointers to me.

What I didn't implement:
- wider bars in the SNR widget when less than the max number of satellites are shown.
  Currently the total width of the SNR widget is limited to 850px. If we go wider with the current implementation, the text becomes too large.
  At this time, I don't have a good idea how to handle that.
2017-06-29 00:12:46 +02:00
Philippe Renon
b405fa8785 LP-530 don't ignore core directories 2017-06-28 10:05:48 +02:00
Philippe Renon
4d73190806 LP-530 GCS: make it possible to switch to msys2 provided eigen lib 2017-06-28 10:05:46 +02:00
Philippe Renon
bac194595d LP-530 GCS config plugin: don't suppress compilation warnings
this requires fixing a minor warning in configvehicletypewidget.cpp
2017-06-28 10:05:45 +02:00
Philippe Renon
f0f89fe2ad LP-530 upgrade to eigen 3.3.3
fixes compilation warnings
2017-06-28 10:05:42 +02:00
Jan NIJS
557e728a00 LP-536 auto-scaling world map as requested by Philippe + lay-out modifications
Includes a nice feature which you will notice if you keep an eye on your cursor ;-)
2017-06-28 03:06:33 +02:00
Jan NIJS
9d6175e68e LP-536 Missed a few 3D conditions in uav.js 2017-06-28 03:06:33 +02:00
Jan NIJS
12062a5c7d LP-536 make pretty 2017-06-28 03:06:32 +02:00
Jan NIJS
a61d87243e LP-536 gpsextendedstatus: change update type from periodic (1s) to on-change.
There is no need to transmit one telemetry update per second for this uavo on controllers where no OP-GPS is present.
For the controllers where an OP-GPS is present, the FlightTime field updates will trigger a telemetry update.
2017-06-28 03:06:32 +02:00