WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-04-2008, 04:46 PM
TheLostBrain TheLostBrain is offline
Member
 
Join Date: May 2008
Posts: 4
Unhappy Flock of Birds (Only Position Tracking working? No Orientation?)

Hi.

I just downloaded the WorldViz demo and I'm trying to test out the Ascension Technology Flock of Birds Support.

I'm using an ERT so I set the ERC (via dips) as the first bird in the chain..and the bird with the sensor as the second (serial connection is coming from the ERC).

Tested this in Winbird...everything working great... full 6dof!


Tested the following in WorldViz... and I'm only getting position information (x,y,z)...no orientation (yaw,pitch, roll)


import viz
viz.go()
viz.add( 'tut_ground.wrl' )

PORT_FOB = 1
NUM_FOB = 2

ert = viz.add('flockofbirds.dls')
sensor = viz.add('flockofbirds.dls')

viz.link(sensor,viz.MainView)


Am I doing something wrong?

Thanks for any help!

Last edited by TheLostBrain; 05-04-2008 at 04:50 PM.
Reply With Quote
  #2  
Old 05-05-2008, 12:19 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
What dip switch settings are you using?
Reply With Quote
  #3  
Old 05-05-2008, 04:02 PM
TheLostBrain TheLostBrain is offline
Member
 
Join Date: May 2008
Posts: 4
Quote:
Originally Posted by farshizzo View Post
What dip switch settings are you using?
ERC: 11100010
FOB: 11100100

Thanks
Reply With Quote
  #4  
Old 05-05-2008, 06:31 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I think your addresses might be need to be changed. Can you try the following dip switch settings (be sure to repower the device after changing it):

ERC: 11100001
FOB: 11100010
Reply With Quote
  #5  
Old 05-06-2008, 03:27 PM
TheLostBrain TheLostBrain is offline
Member
 
Join Date: May 2008
Posts: 4
Quote:
Originally Posted by farshizzo View Post
I think your addresses might be need to be changed. Can you try the following dip switch settings (be sure to repower the device after changing it):

ERC: 11100001
FOB: 11100010

Dip switch 8 is for FLY/TEST mode.
(0/Off = Fly, 1/On = Test)

Doesn't correspond to the Bird Addressing...

Any other ideas?

Is there some way to test and see the orientation data that Vizard is getting from the bird?

Thanks again
Reply With Quote
  #6  
Old 05-06-2008, 07:46 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
My mistake, your original settings should be fine then. Not sure what the problem could be. We and other customers have successfully used the ERT with our plugin. I remember having a problem with it once though and we had to reset the device, which is different than repowering it. I forget what the reset procedure is, but if you know then you might want to try it out.

Other than linking the sensor to an object, you could manually retrieve and print the data. Example:
Code:
def printEuler():
    print sensor.getEuler()
vizact.onkeydown(' ',printEuler)
Reply With Quote
  #7  
Old 05-10-2008, 08:39 AM
TheLostBrain TheLostBrain is offline
Member
 
Join Date: May 2008
Posts: 4
Fixed!

Finally had a chance to sit down with this again...and managed to get it fixed!
Figured I'd come back and share for anyone else that may wind up experiencing the same issue.


The problem was caused by the bird being in the wrong "mode".
I had previously been playing around in cbird (a dos based utility from Ascension) and the last mode I was testing was "Position".

The issue was resolved when I simply went back into cbird and chose "Position/Angles". As soon as I exited cbird and came back in to Vizard everything was working correctly.


So for those who may not know their way around cbird here are the exact key presses you'd want to do:
  1. 1 (For 115200 baud)
  2. 0 (For no further changes and to enter the main menu)
  3. 15 (For Change Value)
  4. 16 (For FBB Auto Config)
  5. 2 (For the number of birds...this may be different in your case)
  6. Enter Enter (To get out of the status report)
  7. 5 (For Position/Angles)
  8. 1 (For Continuous Point Mode)
  9. N (To not save ASCII data)
  10. Enter Enter (To get back to the main menu)
  11. 0 (To Quit)

Once you've done this simply go back into Vizard and Run your script, etc. and everything should now be working correctly.

FYI: cbird, the user manual and everything else for the Flock of Birds can be obtained here:
ftp://ftp.ascension-tech.com/PRODUCT...k_of_Birds.zip
Reply With Quote
Reply

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
Flock of Birds Elittdogg Vizard 9 10-02-2007 01:53 PM
position tracking with patriot pgagolf Vizard 4 04-19-2007 04:42 AM
PPT vs. VPRN - Position Tracking not Working tmcw Precision Position Tracker (PPT) 21 02-27-2007 03:19 PM


All times are GMT -7. The time now is 11:42 AM.


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