hauptmech / jr3pci-linux

Imported from https://sourceforge.net/projects/jr3pci-linux/

Home Page:https://sourceforge.net/projects/jr3pci-linux/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imported from https://sourceforge.net/projects/jr3pci-linux/

This is a linux driver for the JR3 force/torque sensor (PCI card), under 2.4 kernels. Currently, two cards are supported:

- Single channel PCI
- Double channel PCI (for two sensors, or one 12DOF sensor)

Only filtered reads and zero offsets setup are supported.

For compiling it, edit jr3pci-driver.h and set PCI_DEVICE_ID_JR3 to be that of your card.
Then, edit the Makefile, and set the path to your kernel sources.
Finally, type 'make'.

The module is compiled in the file jr3pci-driver.o. For inserting it into the kernel, type 'insmod ./jr3pci-driver.o' for kernels <=2.4, or 'insmod ./jr3pci-driver.ko' for 2.6 kernels

After inserting it, look at the green leds of your PCI card. If they are on, you're in chance!!! :)

Also included is a simple test program 'jr3mon' which reads force values infinitelly. For user space programs to work, you must first create the device file into /dev directory with the command:

mknod /dev/jr3 c 39 0

Alternatively, you can try 'make node'.

Problems, suggestions or anything else: mprats@icc.uji.es

About

Imported from https://sourceforge.net/projects/jr3pci-linux/

https://sourceforge.net/projects/jr3pci-linux/

License:GNU Lesser General Public License v3.0


Languages

Language:C 95.6%Language:C++ 1.9%Language:Roff 1.7%Language:Makefile 0.8%