ros2 / geometry2

A set of ROS packages for keeping track of coordinate transforms.
BSD 3-Clause "New" or "Revised" License
121 stars 197 forks source link

Python files are not packaged #537

Open bverhagen opened 2 years ago

bverhagen commented 2 years ago

Bug report

Required Info:

Steps to reproduce issue

  1. Install ros-galactic-tf2-geometry-msgs

    apt install ros-galactic-tf2-geometry-msgs`
  2. Use it in Python:

    from tf2_geometry_msgs import do_transform_vector3
  3. Run/launch the package

Expected behavior

Actual behavior

Running it gives the following error:

from tf2_geometry_msgs import do_transform_vector3
[behaviour_muxer-6] ModuleNotFoundError: No module named 'tf2_geometry_msgs'

Additional information

# apt install ros-galactic-tf2-geometry-msgs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-galactic-tf2-geometry-msgs is already the newest version (0.17.3-1focal.20220430.140032).
ros-galactic-tf2-geometry-msgs set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# dpkg -L ros-foxy-tf2-geometry-msgs
/.
/opt
/opt/ros
/opt/ros/foxy
/opt/ros/foxy/include
/opt/ros/foxy/include/tf2_geometry_msgs
/opt/ros/foxy/include/tf2_geometry_msgs/tf2_geometry_msgs.h
/opt/ros/foxy/share
/opt/ros/foxy/share/ament_index
/opt/ros/foxy/share/ament_index/resource_index
/opt/ros/foxy/share/ament_index/resource_index/package_run_dependencies
/opt/ros/foxy/share/ament_index/resource_index/package_run_dependencies/tf2_geometry_msgs
/opt/ros/foxy/share/ament_index/resource_index/packages
/opt/ros/foxy/share/ament_index/resource_index/packages/tf2_geometry_msgs
/opt/ros/foxy/share/ament_index/resource_index/parent_prefix_path
/opt/ros/foxy/share/ament_index/resource_index/parent_prefix_path/tf2_geometry_msgs
/opt/ros/foxy/share/tf2_geometry_msgs
/opt/ros/foxy/share/tf2_geometry_msgs/cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_dependencies-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_include_directories-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_targets-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsConfig-version.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsConfig.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsExport.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/environment
/opt/ros/foxy/share/tf2_geometry_msgs/environment/ament_prefix_path.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/environment/ament_prefix_path.sh
/opt/ros/foxy/share/tf2_geometry_msgs/environment/path.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/environment/path.sh
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.bash
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.sh
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.zsh
/opt/ros/foxy/share/tf2_geometry_msgs/package.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/package.xml
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ros-foxy-tf2-geometry-msgs
/usr/share/doc/ros-foxy-tf2-geometry-msgs/changelog.Debian.gz
clalancette commented 2 years ago

In short, we need to merge and release https://github.com/ros2/geometry2/pull/532 and https://github.com/ros2/geometry2/pull/533 for this to work.

lukeschmitt-tr commented 2 years ago

@clalancette Do you have a timeline for the release of these changes for Galactic and Foxy now that they have been merged?