WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-19-2007, 01:38 PM
Atul Thakur Atul Thakur is offline
Member
 
Join Date: Oct 2007
Posts: 15
Flock of Birds

Hi,
I am new to this community. I am using Flock of Birds (FOB=1). Following is the simple scripts I am trying
PHP Code:
import viz
viz
.go()
BAUD_FOB 38400
PORT_FOB 
1

sensor 
viz.add('flockofbirds.dls')

def mytimernum ):
    print 
sensor.getPosition()

viz.callbackviz.TIMER_EVENTmytimer )
viz.starttimer00.5viz.FOREVER 
The output expected is the dynamic positions of Wanda as I move it. But I am getting same coordinates repeated.
However, if I run the script again, I get the new coordinates <which shows that hardware works fine>, repeating again.
Not sure what is the mistake in the code, I am making.
Someone, kindly help.

-Atul
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flock of Birds recognized, but no data sent sjroorda Vizard 9 03-01-2016 08:48 PM
Flock of Birds question (again) Elittdogg Vizard 24 12-04-2007 09:37 AM
Using vrpn_server with Flock of birds sylvain Precision Position Tracker (PPT) 3 11-30-2007 09:45 AM
Flock of Birds Elittdogg Vizard 9 10-02-2007 01:53 PM
Adding more than one Flock of Birds asimbh Vizard 3 12-15-2006 01:48 AM


All times are GMT -7. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC