Closed jonaskonig closed 1 year ago
@jonaskonig this occurs usually if you did not source the workspace.
@ipa-cmh ok, that is a hint. I compiled my package with colcon build
, and after it finished, I linked the source via install/setup.sh
.
Is that what you mean? If so, what did I do wrong?
@jonaskonig the error message you get means, that the component manager could not find the component (driver or master_driver) specified in the bus.yml. The device_container uses ROS2's ament index to find the components.
Reason 1: This can be the case if the workspace was not correctly sourced and device_container consequently does not know about the components in your workspace. Reason 2: Could be that in your bus.yml driver and package name for one device do not match with a ros component existing on your system.
If you can launch canopen_tests proxy_setup.launch.py, then it is probably reason 2 and a typo in bus.yml. Check in canopen_tests/config folder to find some examples.
Thank you! I had a typo in my config, and this was the issue.
Describe the bug After launching the package with the ros2 launch command. It fails and dies with the message:
[device_container_node-1] what(): Could not find requested resource in ament index
I don't know what resource it couldn't find, so I'm kind of lost. Maybe someone has a hint here.Logs
Setup: