ros-industrial / ros2_canopen

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

Allow `cogen_dcf` to work on file names different from `bus.yaml` #240

Closed roncapat closed 2 months ago

roncapat commented 6 months ago

Is your feature request related to a problem? Please describe. I have a system which has two separate Canopen buses. I created bus_A.yaml and bus_B.yaml. I can't use dcf_gen because it uses hard-coded bus.yml.

Describe the solution you'd like The possibility to specify an alternative to bus.yml so I can call dcf_codegen twice in CMakeLists.txt

hellantos commented 2 months ago

Generally it should work if you create folders for each bus in your config folder. Checkout canopen_tests package for this.

roncapat commented 2 months ago

Thanks for pointing put, you're right! Closing this one :)