Go to Post They're just dots. You can get them back. - Brandon Martus [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, 12:51
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
Can the robot read a text file?

Hello, I was just wondering whether or not the robot is capable of reading a text file. Or maybe is it possible to upload a single .c file to the robot at a time? Thank you for any help.
  #2   Spotlight this post!  
Unread 03-09-2007, 12:52
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?

What do you mean by a text file? What would this file have in it?
  #3   Spotlight this post!  
Unread 03-09-2007, 12:55
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?

Can it open a file and parse information in it if the file has a .txt extension

Last edited by CyDrive : 03-09-2007 at 13:06.
  #4   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..
  #5   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.
  #6   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.
  #7   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.
  #8   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
  #9   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.
  #10   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.
  #11   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.
  #12   Spotlight this post!  
Unread 03-09-2007, 15:06
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by CyDrive View Post
Hello, I was just wondering whether or not the robot is capable of reading a text file. Or maybe is it possible to upload a single .c file to the robot at a time? Thank you for any help.
The IFI robot controller does not have access to a filesystem. I think the best alternative for your purpose is to implement your own protocol to read characters from the serial port and store them in EEPROM for later retrieval.
  #13   Spotlight this post!  
Unread 03-09-2007, 15:12
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?

Now i see why team 40 used a hand held device. Thanks everyone for the help. I believe i have finally figured out how im gonna go about it. When i figure it all out i will definitely post all my code and the project.
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