Custom hardware driver

asked 2014-11-25 14:08:06 -0600

MarkG gravatar image

This is my first attempt at ROS, and I have spent a lot of time researching and reading, but there is one "small" piece that escapes me... Here is my setup

PC (Ubuntu 14.04) Full ROS install <------- Ethernet -------> PC/104 (Ubuntu 14.04) minimal ROS install ..................................................................................................| ..............................................................................................PC/104 Digital I/O card (PCM-3724)

I was able to run roscore on the PC/104, and start turtle_sim_node and turtle_teleop_key on the PC... so far so good.

Now I want to interface to the PCM-3724. What would be the best way to write the write() and read() functions? Do I write a linux device driver and then when I start my new node pass in the /dev/xxx parameter?

Any example code (or links to) of writing and reading would be greatly appreciated!!!

edit retag flag offensive close merge delete