Next Previous Contents

4. Testing your Installation

If everything compiled alright and if you followed all the previous steps, you should now be able to test your phantom module. Please be sure to have the 'kill switch' at hand as we cannot accept responsibility for any damages you cause to the phantom or the phantom causes to you *eg*.

Before you start any programs, you might want to calibrate your phantom using the ph_reset application in the tests subdirectory of your phantom driver module installation. You also might have to create an alias to the correct phantom device: ln -s /dev/phantomISA0 /dev/phantom. Please be sure to replace 'phantomISA0' with the device corresponding to your model. Also be sure that you have inserted the phantom module using the correct parameters (iobase corresponding to the DIP-Switch on your interface board, as mentioned before).

Some demo applications are located in the tests subdirectory of the phantom driver package. A good starting point probably is 'dr_test'. Please run it as root, as the priority change routines for the RTLinux thread require root rights. Be sure to play around with the various #defines in the source. Initially, you should be able to feel a sphere rendered right at the [0 0 0] coordinates of your phantom.


Next Previous Contents