Go to Post In my line of work, we affectionately refer to this approach as "Seagull Engineering". Why? Because we swoop in, flap around making a lot of noise and commotion, leave a big mess of "stuff" behind and then fly off. - billbo911 [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-03-2015, 19:36
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
SHARP Scripter - GUI-Based Autonomous Scripter

Description:

FRC Team 3260 would like to announce SHARP Scripter, an autonomous scripting program developed by our team in C++ using Qt creator. This program allows FRC teams to quickly create a variety of autonomous options. These options can then be tested and used in competition without the need to use an IDE to compile and deploy the entirety of the program. This also means that teams can simply place the Autonomous modes that they would like to use on a flash drive that is then inserted into the roboRIO.

SHARP Scripter has been used by our team to create the Autonomous options that we used while competing at the Greater Pittsburgh Regional, helping us to stay flexible for our partners.

The source code for SHARP Scripter is now being release under the GPL v3. We currently have prebuilt binaries available for Linux and we intend to have binaries available for Windows. Additionally, we are working on a Java based interpreter for use on the robot as well as guides for using each portion of the program.

With its ease of use and intuitive flow-chart like structure, SHARP Scripter can be used by any member of your team, whereas in the past programming was significantly more restrictive due to the skills required.

Links:

SHARP Scripter on GitHub
SHARP Scripter Linux Binaries

Screenshots:

Simple Autonomous Layout Example
Simple Autonomous Layout Example With Parameters
Command Option Creation

Licensing: GPL v3 (More Info)

Credits:
  • Qt Creator
  • JSONCPP
  • JSON Simple for Java
__________________
Any post that I make expresses only my opinions. I do not represent the opinions of my team or of any entity affiliated with my team.

As a Mentor:
2016 - Engineering Inspiration at Greater Pittsburgh Regional

As a Driver:
2014 - Winner of Greater Pittsburgh Regional

Last edited by eddie12390 : 16-03-2015 at 19:38.
  #2   Spotlight this post!  
Unread 17-03-2015, 10:26
daconex's Avatar
daconex daconex is offline
Registered User
AKA: David Corbin
FRC #4467 (Titanium Titans)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2012
Location: Pittsburgh
Posts: 5
daconex is an unknown quantity at this point
Re: SHARP Scripter - GUI-Based Autonomous Scripter

Interesting idea! I'm definitely going to check it out!
  #3   Spotlight this post!  
Unread 17-03-2015, 10:33
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: SHARP Scripter - GUI-Based Autonomous Scripter

It looks neat, but it appears to have the flow of a drag-and-drop program (especially the programming language that FIRST Lego League uses). Try taking a different approach and plotting them on a top-down field; for example, you would tell it to go to this point on the image and it would do a simple calculation to calculate the amount of inches away or so you are and then generate the code necessary for driving to that location. Does that make sense? Autonomous scripting like this has been done before but only one team has done what I mentioned (PiggyPlotter is the name I think) and it's not open-source.

Nevertheless, great job so far! There looks to be a lot of time put into it.
  #4   Spotlight this post!  
Unread 17-03-2015, 11:25
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: SHARP Scripter - GUI-Based Autonomous Scripter

Quote:
Originally Posted by Ozuru View Post
It looks neat, but it appears to have the flow of a drag-and-drop program (especially the programming language that FIRST Lego League uses). Try taking a different approach and plotting them on a top-down field; for example, you would tell it to go to this point on the image and it would do a simple calculation to calculate the amount of inches away or so you are and then generate the code necessary for driving to that location. Does that make sense? Autonomous scripting like this has been done before but only one team has done what I mentioned (PiggyPlotter is the name I think) and it's not open-source.

Nevertheless, great job so far! There looks to be a lot of time put into it.
A number of years before I was on WildStang, our team used something similar to what you're describing: you could plot out an arbitrary path on the field, and the robot would traverse it using a system we called stangPS (stang positioning system). I can talk to the mentors and see if the code is still around and if we can release it. It's probably very outdated but it could still be interesting to look through.
  #5   Spotlight this post!  
Unread 17-03-2015, 11:49
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: SHARP Scripter - GUI-Based Autonomous Scripter

Quote:
Originally Posted by nathanwalters View Post
A number of years before I was on WildStang, our team used something similar to what you're describing: you could plot out an arbitrary path on the field, and the robot would traverse it using a system we called stangPS (stang positioning system). I can talk to the mentors and see if the code is still around and if we can release it. It's probably very outdated but it could still be interesting to look through.
Nathan, I was the mentor that did that back in 2003, and updated in 2004 (was that really 12 years ago?!?!). The navigation software on the robot was called StangPS. The external C# program that we used to draw the autonomous routines was called WildDraw. Our naming convention was that anything on the robot was Stang* and any external tool was Wild*. 2003 was the first year of autonomous and we were able to capitalize on the flexibility of being able to semi-accurately tweak programs without being on the field. We actually drew up a bunch of programs on the bus going to Michigan based on some ideas we were throwing around.

The program itself was a top down view of the field and you would add waypoints to create your path. Each waypoint had a series of properties that defined what we wanted the robot to do at each point. The output was a block of text (basically a giant array definition) that we would copy/paste right into our code.

I can probably dig up an old copy of that code, but at this point it's probably so archaic that I'm not sure what you'd learn from it. I can almost guarantee that it isn't in good shape for releasing to public eyes. I know we took a lot of short cuts and things were very tailored to our specific needs. If you're super interested in it let me know and I'll see what I can do.

Thanks to the wayback machine, I was able to find an old video that we did showing how we accomplished what we did. You'll see some WildDraw shots at the end of it. http://web.archive.org/web/200601141...in/stangps.php
  #6   Spotlight this post!  
Unread 17-03-2015, 14:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,532
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: SHARP Scripter - GUI-Based Autonomous Scripter

Quote:
Originally Posted by Ozuru View Post
It looks neat, but it appears to have the flow of a drag-and-drop program (especially the programming language that FIRST Lego League uses). Try taking a different approach and plotting them on a top-down field; for example, you would tell it to go to this point on the image and it would do a simple calculation to calculate the amount of inches away or so you are and then generate the code necessary for driving to that location. Does that make sense? Autonomous scripting like this has been done before but only one team has done what I mentioned (PiggyPlotter is the name I think) and it's not open-source.

Nevertheless, great job so far! There looks to be a lot of time put into it.
Just because it's the first time you've seen it doesn't make it the first time it was done.

Last edited by Tom Line : 17-03-2015 at 14:35. Reason: Nathan and Dave beat me to it.....
  #7   Spotlight this post!  
Unread 17-03-2015, 15:49
Kevin Selavko's Avatar
Kevin Selavko Kevin Selavko is offline
Registered User
AKA: Voltonless
FRC #3260 (SHARP)
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Beaver PA USA
Posts: 155
Kevin Selavko is on a distinguished road
Re: SHARP Scripter - GUI-Based Autonomous Scripter

Quote:
Originally Posted by Ozuru View Post
It looks neat, but it appears to have the flow of a drag-and-drop program (especially the programming language that FIRST Lego League uses). Try taking a different approach and plotting them on a top-down field; for example, you would tell it to go to this point on the image and it would do a simple calculation to calculate the amount of inches away or so you are and then generate the code necessary for driving to that location. Does that make sense? Autonomous scripting like this has been done before but only one team has done what I mentioned (PiggyPlotter is the name I think) and it's not open-source.

Nevertheless, great job so far! There looks to be a lot of time put into it.
I know that team BNS made something like this for vex called VAP(VEX Autonomous Planner).
https://youtu.be/BFaWg4AFxuM?t=48s
http://www.vexforum.com/showthread.php?t=83258
__________________
Team SHARP
Pittsburgh Regional Champions 2014
Vex Pittsburgh Excellence Award 2014
Vex Pittsburgh Champions 2014
Vex Maryland Champions 2014
Pittsburgh Regional Finalists 2013
Buckeye Regional Finalists 2013
  #8   Spotlight this post!  
Unread 17-03-2015, 16:52
M3rcuriel's Avatar
M3rcuriel M3rcuriel is offline
Mentor
AKA: Lee Mracek
FRC #0299 (Valkyrie Robotics)
Team Role: Mentor
 
Join Date: Jun 2014
Rookie Year: 2013
Location: Cupertino
Posts: 19
M3rcuriel is on a distinguished road
Re: SHARP Scripter - GUI-Based Autonomous Scripter

I'm working on a modification to SmartDashboard that will allow us to write auton from SmartDashboard in queue.
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


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

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