CHAID 3D + Geomatic Touch + Linux
I am trying to use the Geomatic Touch haptic device with CHAID 3D on Ubuntu 14.04 LTS. I installed the geomatic touch driver, and the calibration and setup executables work properly. However, when I try to test the haptic device using the CHAI examples at /bin/lin-x86_64/(e.g 01-mydevice), the CHAID window shows "no device 0.000 0.00 0.00"
I followed the instructions at CHAID website, but I do not get which is the problem. Most probably I missing something. Has someone any advice or suggestion for this issue?
Here are a few suggestions:
Since CHAI3D uses OpenHaptics to communicate with the haptic device, try first compiling some example that come with OpenHaptics to make sure that the framework is working correctly.
The next step would be to make sure that CHAI3D is correctly communicating with OpenHaptics to access the haptic device. The source file to check can be found here:
In the following method, you can try to uncomment one of the printf statements to monitor if CHAI3D is able to detect the device.
unsigned int cPhantomDevice::getNumDevices()
// create a haptic device handler handler = new cHapticDeviceHandler(); // get access to the first available haptic device handler->getDevice(hapticDevice, 0);
Thanks for the suggestion. Unfortunately seems that OpenHaptics is not working. When I tried to run the examples after connecting the Geomatic and so on, I obtain this message:
Config directory not set correctly.: No such file or directory Config directory not set correctly.: No such file or directory HD Error: HD_COMM_CONFIG_ERROR Configuration Error: Check the base address and port/adapter number. Consult the appropriate device drivers documentation. HHD: FFFFFFFF Error Code: 303 Internal Error Code: -30 Message: Failed to initialize haptic device
As I mentioned before, the device works perfectly with the geomatic touch driver (I can make the calibration of the device and run some examples) however, I don't know what is happening with OpenHaptics. I checked the driver documentation but I didn't find the solution. I wrote the same question in the OpenHaptic forum, but I didn't receive any reply so far.
Do you have any suggestion? Perhaps someone had the same issue in the past
Make sure of course that you are not running their test application simultaneously.
Other than that, the best would be to perhaps directly contact their service support to get further instructions as I am not sure if their forum is still active.
See if the same problems occurs on the other example that come with the OpenHaptics framework.