ros-industrial / ros2_canopen

CANopen driver framework for ROS2
https://ros-industrial.github.io/ros2_canopen/manual/rolling/
127 stars 52 forks source link

ci402_setup.launch.py' was not found when running example #223

Closed SauceQuiPik closed 7 months ago

SauceQuiPik commented 8 months ago

Hi,

Having issue to run example. I'm new to all of this (I'm an automation developer)

Describe the bug When i want to run the example : ros2 launch canopen_tests ci402_setup.launch.py I have an error : file 'ci402_setup.launch.py' was not found in the share directory of package 'canopen_tests' which is at '/home/canopen_ws/install/canopen_tests/share/canopen_tests'

To Reproduce ROS 2 is running in a container from this image : FROM osrf/ros:humble-desktop as base and i followed installation steps.

Expected behavior I don't know, never was able to run it

Logs file 'ci402_setup.launch.py' was not found in the share directory of package 'canopen_tests' which is at '/home/canopen_ws/install/canopen_tests/share/canopen_tests'

Setup:

Additional context What I have done so far : Created this docker image, Sourced in the ~/.bashrc (inside the container):

I run the generated image (the container) with this command line :

I'm sorry if it's a basic issue for beginner, but i did not find a solution with an shamed amount of hours.

thank you in advance

hellantos commented 8 months ago

@SauceQuiPik can you try cia402_... instead of ci402_setup.launch.py

SauceQuiPik commented 8 months ago

Hi ipa-cmh, it's working... Thank you very much ! In the ros web page of the package, it's written ci402 and not cia402, i just copy-pasted this line...

hellantos commented 8 months ago

Good catch. Will fix it asap.