![Force Dimension sigma.7 haptic device User Manual Download Page 19](http://html1.mh-extra.com/html/force-dimension/sigma-7-haptic-device/sigma-7-haptic-device_user-manual_2317041019.webp)
7.4
running the demonstrations programs
Two demonstration programs can also be used to diagnose the device. The source code and an
executable file for each of the demonstration programs are provided in two separate directories
named
\gravity
and
\torus
.
Once the system is setup, we suggest running
gravity
to check that every thing is working
properly and to evaluate your system's performance independently of the graphics rendering
performance.
torus
will allow you to test the combined performance of haptics and graphics
rendering.
gravity example
This example program runs a best effort haptic loop to compensate for gravity. The appropriate
forces are applied at any point in space to balance the device end-effector so that it is safe to let
go of it. The refresh rate of the haptic loop is displayed in the console every second.
figure 6 – gravity example
19