#1
|
|||
|
|||
Flock of birds extended range problem
Hi,
I'm using an extended range flock of birds setup. The system is set up so the extended range unit (address 0) is attached to the host via a RS232 serial port and the extended range unit is then attached to the bird unit (address 1) that is receiving all the sensor data. The Extended range and bird units are connected via FBB. I checked the manual and realized that I need to send an "RS232 TO FBB" command to the extended range unit in order for the host to get the sensor data. Can this be accomplished in python? If so, how? Thanks, Robin |
#2
|
|||
|
|||
Hi,
Here is some sample code that we used to get the ERT working here: Code:
import viz viz.go() NUM_FOB = 2 PORT_FOB = 1 #First tracker is the ERT, which does not contain tracking data ert = viz.add('flockofbirds.dls') #Second tracker is the actual sensor bird = viz.add('flockofbirds.dls') |
#3
|
|||
|
|||
Thanks! It works now. I have another question though. Is there any way to make the bird only send position data? I have an inertia cube that Is used for orientation and I only need position data from the bird.
Thanks, Robin |
#4
|
|||
|
|||
Hi,
Are you using the bird/intersense for head tracking? If so, then you can use the following code to use the bird position and intersense orientation for head tracking: Code:
bird = viz.add('flockofbirds.dls') isense = viz.add('intersense.dls') #Create new tracker object that gets position from bird and rotation from isense headTracker = viz.mergeLinkable(bird,isense) #Link tracker to main view viz.link(headTracker,viz.MainView) |
#5
|
|||
|
|||
Perfect. Thanks a lot.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|