-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/object detector with aruco marker #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AntoniRL
wants to merge
37
commits into
humble-devel
Choose a base branch
from
feature/object-detector
base: humble-devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
0f37fa3
service setup
AntoniRL 23dd19f
updated pre-commit
AntoniRL caca458
get pose
AntoniRL a46581c
get pose
AntoniRL f19bfab
wip get camera config from ros topic
AntoniRL cc42ad2
update params
AntoniRL 0d4e978
update params
AntoniRL 7f3be5e
camera config from topic
AntoniRL 2e48488
update the camera_frame
AntoniRL cac854a
change the testing program
AntoniRL adab154
update tests - draw pointer
AntoniRL 7861b98
cleaning coments
AntoniRL 77dfb17
get rotation in z axis
AntoniRL e8b76f1
colect data of aruco center
AntoniRL 1356858
bug te error in get pose
AntoniRL 9e2ec76
yaml changes
AntoniRL 75e6d52
cleaning testing and debbuging lines
AntoniRL 97822e0
correct the test scripts
AntoniRL 8eaeb0c
Merge branch 'humble-devel' into feature/object-detector
AntoniRL 434b098
add CHANGELOG
AntoniRL ff03980
cuncle the req in service
AntoniRL 81d2770
order includes
AntoniRL e314e74
snake_case
AntoniRL 11406ab
update message
AntoniRL e01d774
update tests
AntoniRL 6f40d0b
update variable names
AntoniRL 180ae3c
upgrade the quesions
AntoniRL cf32664
update allocating memory
AntoniRL 0e7ccc7
update names of variables
AntoniRL 431ac10
standarize for loops
AntoniRL b495abf
delate all comments
AntoniRL 4c05fcb
sort aplhabetically
AntoniRL 0090414
update CMakeListas
AntoniRL e5691aa
repair tests
AntoniRL 662df35
delate config
AntoniRL db6a739
prek run all files
AntoniRL 4982666
Merge branch 'feature/object-detector' of github.com:AGH-CEAI/scene_o…
AntoniRL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,159 +1,62 @@ | ||
| # Config based on: | ||
| # https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/blob/humble/.pre-commit-config.yaml | ||
| # To use: | ||
| # | ||
| # pre-commit run -a | ||
| # | ||
| # Or: | ||
| # | ||
| # pre-commit install # (runs every time you commit in git) | ||
| # | ||
| # To update this file: | ||
| # | ||
| # pre-commit autoupdate | ||
| # | ||
| # See https://github.com/pre-commit/pre-commit | ||
|
|
||
| repos: | ||
| # Standard hooks | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v4.5.0 | ||
| hooks: | ||
| - id: check-added-large-files | ||
| - id: check-ast | ||
| - id: check-byte-order-marker # Forbid UTF-8 byte-order markers | ||
| - id: check-case-conflict | ||
| - id: check-docstring-first | ||
| - id: check-merge-conflict | ||
| - id: check-symlinks | ||
| - id: check-xml | ||
| - id: check-yaml | ||
| - id: debug-statements | ||
| - id: destroyed-symlinks | ||
| - id: detect-private-key | ||
| - id: end-of-file-fixer | ||
| - id: mixed-line-ending | ||
| - id: trailing-whitespace | ||
|
|
||
| # Python hooks | ||
| - repo: https://github.com/asottile/pyupgrade | ||
| rev: v3.15.2 | ||
| hooks: | ||
| - id: pyupgrade | ||
| args: [--py310-plus] | ||
|
|
||
| - repo: https://github.com/psf/black | ||
| rev: 22.3.0 | ||
| hooks: | ||
| - id: black | ||
| args: ["--line-length=100"] | ||
|
|
||
| - repo: https://github.com/pycqa/pydocstyle | ||
| rev: 6.1.1 | ||
| hooks: | ||
| - id: pydocstyle | ||
| args: | ||
| [ | ||
| "--ignore=D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D401,D404", | ||
| ] | ||
|
|
||
| - repo: https://github.com/pycqa/flake8 | ||
| rev: 3.9.0 | ||
| hooks: | ||
| - id: flake8 | ||
| args: ["--ignore=E501,W503"] | ||
|
|
||
| # CPP hooks | ||
| # The same options as in ament_cppcheck are used, but its not working... | ||
| #- repo: https://github.com/pocc/pre-commit-hooks | ||
| #rev: v1.1.1 | ||
| #hooks: | ||
| #- id: cppcheck | ||
| #args: ['--error-exitcode=1', '-f', '--inline-suppr', '-q', '-rp', '--suppress=internalAstError', '--suppress=unknownMacro', '--verbose'] | ||
|
|
||
| - repo: local | ||
| hooks: | ||
| - id: ament_cppcheck | ||
| name: ament_cppcheck | ||
| description: Static code analysis of C/C++ files. | ||
| stages: [commit] | ||
| entry: env AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS=1 ament_cppcheck | ||
| language: system | ||
| files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$ | ||
|
|
||
| # Maybe use https://github.com/cpplint/cpplint instead | ||
| # TODO(macale) run it before release | ||
| # - repo: local | ||
| # hooks: | ||
| # - id: ament_cpplint | ||
| # name: ament_cpplint | ||
| # description: Static code analysis of C/C++ files. | ||
| # stages: [commit] | ||
| # entry: ament_cpplint | ||
| # language: system | ||
| # files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$ | ||
| # args: ["--linelength=120"] | ||
|
|
||
| - repo: local | ||
| hooks: | ||
| - id: clang-format | ||
| name: clang-format | ||
| description: Format files with ClangFormat. | ||
| entry: clang-format-14 | ||
| language: system | ||
| files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$ | ||
| args: ["-fallback-style=none", "-i"] | ||
|
|
||
| # Cmake hooks | ||
| - repo: https://github.com/cheshirekow/cmake-format-precommit | ||
| rev: v0.6.10 | ||
| hooks: | ||
| # Note: Do not use format - the wrapping function is bugged | ||
| # https://github.com/cheshirekow/cmake_format/issues/180 | ||
| - id: cmake-lint | ||
| args: ["--disable", "C0103"] | ||
| - repo: local | ||
| hooks: | ||
| - id: ament_lint_cmake | ||
| name: ament_lint_cmake | ||
| description: Check format of CMakeLists.txt files. | ||
| stages: [commit] | ||
| entry: ament_lint_cmake | ||
| args: ["--filter=-readability/wonkycase"] | ||
| language: system | ||
| files: CMakeLists.txt$ | ||
|
|
||
| # Copyright | ||
| # TODO: turn on on public code release | ||
| # - repo: local | ||
| # hooks: | ||
| # - id: ament_copyright | ||
| # name: ament_copyright | ||
| # description: Check if copyright notice is available in all files. | ||
| # stages: [commit] | ||
| # entry: ament_copyright | ||
| # language: system | ||
| # args: ['--exclude', 'ur_robot_driver/doc/conf.py'] | ||
|
|
||
| # Docs - RestructuredText hooks | ||
| - repo: https://github.com/PyCQA/doc8 | ||
| rev: 0.9.0a1 | ||
| hooks: | ||
| - id: doc8 | ||
| args: ["--max-line-length=100", "--ignore=D001"] | ||
|
|
||
| - repo: https://github.com/pre-commit/pygrep-hooks | ||
| rev: v1.8.0 | ||
| hooks: | ||
| - id: rst-backticks | ||
| - id: rst-directive-colons | ||
| - id: rst-inline-touching-normal | ||
|
|
||
| # Spellcheck in comments and docs | ||
| # skipping of *.svg files is not working... | ||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: v2.0.0 | ||
| hooks: | ||
| - id: codespell | ||
| args: ["--write-changes"] | ||
| exclude: \.(svg|pyc|drawio)$ | ||
| - repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update | ||
| rev: v0.9.0 | ||
| hooks: | ||
| - id: pre-commit-update | ||
|
|
||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v6.0.0 | ||
| hooks: | ||
| - id: check-added-large-files | ||
| - id: check-ast | ||
| - id: check-case-conflict | ||
| - id: check-executables-have-shebangs | ||
| - id: check-json | ||
| - id: check-merge-conflict | ||
| - id: check-symlinks | ||
| - id: check-toml | ||
| - id: check-xml | ||
| - id: debug-statements | ||
| - id: destroyed-symlinks | ||
| - id: detect-private-key | ||
| - id: end-of-file-fixer | ||
| - id: fix-byte-order-marker | ||
| - id: mixed-line-ending | ||
| - id: trailing-whitespace | ||
| - id: check-yaml | ||
| exclude: joint_limits.yaml # uses custom macro for deg<->rad transformation | ||
| - id: pretty-format-json | ||
| args: ["--autofix", "--no-sort-keys", "--indent", "2"] | ||
|
|
||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: v2.4.2 | ||
| hooks: | ||
| - id: codespell | ||
| args: [-w] | ||
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.15.7 | ||
| hooks: | ||
| - id: ruff-check | ||
| args: [--fix, --exit-non-zero-on-fix] | ||
| - id: ruff-format | ||
|
|
||
| - repo: https://github.com/cheshirekow/cmake-format-precommit | ||
| rev: v0.6.13 | ||
| hooks: | ||
| - id: cmake-format | ||
| - id: cmake-lint | ||
|
|
||
| - repo: https://github.com/pre-commit/mirrors-clang-format | ||
| rev: v22.1.1 | ||
| hooks: | ||
| - id: clang-format | ||
| types_or: [c++, proto] | ||
|
|
||
| - repo: https://github.com/tier4/pre-commit-hooks-ros | ||
| rev: v0.10.2 | ||
| hooks: | ||
| - id: prettier-xacro | ||
| - id: prettier-package-xml | ||
| - id: ros-include-guard | ||
| - id: sort-package-xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| object_pose_detector: | ||
| ros__parameters: | ||
| aruco_size: 0.02 | ||
| image_topic: "/cam_scene/rgb/image_rect" | ||
| cam_info_topic: "/cam_scene/rgb/camera_info" | ||
| output_frame: "base_link" | ||
| cam_frame: "cam_scene_rgb_camera_optical_frame_cal" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.