Go to Post I can't help looking at the new center piece my wife put on the dinning room table and think to myself, "non-functional decoration" - DarrinMunter [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 11-03-2002, 17:22
Jay Jay is offline
Registered User
no team
 
Join Date: Mar 2002
Location: Va
Posts: 1
Jay is an unknown quantity at this point
Question Controller Simulator

Does anyone know of an application that will let you send data from one computer to another simulating a rbot controller and a dashboard program?
  #2   Spotlight this post!  
Unread 12-03-2002, 18:02
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
hmmmm++;

For a while my team was hoping to emulate the parallax inc software on a palm pilot to code on it and then download it, but that never quite worked out, prolly due to the q3 mod we started on, but that also failed...
To make a long story medium length, Team250 formally offers to help. Email me @ vanweric@aol.com or e.vanwyk@team250.org. I am learning c++ now, and have learned a moderate deal of PBASIC, so I can be a good grunt level discover of many things.
  #3   Spotlight this post!  
Unread 12-03-2002, 22:31
K-RAD K-RAD is offline
Registered User
#0116 (Epsilon Delta)
 
Join Date: Feb 2002
Location: Herndon, VA
Posts: 3
K-RAD is an unknown quantity at this point
Send a message via AIM to K-RAD Send a message via Yahoo to K-RAD
PBASIC emu?

How about writing a code interpretor for PBASIC? The only nontrivial part would be handling the input for the operator interface.

I believe I have some C++ code lying around for an interpretted language that could probably be easily modified for it.

Throw in some graphics and a flexible game engine and you'll have a full fledged simulation
__________________
MTV is my source for new and original music
  #4   Spotlight this post!  
Unread 26-03-2002, 16:05
ChrisA's Avatar
ChrisA ChrisA is offline
Registered User
#0857 (Superior Roboworks)
Team Role: College Student
 
Join Date: Feb 2002
Location: Michigan Tech
Posts: 157
ChrisA is on a distinguished road
Send a message via AIM to ChrisA
i guess im going the cat get part way out of the bag here.

maybe not...

but i will tell you that there is a rumor that wildstang has created a couple of cool things this year that you may want to check out... especially if you want to create a controller simulator.

if ur wanting to find out more come check us out in the pits...
well be at the northwestern regional and also at nationals
__________________
Programmer
----------------
Team#857
Superior Roboworks

WildStang Alum
  #5   Spotlight this post!  
Unread 26-03-2002, 17:50
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
I look forward to it

Some one will have to remind me to go and check out all the other pits... Come find me at Team 250's pit thursday at the New Haven regional -- i should be the one commanding my lackeys*cough* minions to fix something. I may have something fun for everyone, or at least everyone can recite the entire Hackers movie backwards. Good luck to all.
  #6   Spotlight this post!  
Unread 27-03-2002, 12:03
ChrisA's Avatar
ChrisA ChrisA is offline
Registered User
#0857 (Superior Roboworks)
Team Role: College Student
 
Join Date: Feb 2002
Location: Michigan Tech
Posts: 157
ChrisA is on a distinguished road
Send a message via AIM to ChrisA
im not so sure about the reciting of hackers backwards but we do have someone on our team that can recite it forwards...

(we found this out on our bus ride back from the great lakes regional)
__________________
Programmer
----------------
Team#857
Superior Roboworks

WildStang Alum
  #7   Spotlight this post!  
Unread 28-03-2002, 10:40
CJMJ CJMJ is offline
Registered User
#0446 (Robodogs)
 
Join Date: Feb 2002
Location: LaPorte, Texas
Posts: 4
CJMJ is an unknown quantity at this point
I use a Basic Stamp (BS2) from Parallax to feed data to my Dashboard program. I have a simple PBasic application which continually streams 26 bytes to my computer's serial port. I usually just have each byte cycle from 0 to 254 (or 255 depending on the byte) in ascending or decending order so I can see the changes in the dashboard. I even use it to check out our robot's code before downloading it into the robot.
  #8   Spotlight this post!  
Unread 28-03-2002, 21:28
ChrisA's Avatar
ChrisA ChrisA is offline
Registered User
#0857 (Superior Roboworks)
Team Role: College Student
 
Join Date: Feb 2002
Location: Michigan Tech
Posts: 157
ChrisA is on a distinguished road
Send a message via AIM to ChrisA
heres something to chew on before you come check out our custom circuit board (stang sense aka current sensing board)....

our drivers use a brand new color palm pilot (donated by palm) which we have hooked to the dashboard port on the oi (operator interface). we use this to display our data from stang sense and on another screen we have it printing out raw values for our joysticks and for our potentiometers which we use on our crab. while the raw data isnt too impressive (though its quite useful when we need to calibrate our pots) the color 'bar graphs' we use to display our stang sense data. as our drive motors draw more current the bars will grow larger and change from their 'happy' state of green to yellow then to orange and if we seem to be drawing way more current than we should be well see a nice red pigment and the bar will grow to full length (all the way across the screen). as of this moment we dont use any software as such to lower our current draw when it gets too high. if for some reason we start having a problem with accessive current draw we can potentially automatically lower the current with software so that we never stall (wouldnt that be cool). at this moment its up to our driver to glance at the palm every once in awhile to make sure hes not staying in the red for long periods of time.

well this is all great but you might be wondering why this is really useful to have a device showing us our current draw even if we cant really stop it unless our driver notices it and reacts to it. after matches we download the data to a laptop and watch it in close-to-realtime playback. having a video of the match playing next to the laptop we can watch for peaks and see what we are doing that is causing our motors to draw so much current. from that we can make changes in software as necessary so that current draw is minimal.

hopefully soon we will be using this data to theoretically stop the circuit breaker from ever tripping and also prevent any motors from stalling.

our team would be glad to use stang sense junior (our model version of the current sensing board) to look at current draw on other teams robots. in fact we got quite excited when we were allowed to use stang sense junior to current sense team 217 thunder chickens robot. if anyone is having problems with current draw they can feel free to talk to us.

i encourage anyone who is interested in learning more to come see us in the pits during motorola midwest regional or at nationals.
__________________
Programmer
----------------
Team#857
Superior Roboworks

WildStang Alum
  #9   Spotlight this post!  
Unread 30-03-2002, 15:30
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
StangSense, the Next Gen suggestions

StangSense is definitely a VERY cool thing... <grin>

My suggestion to you would be to next figure out a way to add realtime timestamp data to BOTH your video and your datastream. (There are many ways to do that.)

Then, at a later time you could combine the two with a video editing station. First make a "realtime bargraph animation video" of the sense data (preserving the timestamp data). Next use the two timestamp data streams as an editing guide to combine the two videos onto a single videotape.

You'll now have a version of the robot video with animated data superimposed onto it you can copy and share with your members.

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #10   Spotlight this post!  
Unread 31-03-2002, 15:59
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Quote:
Originally posted by ChrisA
our drivers use a brand new color palm pilot (donated by palm)
Do you think I can get Palm to donate me a new handheld?
  #11   Spotlight this post!  
Unread 01-04-2002, 22:57
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Keith, we're already one step ahead of you. As the data is recorded by the Palm it is timestamped. This is precisely the reason: we want to be able to correlate Dashboard data to a specific instant in a match. We also record the competition bit so we can tell the instant the match starts. This way it is extremely easy to watch the playback of a video of a match and begin StangSense data playback when the competition clock is started.
  #12   Spotlight this post!  
Unread 02-04-2002, 01:20
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Quote:
Originally posted by Dave Flowerday
Keith, we're already one step ahead of you. As the data is recorded by the Palm it is timestamped. [...and we ] also record the competition bit so we can tell the instant the match starts. This way it is extremely easy to watch the playback of a video of a match and begin StangSense data playback when the competition clock is started.
Great forward planning. (I assumed you were timestamping it, but had to ask... ) Recording the competition bit was a nice touch! (That's MUCH better than trying to sync the surge at power startup with the light on the robot coming on in the video! )

Have you considered ways of now superimposing the data as an NTSC graphic over the contest video? Lots of advantages: Viewable anywhere, no special equipment or software needed, and you can freeze or slow mo the video in either direction without losing data sync.

Here's an example of a superimposed visualization: Create small, animated "color pie meters" in each of the four corners of the video to represent the four drive wheel currents. Three (or four) laps in different colors for Full Scale. This would be easy to interpret out of the corner of your eye, even if each were tiny.

I've included a sample: Three laps (Grn/Yel/Red), FS=50 Amps. Indication = 43.75 Amps = 5/8 on the Red lap (overwriting Yellow) = 21/24th of FS = 87.5% FS.

- Keith
Attached Thumbnails
Click image for larger version

Name:	meter.gif
Views:	79
Size:	3.0 KB
ID:	398  
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #13   Spotlight this post!  
Unread 02-04-2002, 15:29
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
?

How does your "Stang sense" do its work? I may be a bit of a hardware newbie, but I don't quite get how you get the original data.
  #14   Spotlight this post!  
Unread 02-04-2002, 15:46
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Have you looked at my post in the Technical Discussion forum? Look for the discussion with the title "StangSense: Wildstang's Current Sensing System." There's a decent writeup there. If you've already read it, then if you could elaborate on your question a little bit more one of us will try to answer it as best we can.
  #15   Spotlight this post!  
Unread 03-04-2002, 02:04
ChrisA's Avatar
ChrisA ChrisA is offline
Registered User
#0857 (Superior Roboworks)
Team Role: College Student
 
Join Date: Feb 2002
Location: Michigan Tech
Posts: 157
ChrisA is on a distinguished road
Send a message via AIM to ChrisA
haha ive managed to pull an electrical guy over to the software forum.... muahahahaha

1 down 4 more to go

i knew ud give in sooner or later dave
__________________
Programmer
----------------
Team#857
Superior Roboworks

WildStang Alum
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
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Visibility of Robot Controller and Reset Button Tracy Rules/Strategy 1 17-02-2003 07:36
How do you connect the speed controller fans? Iain Electrical 7 31-01-2003 07:05
visibility of robot controller? davidzhang Rules/Strategy 5 26-01-2003 01:11


All times are GMT -5. The time now is 03:06.

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