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

create-new-package creates a dummy package for ROS foxy #206

Open
YaraShahin opened this issue May 4, 2024 · 0 comments
Open

create-new-package creates a dummy package for ROS foxy #206

YaraShahin opened this issue May 4, 2024 · 0 comments

Comments

@YaraShahin
Copy link

Hello

I tried to run the create-new-package command on ros foxy version. During the license setup stage, I get incorrect choices for the license (text such as going, to, create,...) and a package called dummy is created in my src ws. I believe the issue stems from this line: https://github.com/StoglRobotics/ros_team_workspace/blob/master/scripts/_RosTeamWs_Defines.bash?plain=1#L384
since this command execution output differs between different ros2 versions.

I believe the issue is from the different ros version, since when I run this command on ros2 foxy: ros2 pkg create dummy --license ?, it creates a package. However, when I run the same command on ros2 rolling, it correctly shows me different types of licenses. Also the create-new-package command works fine for me for rolling. This error only occurs on foxy

Steps to reporoduce:

  1. Clone the repo & setup auto-sourcing
  2. setup-ros-workspace and choose foxy
  3. _workspace && cd ./workspace && source ./install/setup.bash && cd src
  4. create-new-package pkg_foxy pkg_foxy_description and choose 1 for standard package and 2 for git global info config
  5. You'll get weird choices for the license and you'll find dummy package created in the source workspace directory.

Please let me know if you could reproduce this issue or if there's an issue with my setup. I know ros-foxy is officially eol but the tool says that it's supported.

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

No branches or pull requests

1 participant