Go to Post Failure is not an option. - [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-03-2015, 20:59
Defensoft3585 Defensoft3585 is offline
Programming Captain
AKA: The Defenestrator
FRC #3585 (Rogue Robots of 4H)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Claremont, NH 03743
Posts: 12
Defensoft3585 is on a distinguished road
Text-based Autonomous POC

I've just returned from the West Springfield, MA competition. While there, I noticed that only about 50% of the teams actually had autonomous mode. I came up with an idea - what if autonomous could be simpler? And therefore, this was born:
https://github.com/JavaMatrix/TextBasedAutonomous
It's currently untested, but it's a proof of concept. This code makes autonomous easy. For example, our autonomous mode this year could be represented as:
chassis drive 1.0 0.0 2.0
"chassis": the subsystem to be activated.
"drive": the method to be called.
"1.0": the amount of power to give the wheels.
"0.0": the amount to turn.
"2.0": the number of seconds to run.
The signature of the method is:
Chassis.drive(power, twist)
and the command is run for 2 seconds. It's quite technical, and not quite polished. As of now you can only use primitive types and Strings for arguments, but it would be easy to add more types.
Thoughts on this system? Does it seem feasible?
Reply With Quote
 


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


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

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