#1
|
|||
|
|||
Flock of Birds recognized, but no data received
Using the trial version of Vizard 2.51 (running Windows XP) to see if it addresses my needs, I try to add tracker functionality. I have a Flock of Birds (Ascension), and it is recognized by Vizard, but no data is received. Are there any known problems with this tracker?
Neither an example program works, nor the script made using the tutorial. My code: Code:
sensor = viz.add('flockofbirds.dls'); sensor.reset(); viz.tracker(); Output of Vizard is flockofbirds.dls - WorldViz Flock of Birds Driver v0.1 Using FoB with another program works well! Last edited by sjroorda; 04-21-2005 at 07:33 AM. |
#2
|
|||
|
|||
Our FOB plug-in is admittedly not the most sophisticated. It limits include a single bird operation and hard-coded settings such as COM1 at 115.2kbs. I'm copying the C code below that initializes and updates the Bird below. Perhaps by looking at our initialization statements, you'll see what might be causing yours to not work.
A preferred method to connect to a FOB is to use the open-source VRPN protocol. Vizard fully support VRPN devices and from our experience most users are pleased with the results they get from this method. We have a small redistribution of VRPN along with a sample Vizard script that you can immediately download and test out. You'll need to edit the vrpn.cfg file to connect to a FOB rather than run in the test mode which it's in right now (see the readme.txt file). You can download the VRPN demo here: http://www.worldviz.com/download/index.php?id=19 If you have any further troubles, please don't hesitate to ask further questions. Here's the guts of the Vizard FOB plug-in: PHP Code:
|
#3
|
|||
|
|||
Thank you for this code. I tried a little, and found out it the problem wasn't Vizard directly, but the FoB itself. I don't know the exact problem yet, but after having played with the program WinBIRD that was delivered with the Flock of Birds, after a while Vizard worked, too. Strange, but nice...
|
#4
|
|||
|
|||
Our Ascension Flock of Birds plug-in now works well with 1 or more birds. The plug-in expects the Flock of Birds system to be in normal address mode and will not work in other modes (plug-in attached in following message).
Vizard parameters are: NUM_FOB = 1 or 2 PORT_FOB = 1 (default) BAUD_FOB = 115200 (default) In normal address mode, you enter a binary number using dip switches 4, 5, 6, 7 to adjust the bird stack to how many birds are present. If only 1 bird is present, then set all to 0. Otherwise, set each bird box according to its sequential number. Baud rate is set with dips 1,2,3. For the default mode (115.2kbs), leave 1,2,3 ON (which is the DOWN position). The transmitter should be plugged into the first bird in the chain. The RS-232 null model cable should also come off the first bird in the chain. When changing bird settings, switch to STBY before changing, then back to FLY after changing. After Vizard has connected to the bird/s, then the status light will glow red and stay on. Here's a sample script: PHP Code:
|
#5
|
|||
|
|||
New Flock of Birds plug-in
Place this file in your vizard25/plugins folder, replacing the existing file. This adds the functionality described in the previous message.
|
#6
|
|||
|
|||
What is the event associated to the Bird? How can I map and implement a new behaviour of those events.
Best Regards. Giancarlo Amati |
#7
|
|||
|
|||
Hello everybody,
I have the following question: I connected 2 FlockOfBirds together and set the NUM_FOB = 2 now I create two tracker linked to two spheres. The Vizard does not warn with any error message, so I suppose it is able to recognize 2 FOB but, the two sphere are not sinchronized with the FOB. It seems that Vizard receives only zeros parameters. Any Idea about that? Thank you so much |
#8
|
|||
|
|||
In earlier posts you seem to have indicated that you got your FOB working with Vizard. Can you summarize what does and what does not work for you? If you've modified the sample script above in any way, could you please post your script so that I may look at it.
Also, are you getting any sign of life from the FOB from the indicator lights? |
#9
|
|||
|
|||
tobin,
"You can download the VRPN demo here: http://www.worldviz.com/download/index.php?id=19 " : Forbidden You don't have permission to access /download/ on this server. Apache/2.2.22 (Ubuntu) Server at www.worldviz.com Port 80 Not work link, please link Thank. |
#10
|
|||
|
|||
The ascension plug-in is included with Vizard. There is no need for an additional download to use the flock of birds.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|