Go to Post Defense shall reign supreme. - Corey Balint [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-04-2006, 16:10
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Dashboard - User Bytes

Hi, I noticed that the User Bytes were sent in multiple dashboard frames. Is there any way to utilize this in order to send more information through the dashboard port?

Like, have

User_Byte2 = 5 in the Extended Frame (Frame 2)

and
User_Byte2 = 7 in the Status Frame (Frame 3)

?

Thanks,
__________________
  #2   Spotlight this post!  
Unread 19-04-2006, 06:33
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Dashboard - User Bytes

Quote:
Originally Posted by dhoizner
Hi, I noticed that the User Bytes were sent in multiple dashboard frames. Is there any way to utilize this in order to send more information through the dashboard port?
Thanks,
One way of sending extra information to the dashboard port is to load up all the unused PWM ports with values. If nothing is connected to the RC ports it doesn't seem to matter, but the values get sent.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #3   Spotlight this post!  
Unread 19-04-2006, 19:45
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: Dashboard - User Bytes

Quote:
Originally Posted by BradAMiller
One way of sending extra information to the dashboard port is to load up all the unused PWM ports with values. If nothing is connected to the RC ports it doesn't seem to matter, but the values get sent.
If the PWM output port isn't connected, it won't have any effect on the robot. However, you probably should give a little thought as to how you do this. If you're sending purely arbitrary values in unused PWM bytes and the user bytes, you could end up with additional 0xFF, 0xFF byte pairs that could make your start of frame detection algorithm more complex or unreliable.
  #4   Spotlight this post!  
Unread 20-04-2006, 05:10
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Dashboard - User Bytes

Quote:
Originally Posted by TimCraig
If the PWM output port isn't connected, it won't have any effect on the robot. However, you probably should give a little thought as to how you do this. If you're sending purely arbitrary values in unused PWM bytes and the user bytes, you could end up with additional 0xFF, 0xFF byte pairs that could make your start of frame detection algorithm more complex or unreliable.
That's a good point. In our case, we were sending things like the camera confidence, and measured speeds from our ball pitcher. They were displayed graphically over a car dashboard, where the PC program turned the rendered dials on the screen. We were careful not to send values that would mess up the framing and in that case it didn't matter if a 254 was send instead of a 255.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Closed Thread


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
Dashboard Error Bytes Josh Hambright National Instruments LabVIEW and Data Acquisition 0 16-04-2006 13:32
Error in dashboard spec Don Reid Programming 6 09-02-2006 12:39
Duplicate user byte 6 in Dashboard spec? Jared Russell Programming 3 23-01-2006 20:45
dashboard protocol sciguy125 Programming 9 22-08-2005 18:36
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40


All times are GMT -5. The time now is 10:35.

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