Open GeorgeBethel opened 7 months ago
Hi @GeorgeBethel ,
Can you share some logs?
You can also try to build it to enable debug logs via:
$ catkin_make -DTMCL_ROS_DEBUG=ON
Is your USB to CAN device being detected/listed properly?
I tried to replicate the "Getting the interface index failed" and it can occur when the USB to CAN is not connected or when its drivers were not properly installed.
You can check it via $ ip link ls
and can0
should be listed there.
Thanks a lot for your response. We want to believe the the USB to CAN has made the CAN available on the network because when I do ifconfig -a, it shows can0 and can1 but the module does not have can0. It only has can1 and can2.
Just to know. Those TMCL-IDE or TMCL motors support the below CAN to USB type
https://www.waveshare.com/product/usb-can-b.htm
What kind of USB to CAN will you recommend if this one doesn't work.
I'm using tmcl-1636 CANopen motor
Looking forward to hearing from you.
On Mon, May 6, 2024, 9:42 AM Jamila Macagba @.***> wrote:
Hi @GeorgeBethel https://github.com/GeorgeBethel ,
1.
Can you share some logs? You can also try to build it to enable debug logs via: $ catkin_make -DTMCL_ROS_DEBUG=ON 2.
Is your USB to CAN device being detected/listed properly? I tried to replicate the "Getting the interface index failed" and it can occur when the USB to CAN is not connected or when its drivers were not properly installed. You can check it via $ ip link ls
— Reply to this email directly, view it on GitHub https://github.com/analogdevicesinc/tmcl_ros/issues/4#issuecomment-2095469318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQ2A7UKZ7C6GC27T4BCAMDZA47ABAVCNFSM6AAAAABHDSYYXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGQ3DSMZRHA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @GeorgeBethel ,
When I run the tnc node with comm_interface set to 0, I get the error initializing interface index failed. I am using a USB to CAN converter https://www.waveshare.com/usb-can-b.htm. what other comm interface numbers are available to use