Go to Post "The devil" isn't in the details... The devil is having a loud house party with lots of other devils and demons in the details. And laughing, and laughing... - pfreivald [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-02-2015, 13:51
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Piggy Plotter: Changing the very nature of Autonomous Mode

Team 1902, Exploding Bacon, would like to present our newest project:

Piggy Plotter


Overview:

Piggy Plotter is a GUI-based Autonomous mapping program developed completely by team 1902 during the 2015 build season. With Piggy Plotter, you can design an autonomous on a completely to-scale replica of the Recycle Rush field. You can create a robot, configure it's starting position and size, and then set up commands to drive to certain locations and to perform specific actions. When you're done, you can export the autonomous to a .auto file and use it as your autonomous!



How does this work?

Now, by this point you must be saying/asking "How do this actually get used as an autonomous?". Allow me to explain: when you're done designing your autonomous, you can export it to a .auto file. The .auto file contains all the information on what your robot needs to do for your auto to work. Here is an example of a very simple .auto file:

Code:
drive:10:10]turn:180]lift:1]wait:2]lift:0]
This is where YOU come in. All you have to do is write code on your robot to be able to read .auto files and do what they want you to. For example, a team would have to implement some way of getting their robot to be able to move X number of inches. Once they did that, the robot could read the .auto file, see the "drive:10:10]" command within it, and drive 10 inches forward. Don't worry if you have no idea how to take a .auto file and read the data from it; we'll help you! All you have to do is ask.

Piggy Plotter, with the exception of drive and turn commands, allow you to name your commands whatever you want, in order to simplify the implementing of .auto file processing. For example, you can have Piggy Plotter do a "herpDerp" command and then write code on the robot for processing a "herpDerp" command.



Our dream for Piggy Plotter.

Team 1902 hopes that, in the future, Piggy Plotter will change the very nature of how Autonomous Mode works. Instead of teams laboring over one or a few autonomouses, new autonomouses will be able to be created on a whim at competitions. This will allow autonomous to be more about strategy and less about being a large programming hassle. Imagine a match at Einstein where an alliance comes around their alliance captain whom has Piggy Plotter on a tablet and is plotting out three brand-new autonomouses, all of which strategically work together. Imagine being able to change your autonomous to work around another team's autonomous without simply disabling your autonomous all-together. Imagine you (or your programmers) not spending all their time fine-tuning an autonomous just for it to become unneeded or need to be heavily changed. Imagine that you can create a new autonomous whenever you want and know that it will work the first try. This is our dream.

When can I have it?

Piggy Plotter is currently in a closed beta. Team 1902 plans to test, debug, and use Piggy Plotter at the Georgia Southern Classic Regional, the Orlando Regional, and (hopefully) St. Louis. If everything has gone smoothly, we will release a more polished version of Piggy Plotter right after Championships. Once we've released Piggy Plotter, we will release an official field file for each year's FRC competition.

I have a question/suggestion/comment.

Say it! This is a program we plan to share will all FRC teams, so we want your input! Other team members and I will try our best to answer your questions, reply to your comments, and implement your suggestions (if they're valid, of course).

Last edited by Oromus : 19-02-2015 at 13:20.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2015, 15:13
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 306
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

When you are ready to move to open Beta, we would be interested in working with you.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2015, 15:17
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by matthewdenny View Post
When you are ready to move to open Beta, we would be interested in working with you.
I can't say guarantee anything about this right now, but I can say that this is a total possibility. I'll let you know more when we're closer to Champs.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2015, 19:44
Fletch1373's Avatar
Fletch1373 Fletch1373 is offline
Registered User
AKA: Fletch
FRC #3181 (Panthers)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Rochester, NY
Posts: 248
Fletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud of
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

I MUST remember to find you guys in St. Louis! I'll be a CSA, and would love to tinker with this a little and see what you've got for code to handle this.

Perhaps you could "perfect" a class or vi to handle reading this format and opensource that as well!
__________________
Student:
<04: FRC0213> <05-08: FRC1373>
Mentor:
<09-10: FRC0809> <11-12: FRC3555> <12-14: FRC0073> <15-??: FRC3181>
Volunteer:
<FTAA> <CSA> <Defense Coordinator> <Scorekeeper> <Robot Inspector> <Official Scorer>
2016 Tour:
CTWAT [DefCoord] > Pittsburgh[Mentor/DefCoord] > TVR[FTAA] > FLR[CSA] > NE DCMP[CSA] > CMP[CSA]
Reply With Quote
  #5   Spotlight this post!  
Unread 20-02-2015, 20:09
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by Fletch1373 View Post
I MUST remember to find you guys in St. Louis! I'll be a CSA, and would love to tinker with this a little and see what you've got for code to handle this.

Perhaps you could "perfect" a class or vi to handle reading this format and opensource that as well!
We will definitely try and release some open-source files to help with reading the data; it will make the implementation process even easier!
Reply With Quote
  #6   Spotlight this post!  
Unread 20-02-2015, 20:11
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

This is incredible. Does it take encoder inputs to get distance traveled, or can you set up time intervals?
Reply With Quote
  #7   Spotlight this post!  
Unread 20-02-2015, 20:19
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by asid61 View Post
This is incredible. Does it take encoder inputs to get distance traveled, or can you set up time intervals?
Piggy Plotter just measures the distance in inches; when it comes to implementing driving X inches on the robot, we used the following formula to calculate what the encoder value would need to be in order to move X inches:

inches / (Math.PI * wheelDiameter) * (whatever encoder value equals one rotation)

However, you can implement it however you want. So that means you can use encoder values, time intervals, or anything else that works.

Last edited by Oromus : 20-02-2015 at 20:45.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-02-2015, 22:13
ehoyla's Avatar
ehoyla ehoyla is offline
Registered User
FRC #1311 (Kell Robotics)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Acworth, Georgia
Posts: 35
ehoyla is a splendid one to beholdehoyla is a splendid one to beholdehoyla is a splendid one to beholdehoyla is a splendid one to beholdehoyla is a splendid one to beholdehoyla is a splendid one to beholdehoyla is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Will teams also attending the Georgia Southern Classic be able to come see it at your pit?
__________________
2012: Chairmans Award - Regional Winner - Industrial Design Award - Safety Runner Up
2013: Chairmans Award - Gracious Professionalism
2014: Chairmans Award - Creativity Award
2015: Chairmans Award
Reply With Quote
  #9   Spotlight this post!  
Unread 21-02-2015, 22:20
StAxis's Avatar
StAxis StAxis is offline
Mentor/Drive Coach
AKA: Zach CH
FRC #1902 (Exploding Bacon)
Team Role: Mechanical
 
Join Date: Jan 2012
Rookie Year: 2011
Location: United States
Posts: 149
StAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud ofStAxis has much to be proud of
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by ehoyla View Post
Will teams also attending the Georgia Southern Classic be able to come see it at your pit?
Of course! Stop by any time! Can't wait to see you guys there, always love your robots.
__________________
2012 - Engineering Inspiration SFL
2013 - Chairmans SFL, Regional winners SFL
2014 - Engineering Inspiration SFL
2015 - Chairmans GSCR
2016 - Chairmans Rocket City Regional
Reply With Quote
  #10   Spotlight this post!  
Unread 21-02-2015, 22:47
artK artK is offline
Just Another Person
AKA: Art Kalb
no team (No Team)
 
Join Date: Dec 2011
Rookie Year: 2010
Location: Rochester, NY
Posts: 119
artK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond reputeartK has a reputation beyond repute
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

This seems like a nice piece of software (Or is it metasoftware?).

A few questions:

Does it (at this point) support a way for the robot to drive non-linear paths (such as those generated using splines)?

Also what does the drive code assume about the drive base? Is it only for tank drives, or does it support holonomic robots? Does the drive base need a gyro?

Can you show the GUI for the robot creation part, where all the solenoid and PWM ports are assigned?

Quote:
Originally Posted by Oromus View Post
Imagine a match at Einstein where an alliance comes around their alliance captain whom has Piggy Plotter on a tablet and is plotting out three brand-new autonomouses, all of which strategically work together.
That sounds like a nightmare. Every automode should be tested before seeing a playing field, especially before Einstein, even if you're combining pieces of code that have all word previously separately.
__________________
Art Kalb
Team 254 (2011-2014): Head Scout, Programmer
2011, 2014 World Champions
Reply With Quote
  #11   Spotlight this post!  
Unread 22-02-2015, 12:20
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by artK View Post
Does it (at this point) support a way for the robot to drive non-linear paths (such as those generated using splines)?
Piggy Plotter outputs an angle and a command to drive X inches, so you can do whatever you want with that data.

Quote:
Originally Posted by artK View Post
Also what does the drive code assume about the drive base? Is it only for tank drives, or does it support holonomic robots? Does the drive base need a gyro?
No drive code is assumed; Piggy Plotter tells the robot what it needs to do (i.e. drive 10 inches then turn 90 degrees), but it's up to you to actually write the drive code itself.

Quote:
Originally Posted by artK View Post
Can you show the GUI for the robot creation part, where all the solenoid and PWM ports are assigned?
Robot creation in Piggy Plotter doesn't use or need port IDs; it generates a file that says "Hey, robot. Drive ten inches, turn 50 degrees, and then 'setLift 0.5'." It just gives you commands and command arguments. In your code, you'll just write handling code for things like "setLift 0.5".

Quote:
Originally Posted by artK View Post
That sounds like a nightmare. Every automode should be tested before seeing a playing field, especially before Einstein, even if you're combining pieces of code that have all word previously separately.
The idea is that the way this is set up is that the to-scale field used in Piggy Plotter combined with a good programmer's implementation of the .auto files will result in a world where you could (in theory) load a new autonomous that has never been tested, yell "YOLO", and have it work. I agree, though, that you should test it if you can.

Last edited by Oromus : 22-02-2015 at 12:33.
Reply With Quote
  #12   Spotlight this post!  
Unread 22-02-2015, 12:24
JorgeReyes JorgeReyes is offline
Team Captain
FRC #2002 (Tualatin Robotics)
 
Join Date: Jun 2014
Rookie Year: 2006
Location: United States
Posts: 94
JorgeReyes is an unknown quantity at this point
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

This seems really cool! It looks like it makes autonomous creation pretty fast. Going along these lines, something we did this year is create a recording software where the driver movement is recorded as an autonomous
Reply With Quote
  #13   Spotlight this post!  
Unread 22-02-2015, 12:31
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Quote:
Originally Posted by JorgeReyes View Post
This seems really cool! It looks like it makes autonomous creation pretty fast. Going along these lines, something we did this year is create a recording software where the driver movement is recorded as an autonomous
Recording driver input for autonomouses is another great way to be flexible with autonomous; I look forward to seeing how yours performs!

Last edited by Oromus : 22-02-2015 at 12:34.
Reply With Quote
  #14   Spotlight this post!  
Unread 02-03-2015, 09:56
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

Update! We successfully used Piggy Plotter for our autonomous on the last day of competition at the Georgia Southern Classic Regional. We were able to design an autonomous that assisted our alliance partner's three-tote autonomous, run it on the field without any previous field testing, and have it work! In addition, we were interviewed by GSCR's GameTime crew about it! Piggy Plotter is on-track to release directly after Championships; if you want to see it in action, come visit our pit at the Orlando Regional or at Championships.
Reply With Quote
  #15   Spotlight this post!  
Unread 02-03-2015, 10:04
Fields's Avatar
Fields Fields is offline
Classic
FRC #5637 (Titanium Polars)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Minneapolis
Posts: 94
Fields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to all
Re: Piggie Plotter: Changing the very nature of Autonomous Mode

This looks like a good candidate for the Excellence in Engineering award.

Good job guys!
Reply With Quote
Reply


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 11:24.

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