ros-industrial / ros2_canopen

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

Ros2_Canopen w/ Nanotec Controller #175

Closed r9-pena closed 11 months ago

r9-pena commented 1 year ago

Describe the bug I am trying to attach a nanotec controller (CL3-E-2-0F) to operate a BLDC motor (DB42M03). I created a single-motor package configuration using the Canopen tutorial and the Trinamic Stepper Motor example. However, I get the errors shown in the attached images. I would greatly appreciate any help in resolving this issue and getting the motor to operate w/ ROS2.

Logs Add build or execution log for context.

Setup:

Additional context I have also attached a link to the package repository, for any clarification on the code. https://github.com/r9-pena/drive_motor.git

image

hellantos commented 1 year ago

Looks like you do find_package(ros2_canopen) in CmakeLists.txt. ros2_canopen is not a package but a repository containing packages. You probably want find_package(canopen). Also we do not support foxy and the branch is super outdated...

ipa-vsp commented 1 year ago

176 Fixed the package creation command in the documentation.

hellantos commented 11 months ago

This seems to be stale. If you need more support, please feel free to reopen.