Closed pgupta2050 closed 2 years ago
Hi @pgupta2050, there is currently an issue with our kvaser-drivers-dkms
package, it doesn't work with the latest Ubuntu kernel version 5.13.0-27. This was discovered about 2 weeks ago and a fix is in-progress.
Until this is fixed, you currently have two options:
5.11.0-40
, that version of the linux kernel is known to work with the kvaser packages. After downgrading, make sure the kvaser-drivers-dkms
package installs successfully.socketcan_bridge
ROS package instead of this kvaser_interface
package. It looks like you already have the socketCAN kvaser driver working if you are able to candump can0
, so maybe this is your best option for now. More info can be found here: http://wiki.ros.org/socketcan_bridgeThanks @icolwell-as. I am going with option 2 for now and it works. I have can frame topics being published over ROS now. Cheers.
Glad to hear you got it working!
Hello, I am trying to set up this ROS package and the corresponding Kvaser CANLIB API on Ubuntu 20.04, ROS Noetic; Kernel: 5.13.0-27-generic. I am using Kvaser Leaf Light v2.
I have attempted to install the Kvaser drivers using both methods (astuff PPA and source install with dkms) but I see the same results. Even though I can bring up the CAN interface with the appropriate baud-rate and print the CAN traffic to terminal using the
candump can0
utility, The CANlib can not find available channels.The ROS package thus shows:
I tried rebooting the system after the install, but it doesn't help.
Note:
And I have been able to do all this successfully in the past with Ubuntu 18.04 + ROS Melodic, on the same hardware. Is there a way to understand what is going wrong here?
Thanks!