

get access to the first available haptic device

#Chai3d cmake linux dependencies how to
As an example, here is how to initialize a haptic device and connect it with a “tool” that handles the collision detection and response using the algorithm described by Ruspini et al (in Chai3d it is called finger proxy). The example in the header picture with the teapot is 13-primitives, shown above in QtCreator. I prefer the latter, since I like this cross-platform IDE, even for non-qt projects. a visual studio project, or open and configure it directly in QtCreator. Either use cmake-gui to configure and generate e.g. The build system of Chai3D is cmake (there are other pre-made projects but they do not include haptikfabriken support). For Linux it is also straight-forward, just clone, build and make install haptikfabrikenapi first, then continue with Chai3d. The branch also includes windows binaries of haptikfabriken api so you could get started very quickly if you like. The latest release of Chai3d is 3.2, and I have a branch on github for haptikfabriken support. you can easily develop an application that works with haptic devices of different brands.

Chai3D is developed by people from several universities and companies and used for example in courses at University of Calgary and KTH.Ĭhai3D is modular and device agnostic, so one way to use it for only abstracting the haptic device, i.e. Together with the single-file examples it makes it straight-forward to transit from getting-started to making advanced haptic effects, given that you are comfortable programming C++. It is a smaller framework and rely on purely imperative C++. I use it for most small applications I develop these days. In a previous post we discussed H3DAPI as a useful API for creating visuo-haptic applications.
