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

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

Closed
SauceQuiPik opened this issue Nov 6, 2023 · 3 comments
Closed

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

SauceQuiPik opened this issue Nov 6, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@SauceQuiPik
Copy link

SauceQuiPik commented Nov 6, 2023

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:

  • Docker image: FROM osrf/ros:humble-desktop as base
  • Device: Thinkpad P15s
  • OS: ubuntu 20.04 LTS
  • ROS-Distro: Humble
  • Branch/Commit: Humble

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

  • source /opt/ros/humble/setup.bash
  • source /canopen_ws/install/setup.bash
  • and of course the bashrc itself

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

  • docker run -it --network="host" canopen_core_1.2 bash
    so i'm assuming that the container network is bind the host one
    I ran commands to have the vcan interface on the host

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

@SauceQuiPik SauceQuiPik added the bug Something isn't working label Nov 6, 2023
@hellantos
Copy link
Member

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

@SauceQuiPik
Copy link
Author

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
Copy link
Member

Good catch. Will fix it asap.

@hellantos hellantos linked a pull request Nov 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants