Skip to content

fix "ros2 invalid choice: 'launch'" by rosdep install #293

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

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Conversation

ARK3r
Copy link
Contributor

@ARK3r ARK3r commented Jun 1, 2023

While trying to add dockerfiles for this repo it was throwing this:

ros2: error: argument Call `ros2 <command> -h` for more detailed usage.: invalid choice: 'launch'

Solution inspired by:
https://github.com/ros-controls/gz_ros2_control/blob/master/gz_ros2_control_demos/package.xml#L36

the other launch deps are not needed since they are already listed for ros2launch.

@ARK3r
Copy link
Contributor Author

ARK3r commented Jun 1, 2023

humble had the same issue. Do i make a seperate pr for that or is there some github magic I'm not aware of?

@christophfroehlich
Copy link
Contributor

humble had the same issue. Do i make a seperate pr for that or is there some github magic I'm not aware of?

Normally, we trigger a backport manually after it is merged to the master branch.

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Never had a installation before without that being installed..

@christophfroehlich christophfroehlich merged commit eb60429 into ros-controls:master Jun 1, 2023
@christophfroehlich
Copy link
Contributor

@Mergifyio backport humble

@ARK3r
Copy link
Contributor Author

ARK3r commented Jun 1, 2023

ye I'm working on the docker file and it was saying ros2 doesn't have a launch command my brain went ??????

@mergify
Copy link
Contributor

mergify bot commented Jun 1, 2023

backport humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jun 1, 2023
(cherry picked from commit eb60429)
christophfroehlich pushed a commit that referenced this pull request Jun 1, 2023
(cherry picked from commit eb60429)

Co-authored-by: Reza Kermani <kermani.areza@gmail.com>
@ARK3r ARK3r mentioned this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants