![]() |
#2
|
|||
|
|||
The InitializeSensor function is where you should initialize the connection to the device. You should set the status variable of the senor structure to TRUE or FALSE depending on if the initialized succeeded or failed.
The UpdateSensor function is called every frame and this is where you will place the tracking data into the data variable of the sensor structure. Finally, the CloseSensor function is called when the script shuts down. This where you would disconnect from the device and cleanup your plugin. |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a Vizard Sensor Plugin | farshizzo | Plug-in development | 25 | 08-01-2019 12:24 AM |
Sensor callback to the wii mote buttons | shivanangel | Vizard | 3 | 03-14-2008 09:45 AM |
wiimote and sensor bar | masaki | Vizard | 1 | 03-06-2008 03:07 PM |
Multiple Copies of same sensor plugin | RedSpikeyThing | Plug-in development | 2 | 02-12-2008 02:10 PM |
using sensor data in Physics1.py | Eunice | Vizard | 4 | 01-03-2006 05:18 AM |