Closed Xahkarias closed 4 years ago
@Xahkarias - Can you please provide the full output of the following commands?
ls /usr/src | grep -E 'kvaser|linuxcan'
rosrun kvaser_interface list_channels
rosrun kvaser_interface canmonitor 0
(while running the driver)
rosparam get /kvaser_can_bridge/can_hardware_id
Also, please provide information on how you installed the Kvaser driver.
My apologies, it turns out that the computer I was running on did not automatically run $ source devel/setup.sh
upon opening the terminal.
The issue was resolved once I realized this.
Hello, I am receiving an error message similar to that of Issue #12 . Through usage of the ROS_WARN() command, I have verified that my
hardware_id
andcircuit_id
are correct, and initialization passes until it reachesif (canSetBusParams(*handle, freq, 0, 0, 0, 0, 0) < 0) return ReturnStatuses::BAD_PARAM;
in
kvaser_interface.cpp
which returns BAD_PARAM and kills initializationUsing Ubuntu 16.04 LTS Running
listChannels
on fromlinuxcan
confirms that I have the correct hardware id, and that my Kvaser device is recognizedI do not fully understand the documentation of
canSetBusParams
on Kvaser's website, and am looking for any available help.