ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Jaguar Motor Controllers + Pandaboard over CAN

asked 2013-03-23 06:52:30 -0600

aman501 gravatar image

updated 2014-01-28 17:15:51 -0600

ngrennan gravatar image


We want to use Jaguar Motor Controllers ( in conjunction with ROS on a Pandaboard running Ubuntu 12.04 LTS. ROS is installed and running, however it is unclear to us what sort of CAN library we should be using. We've found a few options which I will highlight below. The Pandaboard has a DB9 port, so we were hoping to use that to handle the CAN interface with the jaguars. We already have the appropriate adapter.

  1. can_communication ( Seems pretty generic, however documentation is virtually non-existent from what I can tell.

  2. CANOpen_driver ( Documentation even more lacking than can_communication! perhaps I should actually be using a cob_* package like cob_generic_can? (

  3. The last comment there mentioned a ROS node he wrote using the source also in that git.

Any direction/assistance regarding this would be greatly appreciated!


I'm going with option 3, and modifying his code to account for the 2 additional motors. My issue is that his CAN port is "/dev/jaguar". I believe I need a CAN driver for this (what I believe is) file abstraction to work. So, my question to anyone who has built a CAN before, what drivers did you use? Did you need any hardware? I was thinking I could just use the Pandaboard's DB9 port. Will this not work? Do you know of any that do this file abstraction of the bare metal? I've found the following,, which seems to still need a driver, such as the following two:



Am I correct in my understanding here? Do I need one or both of these packages? Do they require hardware such as, PCAN-USB? (which could be option 3 on this list)

Thanks again!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-04 12:52:10 -0600

Just happened upon your question through an unrelated Google search, but (among other things) I'm the maintainer of my work's Linux CAN drivers.

Unfortunately the DB9 connector on the Pandaboard is RS232, not CAN, electrically. Despite having the same connector, it's not going to work (and may damage your Pandaboard, CAN runs at weird voltages). Sorry to be the bearer of bad news.

edit flag offensive delete link more

Question Tools



Asked: 2013-03-23 06:52:30 -0600

Seen: 708 times

Last updated: Jun 04 '13