4200 Commits

Author SHA1 Message Date
Stefan Breunig 9e06d10b94 prefer selected shape when highlighting vertexes or shapes (#890)
The use case is adjusting shapes by moving their vertexes, even if
they are adjacent or overlapping another shape. Currently always
the "later drawn" shape wins, making it impossible to adjust an
earlier shape without re-creating it. Adjusting existing shapes is
common for review scenarios.

I have experimented with preferring the highlighted shape, but
I found it finicky and less clear as to how the vertex preference
works. JOSM (and OpenStreetMap editor) also uses the "prefer
selected" approach and it works well there.
2022-06-12 10:05:06 -07:00
Stefan Breunig 1fca69f0b3 actually find nearest point of shape (#889)
For any shape with a dimension smaller than 2*epsilon, there can be
multiple potential points to select from. In practice this resulted
in e.g. the top right corner being highlighted when the cursor was
placed below the bottom right corner.
2022-06-12 10:03:14 -07:00
Stefan Breunig e2d758f540 add brightness controls (#888)
Closes #860
2022-06-12 10:01:41 -07:00
Marko Durkovic 0bf94a6238 Add typename guessing to examples 2022-05-25 15:39:47 +02:00
Marko Durkovic abc1acfecb Update gitlab CI config 2022-05-20 11:36:21 +02:00
Marko Durkovic a1fa5c7cfb Release 0.9.11 2022-05-17 23:57:30 +02:00
Marko Durkovic 8cb7a13485 Report start_time and end_time on empty bags 2022-05-17 23:54:10 +02:00
dependabot[bot] 3508a982f5 Bump cirrus-actions/rebase from 1.6 to 1.7 (#1944)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.6...1.7)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 10:49:39 +02:00
matlabbe 3dae0999bb Merge pull request #120 from lucasw/boost_placeholders
Use C++17 if available, and boost::placeholders::_1/_2/_3 instead of deprecated _1/_2/_3
2022-05-09 11:56:34 -04:00
Lucas Walter 270e8581b9 Use C++17 if available, and boost::placeholders::_1/_2/_3 instead of deprecated _1/_2/_3 2022-05-09 07:39:12 -07:00
dependabot[bot] d58ba5e7a7 Bump github/codeql-action from 1 to 2 (#1939)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 22:25:22 -07:00
Zhang Ch. N 861fbe9a2b UX: Increase size of vertex controls around shape (#863)
* Increase shape vertex control size

* Increase canvas epsilon
2022-04-29 23:38:55 -07:00
Marko Durkovic a1afc15dfa Release 0.9.10 2022-04-24 16:12:15 +02:00
Marko Durkovic 9f3da0c2be Fix serialization of empty message sequences 2022-05-04 17:40:50 +02:00
Marko Durkovic c2e676a01f Speed up reading of index data records 2022-04-24 10:11:31 +02:00
Marko Durkovic 926813bf17 Speed up index construction 2022-04-23 11:21:47 +02:00
Marko Durkovic d196e8b74e Add support for rosbag2 version 5 metadata 2022-04-21 15:58:09 +02:00
Marko Durkovic 34ffe96692 Convert connections attribute to list 2022-04-21 15:15:10 +02:00
dependabot[bot] f212505c93 Bump cirrus-actions/rebase from 1.5 to 1.6 (#1929)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.5 to 1.6.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.5...1.6)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 15:07:16 -07:00
Ozan-Alp 1a3313842c Fixed delete selected shape error. (#858)
Co-authored-by: OZAN ALP (096023) <ozanalp@thy.com>
2022-04-15 07:45:42 -07:00
Daisuke Nishimatsu bd7a060e98 use common header instead of io (#361)
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
2022-04-13 13:17:03 -07:00
Marko Durkovic f7d69e35d5 Add all-in-one reader 2022-04-13 13:12:18 +02:00
Marko Durkovic 657032ce9f Add owner field to connection instances 2022-04-13 11:09:30 +02:00
Marko Durkovic d32742b904 Unify rosbag1 and rosbag2 topic information 2022-04-13 10:42:47 +02:00
Marko Durkovic 16d1758327 Unify rosbag1 and rosbag2 connection class 2022-04-13 09:40:22 +02:00
Marko Durkovic dee7e9c2fc Rename rosbag1 connection cid to id 2022-04-12 17:48:11 +02:00
Marko Durkovic 42243eac2d Move indices to dedicated attribute 2022-04-12 17:03:04 +02:00
Marko Durkovic b924fd4642 Add documentation for included types 2022-04-11 14:10:38 +02:00
Marko Durkovic dd357fa3e4 Allow alternative type stores 2022-04-11 12:47:01 +02:00
Sahil Chachra ae37b2daa7 Fix ONNX inference code (#1928) 2022-04-11 12:40:56 +02:00
Marko Durkovic e88241074e Type message definition parsers 2022-04-11 10:46:12 +02:00
dependabot[bot] c2c113e5eb Bump actions/stale from 4 to 5 (#1927)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 10:25:41 +02:00
Marko Durkovic 19f0678645 Update lint 2022-04-11 00:07:53 +02:00
Marko Durkovic 7315a4ab4d Update dependencies 2022-04-10 23:47:10 +02:00
Marko Durkovic 24bea31f38 Update project settings 2022-04-10 23:33:44 +02:00
Marko Durkovic 946f2edb42 Update copyright headers 2022-04-10 23:32:25 +02:00
pre-commit-ci[bot] 8a372c340c [pre-commit.ci] pre-commit suggestions (#1924)
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-04 22:29:34 +02:00
Ivan Santiago Paunovic 27448f7575 Migrate pcd to pointcloud tool (#359)
* Migrate pcl_ros pcd_to_pointcloud tool

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Remove log used for debugging

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Undo unnecessary changes

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Remove commented out code

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Address peer review comments

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* rename node

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
2022-04-04 12:54:29 -07:00
dependabot[bot] 9f9e650bf8 Bump actions/cache from 2.1.7 to 3 (#1920)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 10:37:53 +02:00
nine 784144aa29 Fixes deleting an image (cf. #822) (#861)
Co-authored-by: Erwin Nindl <erwin@nindl.net>
2022-03-27 10:04:09 -07:00
Glenn Jocher 7093a2b543 PyTorch 1.11.0 compatibility updates (#1914)
* PyTorch 1.11.0 compatibility updates

Resolves `AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'` first raised in https://github.com/ultralytics/yolov5/issues/5499 and observed in all CI runs on just-released PyTorch 1.11.0.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update experimental.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-03-10 12:59:47 +01:00
PTA00 0bc7a462d9 [tested]Fixed open file dialog cancel error. (#856)
* Fix

Error "IndexError: list index out of range"  occurs when there is no "predefined_classes.txt".

* Fix an error when default label is null.

Error "IndexError: list index out of range"  occurs when there is no "/data/predefined_classes.txt".

* Update README.rst

ADD: Package as a separate exe file method.

* Fixed an error after opening a file to cancel

The cause of the error:
QFileDialog.getOpenFileName(...) second parameter required cannot be empty.
2022-03-08 21:53:45 -08:00
dependabot[bot] b6f6b5b965 Bump actions/checkout from 2 to 3 (#1912)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 11:43:15 +01:00
dependabot[bot] e6507907f8 Bump actions/setup-python from 2 to 3 (#1911)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 11:42:59 +01:00
PTA00 9e4a4b711e Problems found while packaging as binaries.Has been tested. (#855)
* Fix

Error "IndexError: list index out of range"  occurs when there is no "predefined_classes.txt".

* Fix an error when default label is null.

Error "IndexError: list index out of range"  occurs when there is no "/data/predefined_classes.txt".

* Update README.rst

ADD: Package as a separate exe file method.
2022-03-07 22:56:10 -08:00
tzutalin 0f111e643a Change locale.getlocale() to locale.getdefaultlocale() 2022-03-07 17:54:53 -08:00
tzutalin dd6781656c update translations for zh-CN 2022-03-07 16:55:26 -08:00
tzutalin d685e50269 fix missing imports 2022-02-22 22:23:10 -08:00
Paul Anton Letnes ca3a3accdd remove unused import statements (#845)
To reduce clutter, all unused imports were removed. On the affected
files, imports were also reordered to be PEP8 sorted.
2022-02-17 11:18:21 -08:00
Glenn Jocher 0519223a62 Fix yolov3.yaml remove extra bracket (#1902)
* Fix yolov3.yaml remove extra bracket

Resolves https://github.com/ultralytics/yolov3/issues/1887#issuecomment-1041135181

* Update yolov3.yaml
2022-02-16 10:14:23 +01:00