Ask Your Question

ROS_CanOpen Ixxat USB to can converter

asked 2018-08-07 06:55:14 -0600

Henne gravatar image

Hello, I want to use ros_canopen package to communicate via can. The communication should be done via a USB to can converter from the company Ixxat. Which steps are necessary to use the converter?

Thanks for your answer.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-08-10 04:31:19 -0600

Mathias Lüdtke gravatar image

Looks like Ixxat supports SocketCAN for some devices. If you can use that, everything should work as usual.

If not, you could provide your own driver plugin for canopen_motor_node (for motor drives).
Unfortunately, there is still no support for these plugins in the bridge nodes (Issue).

edit flag offensive delete link more


Thanks for your answer. The SocketCan driver works. But if I want to compile the canopen package via catkin, then I get an error. /usr/include/c++/5/bits/hashtable_policy.h: error: no match for call to '(const std::hash<canopen::motorbase::operationmode>) ... Followed by many other errors..

Henne gravatar imageHenne ( 2018-08-17 04:45:30 -0600 )edit

Are you sure you are compiling the kinetic-devel branch? Not the melodic-devel one?

gvdhoorn gravatar imagegvdhoorn ( 2018-08-17 04:47:03 -0600 )edit

where can i see this? and where can I get the right version?

Henne gravatar imageHenne ( 2018-08-17 04:56:29 -0600 )edit

If you've cloned the repository using git clone, then a git status or git branch should show you which particular branch is currently checked out.

If you've downloaded a zip from github, the branch name should be part of the filename.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-17 05:17:23 -0600 )edit

Also: please make sure you actually have to build the packages yourself. Otherwise just use apt to install them.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-17 05:18:21 -0600 )edit

Thanks for your answer. I downloaded it now as a correct zip file and then it works. When I clone it, it always downloads the melodic version. Thanks!

Henne gravatar imageHenne ( 2018-08-17 06:18:38 -0600 )edit

When I clone it, it always downloads the melodic version.

No, it downloads all versions, but melodic-devel is the default branch, so that one is 'active'.

You'll need to checkout the correct branch.

But again: make sure you actually need to build things from source.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-17 06:21:32 -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



Asked: 2018-08-07 06:55:14 -0600

Seen: 235 times

Last updated: Aug 10 '18