![]() |
|
#5
|
|||
|
|||
It sounds like you could set this up within a task function and wait for the sensor event to both start and stop the drawing:
Code:
def DrawingTask(): while True: yield viztask.waitEvent(viz.SENSOR_DOWN_EVENT) # start drawing yield viztask.waitEvent(viz.SENSOR_DOWN_EVENT) # stop drawing viztask.schedule( DrawingTask() ) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with Phantom omni | sebzim4500 | Vizard | 3 | 05-26-2016 08:05 AM |
Phantom omni Vs Vizard | blessonisaac | Vizard | 2 | 03-23-2011 02:25 PM |
Phantom Omni Device Scripts | vSuejung | Vizard | 1 | 09-17-2008 04:42 PM |
Phantom Omni Demo | betancourtb82 | Vizard | 1 | 10-17-2006 10:23 AM |
Direct access to phantom omni data | vsully | Vizard | 1 | 03-14-2006 09:44 AM |