View Single Post
  #3   Spotlight this post!  
Unread 22-09-2011, 19:58
James Critchley James Critchley is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2010
Location: Lake Orion, Michigan
Posts: 45
James Critchley is an unknown quantity at this point
Re: Team 302's Off-Season Robotics Programming Competition

John,

The values you are looking for are sent to the Image Generator (IG) in exactly the same way messages are sent and received in the LabVIEW code.

If you want to peek at them you can setup another IG in the VIRSYS config (text) files (physics.txt?). Set the number of IGs from 1 to 2 and duplicate the IG definition using different ports... Make the last digit "4" as I believe 1,2,and 3 are already in use). The information you're looking for will go out on/to this port.

Then all you need to do is setup a listener in LabVIEW exactly the same way the sensors are read (but you must match the port you sent the extra IG message out to). This message SHOULD be <timestamp, x, y, z, heading, pitch, roll, arm angle, wrist angle, clamp on/off> where x,y,z are in inches, x is down the field, y to the left and z up. heading pitch and roll are in radians and appear in that order and right handed about "body fixed" axes. Note that this signal is 11 floats (singles) long, so you also need to update the receive array size.

This is a good feature to have but you really don't NEED it. If you implement it please send your project file and config file to the VIRSYS e-mail address and I'll get it onto the website. It's a great request so if you really want us to do it, just let us know. Give us a few days to coordinate who will do it then get it done.

There are still LOTS of questions to answer, so keep them coming!