|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
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:
Last edited by eddie12390 : 03-16-2015 at 07:38 PM. |
|
#2
|
||||
|
||||
|
Re: SHARP Scripter - GUI-Based Autonomous Scripter
Interesting idea! I'm definitely going to check it out!
|
|
#3
|
||||
|
||||
|
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
|
|||
|
|||
|
Re: SHARP Scripter - GUI-Based Autonomous Scripter
Quote:
|
|
#5
|
||||
|
||||
|
Re: SHARP Scripter - GUI-Based Autonomous Scripter
Quote:
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
|
||||
|
||||
|
Re: SHARP Scripter - GUI-Based Autonomous Scripter
Quote:
Last edited by Tom Line : 03-17-2015 at 02:35 PM. Reason: Nathan and Dave beat me to it..... |
|
#7
|
||||
|
||||
|
Re: SHARP Scripter - GUI-Based Autonomous Scripter
Quote:
https://youtu.be/BFaWg4AFxuM?t=48s http://www.vexforum.com/showthread.php?t=83258 |
|
#8
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|