View unanswered posts | View active topics It is currently Thu Aug 28, 2014 11:56 am






Reply to topic  [ 6 posts ] 
Support for writing to files? 
Author Message
Novice
User avatar

Joined: Sat Jul 10, 2010 3:06 pm
Posts: 86
Location: Roanoke, VA
Post Support for writing to files?
Are there any plans to support file read/write operations in ROBOTC for Cortex and PIC?

This feature would greatly help my team.

Thanks
//Andrew

_________________
Check out my website! www.RoboDesigners.com

VRC Team 2190

Twitter: @RoboDesigners


Mon Mar 05, 2012 8:34 pm
Profile WWW
Novice
User avatar

Joined: Sat Jul 10, 2010 3:06 pm
Posts: 86
Location: Roanoke, VA
Post Re: Support for writing to files?
Robotkilla#Revenge wrote:
Whats Cortex

Link for info:
http://www.vexrobotics.com/products/acc ... -2194.html

It's a really nice microcontroller...

//Andrew

_________________
Check out my website! www.RoboDesigners.com

VRC Team 2190

Twitter: @RoboDesigners


Tue Mar 06, 2012 3:04 pm
Profile WWW
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Support for writing to files?
We have a file system on the Cortex that we could use to do so, and it's one of the features we're considering for future development.

How would you take advantage of the features if we were to implement it? What kinds of behaviors would you be looking for.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Wed Mar 07, 2012 11:01 am
Profile
Novice
User avatar

Joined: Sat Jul 10, 2010 3:06 pm
Posts: 86
Location: Roanoke, VA
Post Re: Support for writing to files?
jbflot wrote:
How would you take advantage of the features if we were to implement it? What kinds of behaviors would you be looking for.

My number 1 usage would be for datalogging. I'd want to create a "black box" to see what happened during a match, and why a part of a program messed up. I'd also experiment a bit with battery voltages.

Another use would be for "on the fly" autonomous editing. I could write code to emulate driver control code. (i.e. drive the robot through the path you want, then it acts it out.)

Eventually (if I become more skilled with robotics programming), file-writing could be used for "learning."

The most important use, though, is for datalogging. I cannot express how much I would like to see that... :)

//Andrew

_________________
Check out my website! www.RoboDesigners.com

VRC Team 2190

Twitter: @RoboDesigners


Wed Mar 07, 2012 1:32 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: Support for writing to files?
As RoboDesigners said, one of the main functions would be datalogging. Another one would be for data input, or machine learning (perhaps something like q-learning). And of course, it would allow for more modulated multi-program downloads. I'd also like to see flash protection, so new(or experienced) users don't accidentally destroy their Cortex.

_________________
sudo rm -rf /


Wed Mar 07, 2012 3:11 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Support for writing to files?
Thanks for the input. I'll add it to our internal documents.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Mon Mar 12, 2012 2:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.