Go to Post last year I wanted to electrically charge our frame, then cover the whole bot in tape and say it was for insulating purposes. Then I settled down and read the rule book. - russell [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 24-09-2007, 14:22
Madison's Avatar
Madison Madison is offline
Dancing through life...
FRC #0488 (Xbot)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1999
Location: Seattle, WA
Posts: 5,243
Madison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond repute
Control System Emulator

I am asking this question on behalf of some of my team's programming mentors and students, so please keep in mind that I don't really know what I'm talking about when it comes to these things and I might not communicate things clearly the first, third or eighteenth time.

We're in search of an emulator for the latest major iteration of the robot controller that will allow our programming team to develop and test code in the absence of a robot. Specifically, they've asked for something that does a good job of mimicking the robot controller's limitations in memory and computing power. They don't want to be able to simulate more than the real processor is capable of doing.

I recall from years ago that Rob Bayer had produced something like this and did a search of the forums this morning for information about it, but the links to his website (www.robbayer.com) and the associated emulator are dead. Does anyone have the last revision of this lying about somewhere? I believe it was updated to reflect the change to the C programming language.

Thanks!
__________________
--Madison--

...down at the Ozdust!

Like a grand and miraculous spaceship, our planet has sailed through the universe of time. And for a brief moment, we have been among its many passengers.
  #2   Spotlight this post!  
Unread 24-09-2007, 14:41
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Control System Emulator

Madison,

I believe LabView is capable of doing what you are asking. You can watch the ouputs in terms of defined motor and/or actuator devices and use real or simulated inputs. Check out these threads

http://www.chiefdelphi.com/forums/fo...play.php?f=149
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #3   Spotlight this post!  
Unread 24-09-2007, 15:00
Madison's Avatar
Madison Madison is offline
Dancing through life...
FRC #0488 (Xbot)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1999
Location: Seattle, WA
Posts: 5,243
Madison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond reputeMadison has a reputation beyond repute
Re: Control System Emulator

Jon,

Thanks I'll pass this along to the programming folks and see if this will meet their needs. My impression was that they wanted something that could be used completely independent of a robot controller -- so students could develop and test code from their homes -- but maybe this will be a viable alternative.
__________________
--Madison--

...down at the Ozdust!

Like a grand and miraculous spaceship, our planet has sailed through the universe of time. And for a brief moment, we have been among its many passengers.
  #4   Spotlight this post!  
Unread 24-09-2007, 19:38
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,830
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Control System Emulator

I have found that my students who use the VEX controller (yeah, it's hardware, not exactly the solution you're looking for) find migrating their code to the RC is pretty easy.

On the other hand, something suitable may be coming for the future.

I say that with some hesitancy, due to this thread, and do not want to drag this off track into a discussion of what next year's RC might include. It merely seems -- based on the description of MS Robotics Studio -- like the technology would be capable of supporting excellent software prototyping if the FRC components and control system were appropriately modelled in it.

Jason
  #5   Spotlight this post!  
Unread 24-09-2007, 19:58
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: Control System Emulator

I dont know if you can yet, since I am no LabVIEW pro, but I think NI's goal was to allow you to fully test these types of things without any physical robot in front of you.
  #6   Spotlight this post!  
Unread 24-09-2007, 20:45
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Control System Emulator

Quote:
Originally Posted by M. Krass View Post
I recall from years ago that Rob Bayer had produced something like this and did a search of the forums this morning for information about it, but the links to his website (www.robbayer.com) and the associated emulator are dead. Does anyone have the last revision of this lying about somewhere? I believe it was updated to reflect the change to the C programming language.
Thanks!
I have a copy of what I believe to be the last known version of it.
It's RoboEMU2-0.1
I've uploaded it for those that may desire to look at it.
I've never tried it or used it. Use at your own risk.

Any feedback of those that explore it would be of great benefit.
Attached Files
File Type: zip RoboEmu2-0.1.zip (2.75 MB, 240 views)
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #7   Spotlight this post!  
Unread 24-09-2007, 21:23
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Control System Emulator

I have a Vex kit. The controller is almost identical to the FRC one, it can even use FRC sensors and the CMU cam.
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #8   Spotlight this post!  
Unread 26-09-2007, 12:53
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Control System Emulator

I also agree that VEX is the best emulator you could ask for. If only the controller could run off serial or USB power.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #9   Spotlight this post!  
Unread 27-09-2007, 11:50
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Control System Emulator

Or you could just use the MPLAB SIM thats build in to the development environment... just define "simulator" in the code... you'll see where IFI has made provisions for it... after that you can build stimulus tables and simulate inputs.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #10   Spotlight this post!  
Unread 05-10-2007, 20:23
3dude_2231's Avatar
3dude_2231 3dude_2231 is offline
no one messes with a Thingy =|
AKA: Menscher,Ran Menscher =]
FRC #2231 (Onyxtronix)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Shoham, Israel
Posts: 233
3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough
Send a message via MSN to 3dude_2231
Re: Control System Emulator

Qbranch,
that is indeed what I used to do when I didn't have bot access.
but.. it is a frustrating procedure, watching the variables window,
going through simple delay loops can be very exhausting,
then, remembering that you forgot something in the stimulus section,
and going through the whole thing again

I now only use it in small application (with my PIC16s), and it's hard enough =]

I have heard of MS's "robotic plans", but I didn't know something like the roboEMU exists, I'll be checking this one right away =]
__________________
Redefining the word "Rookie". (for 2 years now..)


Israeli Off Season Games: WINNERS!
check out this cool project I'm into..

  #11   Spotlight this post!  
Unread 05-10-2007, 21:53
ham90mack's Avatar
ham90mack ham90mack is offline
President of RIT FIRST
FRC #0073 (The Illumination)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester, NY
Posts: 120
ham90mack is just really niceham90mack is just really niceham90mack is just really niceham90mack is just really niceham90mack is just really nice
Re: Control System Emulator

See http://www.chiefdelphi.com/forums/sh...ad.php?t=59039
__________________
Old stuff:

FRC 2007 Strategy Solver. Version: 2.55. Progress: done.
  #12   Spotlight this post!  
Unread 06-10-2007, 18:33
Chief Pride's Avatar
Chief Pride Chief Pride is offline
<3
AKA: James Kiefer
no team
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Kalamazoo, MI
Posts: 653
Chief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond repute
Re: Control System Emulator

Quote:
Originally Posted by Kingofl337 View Post
I also agree that VEX is the best emulator you could ask for. If only the controller could run off serial or USB power.
i am thinking of developing something like that, a quick 3d "game" using the robots actual joysticks and controllers, drivers could gain alot more experiance with the way the controls work

however, nothing will beat the real thing
  #13   Spotlight this post!  
Unread 09-10-2007, 12:10
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Control System Emulator

Quote:
Originally Posted by zinefer View Post
i am thinking of developing something like that, a quick 3d "game" using the robots actual joysticks and controllers, drivers could gain alot more experiance with the way the controls work
however, nothing will beat the real thing
Well, one thing you can try soon is the real time physical simulator in SolidWorks cosmosMOTION... its currently only available in the non-educational version but very soon it will be available for all. The new API based interface to cosmos lets you write code for a machine and see it run as it really would in a full physical simulation... you can do everything from size motors to figure gear ratios in full physical simulation before your robot ever leaves the modeling space.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
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
2004 control board emulator CmptrGk Programming 4 04-09-2004 16:13
Control System archiver 2000 0 23-06-2002 22:51
control system archiver 2000 1 23-06-2002 22:04
Control System Power Al Skierkiewicz Technical Discussion 0 25-03-2002 09:04
robot control emulator for default or other program CharlieWilken Programming 26 24-02-2002 02:36


All times are GMT -5. The time now is 17:32.

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