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

15620 Commits

Author SHA1 Message Date
Laurent Lalanne
1fd91caa29 LP-572 Add buttons to the right: Save, clear trail, PathPlan editor, Home set 2018-04-15 19:11:11 +02:00
Laurent Lalanne
40f669b232 LP-572 Add new icons to OPMap 2018-04-15 19:11:11 +02:00
Laurent Lalanne
b92d077555 LP-573 Workaround for duplicate Home/Safearea display 2018-04-15 19:11:11 +02:00
Laurent Lalanne
f5d36cca1b LP-572 Udpate map 2018-04-15 19:11:07 +02:00
Philippe Renon
ed36165706 Merged in filnet/librepilot/LP-566_osgearth29_upgrade (pull request #498)
LP-566 upgrade to osgEarth 2.9

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-15 14:46:33 +00:00
Philippe Renon
a847790051 Merged in filnet/librepilot/LP-594_windows_update_gstreamer_1_14_0 (pull request #507)
LP-564 windows: upgrade to gstreamer 1.14.0
2018-04-15 14:46:21 +00:00
Laurent Lalanne
bbb0c7fb25 LP-593 firmwareIAP cleanup, remove code for old AHRS 2018-04-12 14:55:08 +02:00
Philippe Renon
6e8f338034 LP-567 store/restore tree expansion state 2018-04-12 09:19:21 +02:00
Philippe Renon
077d1e89d1 LP-567 reduce default highlight timeout from 500ms to 300ms 2018-04-12 09:19:20 +02:00
Philippe Renon
96cf07e77d LP-567 added comments and const correctness 2018-04-12 09:19:19 +02:00
Philippe Renon
64dfc358f8 LP-567 add new highlightTopTreeItems property
false by default and not accessible through the UI...
2018-04-12 09:19:18 +02:00
Philippe Renon
7996675708 LP-571 change generic instance tree node name to actual object name
the other LP-571 issue is addressed by LP-567
2018-04-12 09:19:17 +02:00
Philippe Renon
bf3ce97e32 LP-567 fix crash when connected and switching back from categorized mode
crash was due to highlight manager still referencing destroyed category tree items
2018-04-12 09:19:16 +02:00
Philippe Renon
738171e4a6 LP-567 fix compilation errors with older compilers 2018-04-12 09:19:15 +02:00
Philippe Renon
e215e6fd2e LP-567 use common timestamp when updating an object and its field
this ensures that highlihhting will be synchronized
2018-04-12 09:19:14 +02:00
Philippe Renon
f27258a598 LP-567 rewrite uavobjecttreemodel to better handle dynamic changes
don't rebuild the model when toggling options (categories, meta, scientific notation)
fixes a number of issues when adding/removing/removing items dynamically
for example, new object instances would not appear if added dynamically

selection and expansion states are not lost when toogling options
note that toggling categories is not really well behaved concerning expansion state...
2018-04-12 09:19:13 +02:00
Philippe Renon
a02bea9aed LP-567 simplify highlight management
it is now the HighlightManager that will emit the highlight related signals
TreeItem don't need to be QObjects anymore

also fix crashes after changing display options and rebuilding the tree model
2018-04-12 09:19:12 +02:00
Philippe Renon
3f7dcab185 LP-567 telemetry: fix typo in comments 2018-04-12 09:19:11 +02:00
Philippe Renon
5c746fb28a LP-567 uavtalk: show object id has hex in log message 2018-04-12 09:19:10 +02:00
Philippe Renon
d28cf2a070 LP-567 fix spurious Settings node expand when selecting a Data item
was due a regression in the parent() method
2018-04-12 09:19:09 +02:00
Philippe Renon
0a40850574 LP-567 avoid too many QString creations when generating string/hex for array fields 2018-04-12 09:19:08 +02:00
Philippe Renon
32ce9bfea9 LP-567 don't create a QSpinBox each time BrowserItemDelegate::sizeHint() is called 2018-04-12 09:19:07 +02:00
Philippe Renon
9f71b941ed LP-567 factorize common code up into FieldTreeItem
derived classes are simpler
2018-04-12 09:19:06 +02:00
Philippe Renon
6ded0d0b7a LP-567 improve treeitem const correcteness 2018-04-12 09:19:05 +02:00
Philippe Renon
849f7845a1 LP-567 fix performance issue (high CPU) when highlighting items
we now emit data changes column by column
emitting a dataChanged that spans multiple columns kills performance (CPU shoots up)
this is probably because we configure the sort/filter proxy to be dynamic
this happens when calling setDynamicSortFilter(true) on it which we do
2018-04-12 09:19:03 +02:00
Philippe Renon
4c40d7f620 LP-567 uavobjectbrowser: change updated timeout to 300ms 2018-04-12 09:19:02 +02:00
Philippe Renon
ca1ebc7cba LP-567 uavobjectbrowser: improve highlight handling
keep track of when to check highlight and schedule timer accordingly
old way would do that at a fixed periodicity leading to aliasing
2018-04-12 09:19:01 +02:00
Philippe Renon
7b59adb672 LP-564 windows: upgrade to gstreamer 1.14.0 2018-04-12 09:18:12 +02:00
Laurent Lalanne
4c83f0a844 LP-593 Set firmware Crc at init 2018-04-11 19:32:09 +02:00
Laurent Lalanne
877177ab51 LP-593 Basic check for firmware, tagged and matched firmware with GCS 2018-04-11 19:31:51 +02:00
Laurent Lalanne
54b3080479 LP-590 Store BoardRotation as float value 2018-04-11 12:35:17 +02:00
Laurent Lalanne
de6b29c6a1 LP-590 Store and clear BoardLevelTrim while calibrating accelerometers 2018-04-11 12:35:12 +02:00
Philippe Renon
ff28e631a8 LP-566 upgrade to osgEarth 2.9
fixes a compilation error related to elevation query

older versions of osgEarth are still supported

note that osgEarth is currently broken on windows probably due to Qt upgrade
more fixes are on their way...
2018-04-10 22:47:55 +02:00
Laurent Lalanne
411512fa62 LP-572 Update context menu from configuration settings, max update rate user-configurable 2018-04-10 19:54:17 +02:00
Laurent Lalanne
16cca00f21 LP-572 Make safe area user-configurable 2018-04-10 19:54:17 +02:00
Laurent Lalanne
debddb5c0b LP-572 Enable the isSet option for HomeLocation in Attitude tab, add tooltip. 2018-04-10 19:54:17 +02:00
Laurent Lalanne
b2b6e58b68 LP-572 Handle HomeLocation.Set flag and update Home picture according to status 2018-04-10 19:54:17 +02:00
Laurent Lalanne
fd92c900a8 LP-572 Apply HomeLocation only when OK button pressed (ignored on Cancel) 2018-04-10 19:54:17 +02:00
Laurent Lalanne
f51e7d3688 LP-572 Fix Home position on map when OPMap config is updated 2018-04-10 19:54:17 +02:00
Laurent Lalanne
121aaa08b7 LP-572 String fixes, capitalization. 2018-04-10 19:54:16 +02:00
Laurent Lalanne
5b1b127ad0 LP-572 Move MagicWayPoint in map and keep inside safe area 2018-04-10 19:54:16 +02:00
Laurent Lalanne
16d22e28d2 LP-572 Change the setCoord() threshold from 11m to 21cm 2018-04-10 19:54:16 +02:00
Laurent Lalanne
fada2f659c LP-572 Made Pathplanner editor more readable + typo fix 2018-04-10 19:54:16 +02:00
Laurent Lalanne
c8f81b9956 LP-572 WP Editor: Add online help. Fixes + display WPnumber while browsing between tabs. 2018-04-10 19:54:16 +02:00
Laurent Lalanne
c3d840ad63 LP-572 WP Editor: Add Apply button 2018-04-10 19:54:16 +02:00
Laurent Lalanne
5a18205f36 LP-572 Ressource cleannup lib/opmap - Fix UAV markers size and WP marker names 2018-04-10 19:54:16 +02:00
Laurent Lalanne
9fcebfe2c9 LP-590 Zero BoardLevelTrim values while doing GyroBias calibration 2018-04-07 11:01:29 +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
Lalanne Laurent
de7f4548ee Merged in f5soh/librepilot/LP-575_fedora_package (pull request #491)
LP-575 Fedora 26 and 27: remove unused qtquick, fix debugfiles error

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-06 15:31:34 +00:00
Lalanne Laurent
1af07c9958 Merged in f5soh/librepilot/LP-306_Artful_Ubuntu_PPA_fix (pull request #493)
LP-306 Launchpad: Build-deps for Ubuntu Artful

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-06 15:31:18 +00:00