Skip to content

Python cmake example not working #175

Closed
@Timple

Description

@Timple

Minimal reproducable dockerfile:

FROM ros:iron
SHELL [ "/bin/bash", "-c" ]
RUN git clone https://github.com/PickNikRobotics/generate_parameter_library /root/catkin_ws/src/generate_parameter_library
RUN apt-get update -qq && rosdep update && rosdep install --from-paths /root/catkin_ws/src --ignore-src -r -y
WORKDIR /root/catkin_ws
RUN source /opt/ros/iron/setup.bash && colcon build --packages-up-to cmake_generate_parameter_module_example
RUN source install/setup.bash && python3 src/generate_parameter_library/example_cmake_python/cmake_generate_parameter_module_example/minimal_publisher.py --ros-args --params-file src/generate_parameter_library/example_python/config/implementation.yaml

Especially the installation in ./install/cmake_generate_parameter_module_example/local/lib/python3.10/dist-packages/cmake_generate_parameter_module_example/admittance_parameters.py looks suspicious as typical python modules are installed in the same path with /local.

Any ideas @pac48 ?

Metadata

Metadata

Assignees

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