Skip to content
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

Fix ROS1 nodes argparse issue with .launch files #465

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

tsampazk
Copy link
Collaborator

Closes #460.

See discussion in #460 for more details.

This PR applies the fix suggested by @thomaspeyrucain to all ROS1 nodes. The fix was tested and doesn't interfere with running the nodes normally.

@tsampazk tsampazk added the bug Something isn't working label Sep 22, 2023
@tsampazk tsampazk requested a review from passalis as a code owner September 22, 2023 09:39
@tsampazk tsampazk self-assigned this Sep 22, 2023
@tsampazk tsampazk added the test sources Run style checks label Sep 22, 2023
@tsampazk tsampazk linked an issue Sep 22, 2023 that may be closed by this pull request
Copy link
Collaborator

@omichel omichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me.
Thank you.

Copy link
Collaborator

@passalis passalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tsampazk tsampazk merged commit 9a314b7 into develop Sep 22, 2023
23 checks passed
@tsampazk tsampazk deleted the fix-ros1-launch branch September 22, 2023 12:21
tsampazk added a commit that referenced this pull request Sep 25, 2023
@tsampazk tsampazk mentioned this pull request Sep 25, 2023
tsampazk added a commit that referenced this pull request Sep 25, 2023
* init commit

* update readme

* update readme

* fix ros node readme

* fix ros node readmes

* style fixes

* style fixes

* style fixes

* style

* fix ros node data type

* ros data type fix

* fixed unused import

* license fix

* style fix

* style fix

* license fix

* change the way text backbone is defined in demos and ros nodes

* change file path

* added missing import

* ditto

* fixed download paths in python demos

* style fix

* style fix

* fixed ros nodes to be consistent with last changes in speech transcription

* bug fix in ros node

* bug fix

* removed unused function

* Added __init__.py to intent recognition test

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/README.MD

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update docs/reference/intent-recognition-learner.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* updated nltk download path; unittest dataset length; docs; order of methods in learner

* fix error in test

* fix pandas version-related bug

* test

* test

* Added intent recognition dependency on hri msgs and added node to catkin_install_python

* Added intent recognition in ros2 setup.py

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/scripts/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/scripts/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* test fix

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Added fix from #465 to new node

---------

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
lucamarchionni pushed a commit to lucamarchionni/opendr that referenced this pull request Jun 10, 2024
lucamarchionni pushed a commit to lucamarchionni/opendr that referenced this pull request Jun 10, 2024
* init commit

* update readme

* update readme

* fix ros node readme

* fix ros node readmes

* style fixes

* style fixes

* style fixes

* style

* fix ros node data type

* ros data type fix

* fixed unused import

* license fix

* style fix

* style fix

* license fix

* change the way text backbone is defined in demos and ros nodes

* change file path

* added missing import

* ditto

* fixed download paths in python demos

* style fix

* style fix

* fixed ros nodes to be consistent with last changes in speech transcription

* bug fix in ros node

* bug fix

* removed unused function

* Added __init__.py to intent recognition test

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/README.MD

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update docs/reference/intent-recognition-learner.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* updated nltk download path; unittest dataset length; docs; order of methods in learner

* fix error in test

* fix pandas version-related bug

* test

* test

* Added intent recognition dependency on hri msgs and added node to catkin_install_python

* Added intent recognition in ros2 setup.py

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/python/perception/multimodal_human_centric/intent_recognition/demo_speech.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/README.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/scripts/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws/src/opendr_perception/scripts/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Update projects/opendr_ws_2/src/opendr_perception/opendr_perception/intent_recognition_node.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* test fix

* Update src/opendr/perception/multimodal_human_centric/intent_recognition_learner/intent_recognition_learner.py

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Added fix from opendr-eu#465 to new node

---------

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test sources Run style checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

argparse issue with launchfiles
3 participants