Go to Post Without fail, judges always come by when the spokespeople are in the bathroom, so others should be able to cover until they're back. - Jacob Bendicksen [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 03-09-2007, 13:12
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Can the robot read a text file?

Um not directly, i guess theoretically you could store a file in eeprom and parse it from there or you could get somthing like (http://www.sparkfun.com/commerce/pro...oducts_id=7955) where you could put a .txt file on a SD card and read it from the RC.. if your looking for like autonomous scripting there is a way to do that too using an array of commands, it know it was popular in 2005 but i dont know where to find a link to it now..
  #2   Spotlight this post!  
Unread 03-09-2007, 13:55
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Can the robot read a text file?

Quote:
Originally Posted by bear24rw View Post
Um not directly, i guess theoretically you could store a file in eeprom and parse it from there or you could get somthing like (http://www.sparkfun.com/commerce/pro...oducts_id=7955) where you could put a .txt file on a SD card and read it from the RC.. if your looking for like autonomous scripting there is a way to do that too using an array of commands, it know it was popular in 2005 but i dont know where to find a link to it now..
kevinwatson.org has the code w/ autonomous scripting.


Also, CyDrive; It seems like you have something you want to do, why not tell us what you're trying to accomplish and we can reccomend the best way to do that within what the Robot controller can do.
  #3   Spotlight this post!  
Unread 03-09-2007, 14:02
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,522
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by AdamHeard View Post
kevinwatson.org has the code w/ autonomous scripting.


Also, CyDrive; It seems like you have something you want to do, why not tell us what you're trying to accomplish and we can reccomend the best way to do that within what the Robot controller can do.
Right person, wrong URL:

http://kevin.org/frc/
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #4   Spotlight this post!  
Unread 03-09-2007, 14:06
CyDrive's Avatar
CyDrive CyDrive is offline
Registered User
FRC #1203 (pandemonium)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: West Babylon
Posts: 26
CyDrive is an unknown quantity at this point
Re: Can the robot read a text file?

My idea is to create a program that almost any team can use to create an autonomous mode in under 2 minutes. Of course they would have to pre-configure the software with certain variables. Though i think it would be a great idea. I can write all the code i just need to know really how to deliver it to the robot without constantly having to do a re-compile. I believe an upload and reading of a text file would be much better.

Last edited by CyDrive : 03-09-2007 at 14:14.
  #5   Spotlight this post!  
Unread 03-09-2007, 14:29
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Can the robot read a text file?

Actually this idea has been mentioned here before i know one kid ( i think he has a thread a couple down from yours) that is trying to use a game boy to kinda like what your talking about and if you do a search for USB or mass storage or SD card in the programming forum you will find a thread discussing exactly what your trying to accomplish
  #6   Spotlight this post!  
Unread 03-09-2007, 14:37
CyDrive's Avatar
CyDrive CyDrive is offline
Registered User
FRC #1203 (pandemonium)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: West Babylon
Posts: 26
CyDrive is an unknown quantity at this point
Re: Can the robot read a text file?

Yes I was reading his thread and i thought it was quite interesting and the idea is not my own by any means. Actually it is an accumulation of ideas that i thought would be useful. Imagine on screen of your computer is a picture of the playing field from a top down view of the playing field you just click to place a dot. You can edit the actions your robot does when it reaches that spot or a many multiple things. Though what other people have tried to accomplish isn't very all-around friendly. They are all good ideas but i think it would be easier to use if you just had to upload say a text file with equipment you already have and you already understand. I also think it will make integration with any robot easier.
  #7   Spotlight this post!  
Unread 03-09-2007, 14:44
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Can the robot read a text file?

Quote:
Originally Posted by CyDrive View Post
Yes I was reading his thread and i thought it was quite interesting and the idea is not my own by any means. Actually it is an accumulation of ideas that i thought would be useful. Imagine on screen of your computer is a picture of the playing field from a top down view of the playing field you just click to place a dot. You can edit the actions your robot does when it reaches that spot or a many multiple things. Though what other people have tried to accomplish isn't very all-around friendly. They are all good ideas but i think it would be easier to use if you just had to upload say a text file with equipment you already have and you already understand. I also think it will make integration with any robot easier.
Talk to team 40 about their 2006 autonomous.

they had an app on a pocket pc in which you literally drew the autonomous path of the robot and the robot did it. Very impressive. We went to the practice field with them (we were together in the next match) and they watched our autonomous. Right away, they made the perfect custom autonomous to go with ours. Best implementation of autonomous scripting I have ever seen.
  #8   Spotlight this post!  
Unread 03-09-2007, 14:52
CyDrive's Avatar
CyDrive CyDrive is offline
Registered User
FRC #1203 (pandemonium)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: West Babylon
Posts: 26
CyDrive is an unknown quantity at this point
Re: Can the robot read a text file?

I heard about that i heard it was done in Java. It sounded really cool. I will see if they will tell me anything.
  #9   Spotlight this post!  
Unread 03-09-2007, 15:23
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Can the robot read a text file?

Quote:
Originally Posted by CyDrive View Post
I heard about that i heard it was done in Java. It sounded really cool. I will see if they will tell me anything.
The pocket pc side was done in Java. From there I don't know what they did. It could've generated scripting for something like Kevin Watson's that needed to be copied and pasted. Or, more ideally they probably had the SD card plug into something on the robot like thunderchickens has (or at least crosstheroad electronics).
  #10   Spotlight this post!  
Unread 03-09-2007, 15:29
CyDrive's Avatar
CyDrive CyDrive is offline
Registered User
FRC #1203 (pandemonium)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: West Babylon
Posts: 26
CyDrive is an unknown quantity at this point
Re: Can the robot read a text file?

My theory is actually quite simple write directly to the EEPROM from my laptop with a custom program. Then use a custom scripting engine in the autonomous section. This will give me the 2 things i want. Ease of use and a fast way to create new autonomous modes.
  #11   Spotlight this post!  
Unread 04-09-2007, 18:31
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by CyDrive View Post
My theory is actually quite simple write directly to the EEPROM from my laptop with a custom program. Then use a custom scripting engine in the autonomous section. This will give me the 2 things i want. Ease of use and a fast way to create new autonomous modes.
Why not do everything on the RC? You could provide a terminal interface like:

1) Display command list (list number)
2) Set current command list (list number)
3) Delete command (command number)
4) Insert command (insertion point)
5) Modify command (command number)
6) ...

Commands could be something like:

1) Drive Arc (arc parameters)
2) Drive straight (distance)
3) Turn in place (radians)
4) Set arm position (3-d position)
5) Catch fire
6) Inflate flotation device
7) End command list
8) ...

The bells and whistles camera code might give you some ideas.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #12   Spotlight this post!  
Unread 03-09-2007, 15:31
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by AdamHeard View Post
The pocket pc side was done in Java. From there I don't know what they did. It could've generated scripting for something like Kevin Watson's that needed to be copied and pasted. Or, more ideally they probably had the SD card plug into something on the robot like thunderchickens has (or at least crosstheroad electronics).
I am not familiar with any flash memory reader for FRC robots. Can you provide a URL?
  #13   Spotlight this post!  
Unread 03-09-2007, 15:40
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Can the robot read a text file?

Quote:
Originally Posted by Greg Marra View Post
I am not familiar with any flash memory reader for FRC robots. Can you provide a URL?
http://www.crosstheroadelectronics.c...cken%20AID.htm

I know it's not for sale by them yet.... but it is something that is possible, and I've heard of teams doing it before....
  #14   Spotlight this post!  
Unread 03-09-2007, 20:20
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by AdamHeard View Post
http://www.crosstheroadelectronics.c...cken%20AID.htm

I know it's not for sale by them yet.... but it is something that is possible, and I've heard of teams doing it before....
Do you know what teams have done it? I know people who have implemented reading from SD cards on PICs before, but not on FIRST robots, and I would love to find out how their procedure works.
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
Can the FRC board read resistance? brennerator Technical Discussion 1 13-01-2007 22:25
I can read this....can you? Wayne Doenges Chit-Chat 2 22-03-2006 14:49
Can we assign alternate text for [img] and/or [img2] tags? Greg Ross CD Forum Support 2 01-11-2005 14:51
"Read the rules!" ...can it be said enough? generalbrando Rules/Strategy 14 08-01-2005 08:39
Help - Can you rotate an .avi file?? Elgin Clock IT / Communications 2 11-02-2004 00:56


All times are GMT -5. The time now is 00:15.

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