ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to use kvaser for schunk lwa4p

asked 2015-03-18 18:58:21 -0600

velardeje1 gravatar image

updated 2015-03-19 09:47:00 -0600

gvdhoorn gravatar image

hi fiends. i'm new on ros and i need to understand how to interact with the lwa4p. somebody can help me?? but i have the "KVASER LEAF ligth 2

i tryed the following: i installed the linuxcan diver for kvaser manually and i changed the name

can0 for leaf0 in the can0.yaml file

then i tryed to run robot.launch and doesnt work :

velarje1@cemie-p02:~/schunk_ws$ rosservice call /arm/driver/init success: data: False error_message: data: CAN init failed

my question is ... do i need to change anything else? or i need to use the peak only for this application? thank you very much

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-04-09 10:22:58 -0600

speloot gravatar image

You need to uninstall the Kvaser drivers in order to use the SocketCAN. SocketCAN gets blacklisted by installing the LinuxCAN.

You may want to take a look at

where I have already explained that.

edit flag offensive delete link more

answered 2015-06-22 09:18:20 -0600

Mathias Lüdtke gravatar image

It might be a little bit too late, but you can find more information on the CAN implementation here:

The current implementation just wraps the SocketCAN net interface (not to be confused with the actual device, maybe we should rename the parameter name). I have tested PEAK and ESD only and both came up as can0, can1 etc.

However, KVASER should be supported since kernel 3.8: If the can-utils work, then ros_canopen should work as well.

edit flag offensive delete link more



I have a Kvaser CAN USB and it shows up as can0 on my system.

ahendrix gravatar image ahendrix  ( 2015-06-22 11:35:58 -0600 )edit

Thanks, good to know :)

Mathias Lüdtke gravatar image Mathias Lüdtke  ( 2015-06-22 12:36:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-03-18 18:57:45 -0600

Seen: 806 times

Last updated: Apr 09 '19