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

Launch large project tutorial fix #4454

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

knmcguire
Copy link
Contributor

Fixes partly this issue from the jazzy tutorial testing: osrf/ros2_test_cases#1151

I can't really figure out why the carrot1 frame is not showing up other than that it is forgotten in the launch file? I still get this error:

[turtle_tf2_listener-6] [INFO] [1715366094.127739162] [listener]: Could not transform turtle2 to carrot1: "carrot1" passed to lookupTransform argument source_frame does not exist.

I could consider fixing this by adding the carrot1 somewhere... or removing all notion of carrot1 all together? I've started a proposal in this ticket to reshape the launch tutorials anyway... #4453.

Anyway, this should at least target Rolling and Jazzy documents.

@knmcguire
Copy link
Contributor Author

Hmm I think I know what went wrong. It's now written in the way that the TF2 tutorials should have gone first. But, the static broadcaster for the carrot1 is missing from the launch file....

I'm now going through the TF2 tutorials to see if I can find an good equivalent to put in the launch file.

@knmcguire
Copy link
Contributor Author

My bad, I accidently removed the broadcaster from carrot1 for the tutorial. Than the PR is done as is and ready for review.

@knmcguire knmcguire marked this pull request as ready for review May 17, 2024 12:33
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Small thing to fix, then this will be good to go in. Sorry for the delay.

…ge-Projects.rst

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
@knmcguire
Copy link
Contributor Author

No problem! I've committed your suggestion so all good to merge :)

@MichaelOrlov
Copy link
Contributor

@clalancette Friendly ping for one more round of review.

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm

@clalancette clalancette added the backport-all backport at reviewers discretion; from rolling to all versions label Aug 21, 2024
@clalancette clalancette merged commit 2a9b2fc into ros2:rolling Aug 21, 2024
4 checks passed
mergify bot pushed a commit that referenced this pull request Aug 21, 2024
* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)
mergify bot pushed a commit that referenced this pull request Aug 21, 2024
* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)
mergify bot pushed a commit that referenced this pull request Aug 21, 2024
* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)

# Conflicts:
#	source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst
clalancette pushed a commit that referenced this pull request Aug 21, 2024
* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)

Co-authored-by: Kimberly N. McGuire <kimberly@bitcraze.io>
clalancette pushed a commit that referenced this pull request Aug 21, 2024
* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)

Co-authored-by: Kimberly N. McGuire <kimberly@bitcraze.io>
clalancette pushed a commit that referenced this pull request Aug 21, 2024
* Launch large project tutorial fix (#4454)

* remove instruction that will fail, inconsistency

* add rviz folder in setup.py

* add warning for missing environment variable

* Update source/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.rst

Signed-off-by: Kimberly McGuire <kimberly@bitcraze.io>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 2a9b2fc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-all backport at reviewers discretion; from rolling to all versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants