Go to Post Steampunk goggles are perfectly legal as forehead protectors. - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-01-2007, 18:32
kwilliam's Avatar
kwilliam kwilliam is offline
Registered User
FRC #1038
 
Join Date: Jan 2007
Location: Ohio
Posts: 8
kwilliam has a spectacular aura aboutkwilliam has a spectacular aura about
Question User_Bytes taken over by breakers?

Our team is using the .NET (2.0) Composite Dashboard Viewer to get servo and PWM data from the robot while it is running. It is supposed to let you view the camera centroid and bounding box too, but that isn't working. According to the page on the Composite Dashboard Viewer, the camera data needs to be mapped to the dashboard packet as follows:

user_byte1 = x
user_byte2 = y
user_byte3 = x1
user_byte4 = y1
user_byte5 = x2
user_byte6 = y2

I could probably figure out how to set these values, but then I noticed this in ifi_aliases.h:

Quote:
#define User_Byte1 txdata.user_byte1.allbits
#define User_Byte2 txdata.user_byte2.allbits
#define User_Byte3 txdata.user_byte3 /* This byte is now used for breaker panel byte 3 */
#define User_Byte4 txdata.user_byte4 /* This byte is now used for breaker panel byte 4 */
#define User_Byte5 txdata.user_byte5 /* This byte is now used for breaker panel byte 5 */
#define User_Byte6 txdata.user_byte6 /* This byte is now used for breaker panel byte 6 */
Is this breaker thing hardwired in the controller, so that we only get two User Bytes this year? Or is there a way to overwrite user bytes 3 through 6 with the camera data anyway?
 


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

vB 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
Looking for Picture taken at LA Regional Phil_Lutz Regional Competitions 2 14-04-2004 18:54
pic: this picture was taken on 2/19/04 CD47-Bot Robot Showcase 5 24-02-2004 10:40
Autodesk hath taken pity on us... RachelOfMars 3D Animation and Competition 2 05-04-2003 11:12
firstrobotics.org taken by spammers SlamminSammy General Forum 6 06-10-2002 20:23
Picture taken at nats David Kelly Championship Event 1 22-06-2001 12:25


All times are GMT -5. The time now is 04:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi