Skip to content

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

@YaraShahin

Description

@YaraShahin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions