Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Robotics Score System Program (http://www.chiefdelphi.com/forums/showthread.php?t=51408)

kevin.fort 16-01-2007 12:26

Re: Robotics Score System Program
 
We have a java version similar to this(right now it only does ringers but optimal placement of ringers, keepers, and spoilers is being added)
http://hacksaw.programming.googlepages.com/programming

tux 16-01-2007 17:24

Re: Robotics Score System Program
 
> http://shock.easthighschool.net/proj...ck/repo/trunk/

I added a GUI to the Python version now. Next goal is to
make it playable over the 'net.


> http://hacksaw.programming.googlepages.com/programming

This one, I get "Applet roboticsScore notinited" and then
"Loading Java Applet Failed".

astephen68 16-01-2007 17:31

Re: Robotics Score System Program
 
This is good program. How long did it take to make?

ham90mack 16-01-2007 19:10

Re: Robotics Score System Program
 
Hmm... the tactics don't seem to work very well on this program (v.1.5). Try lining up the rings like this starting in the upper left hand corner:
B
B R R
The program's suggestions seem to be a bit erratic. The most red gain showed a green piece on top of the lower blue piece and said the score was 10 to 4.:confused: Also, showing the most blue loss multiple times causes the projected red score to jump higher every time.
I am currently developing a program like this in Java, but it will be text based at first, or it always will, I'm not sure yet. But I will make sure that it works well with scoring and deciding the best next offensive and defensive moves. I am also thinking about having an option to save a text file with every move and suggestion made.

gnirts 16-01-2007 19:23

Re: Robotics Score System Program
 
Quote:

Originally Posted by tux (Post 558315)
> http://shock.easthighschool.net/proj...ck/repo/trunk/

I added a GUI to the Python version now. Next goal is to
make it playable over the 'net.

Change the link to the one in your previous post as this one 404s. You also might want to right a readme and .zip it all together so that those unfamiliar with Python can use it.

- Robinson

230Robokid 16-01-2007 20:05

Re: Robotics Score System Program
 
Quote:

Originally Posted by ham90mack (Post 558401)
Hmm... the tactics don't seem to work very well on this program (v.1.5). Try lining up the rings like this starting in the upper left hand corner:
B
B R R
The program's suggestions seem to be a bit erratic. The most red gain showed a green piece on top of the lower blue piece and said the score was 10 to 4.:confused: Also, showing the most blue loss multiple times causes the projected red score to jump higher every time.
I am currently developing a program like this in Java, but it will be text based at first, or it always will, I'm not sure yet. But I will make sure that it works well with scoring and deciding the best next offensive and defensive moves. I am also thinking about having an option to save a text file with every move and suggestion made.

We knew about the Most blue loss causes the red score to jump up rapidly. We are currently updating the program as i am typing.

Also, the problem with the scoring, when it had a green one where to blue one is it is basically saying that you should have a red one there instead of the blue to minimize there score and to enhance yours.

Taiku 16-01-2007 20:12

Re: Robotics Score System Program
 
First off, thanks for the support. (The program originally took 6~7 hours to make. Saturday Night to Sunday Morning)

The errors with tactics are complicated. I used the same subprogram to score the real score as the projected one. Some of the variables are called something different and are therefore add too much or too little are not reset and some other crazy things happen.

Is only showing places that could become "red" wanted? Because the true tactics code is a long FOR-LOOP. So it could be done but not as easily as the reg code is.

V1_6 PROJECTED RELEASE 1/18/07 <- this post will be edited to include it.

~Jordan

ay2b 16-01-2007 20:28

Re: Robotics Score System Program
 
Here's an HTML version that I put together (and mentioned already on a different thread)

http://quail.queue.org/~shadow/rack-score.html

Mitchel418 14-02-2007 15:12

A Humble Request
 
Hi All:

Long time reader, first time posting. Jordon, I was wondering if you would post the source code to your program, so I could make a minor modification to the tactics methods/routines. At present, that is to say V1.5, the best play sometimes proves to be covering a keeper with a spoiler. I think I could elminiate this, and would gladly post the new version and code here. (Note: If I am overlooking a posted V1.6, my apologies. I think it's a great program, and I'm not trying to step on any toes here, just think I could help.)


--Mitchel

Cynix 14-02-2007 18:30

Re: Robotics Score System Program
 
1 Attachment(s)
Here's a simulator written in java, should run on any system with java 1.5 (5) or higher. http://x7chat.com/temp/simulator.zip

I wrote it near the beginning of the build seasons because I had nothing else to do yet, I'm not working on it anymore so if you find bugs you'll have to fix them yourself or use a different program. Feel free to steal the source, algorithms etc. for anything you want.

It has a gui, move recommendation, score display and source code. Just a note on the gui, the different colored yellow dot represents the light facing your side of the arena (move recommendations are also based on distance to your home side). On windows double click racksim.bat to start. Move recommendations are done through brute force, but unless you're running a really old computer it shouldn't have any speed problems. The school's ancient 2ghz P4's handled it with no noticably delays.

ham90mack 16-02-2007 19:53

Re: Robotics Score System Program
 
Ok... I have finally finished my version of the FRC 2007 Strategy Solver (and scorekeeper). My program lets you place ringers, keepers, and spoilers the way you are supposed to (and remove spoilers as well) and tallys up the score, but it has much more.
It determines the next best offensive and defensive move for both teams. If it finds two moves that are equal in strength, it randomly chooses one of them.
It lets you undo and redo moves, which is nice if you misplace a ringer.
It lets you save the progress of the round to a file to continue later. This feature lets you undo moves when you load that you have done before saving if you want to.
You can even dump every move to a file for later review! This dump includes the score and strategy for each move.
The program is written in Java and can be run using any computer with JRE 1.5 or higher. The program is text-based, but it should still be a good tool for strategy seeing Taiku hasn't posted version 1.6 of his program yet. The program is in an executable jar file, so there is no need to compile the code.
The jar file is found here: http://ham90mack.googlepages.com/frc07strat
I would like feedback on my program, so either reply here, PM me, or use the contact page on my website above.

And yes, it has been a while since I have posted here, but thanks to the snow my school system closed every day except for Monday this week! So I have had a bit of time to work on the program this week...

ham90mack 21-02-2007 17:08

Re: Robotics Score System Program
 
I have recently updated my program to have a more graphical interface and shorthand commands. These shorthand commands allow multiple ringers to be placed! The old way of placing ringers still exists for the new users. Just look at the help dialog when you get to the main screen (after keepers are placed).

Once again, you can download the jar file here: http://ham90mack.googlepages.com/frc07strat

What does everybody think about this program?

macgyver 21-02-2007 19:49

Re: Robotics Score System Program
 
is there a way to get any of these on to a pocket pc. any help would be appreciated.

ham90mack 21-02-2007 20:18

Re: Robotics Score System Program
 
I don't use a pocket pc, but if it is able to run Sun JRE 1.5+, you can use my java program. Although it might be hard to read the text area, you can read the help dialog on a computer before you use in on the pocket pc.

NightWolf1298 01-03-2007 20:24

Re: Robotics Score System Program
 
Here's a .NET 2.0 version, written in C#: http://longwoodrobotic.6.forumer.com...opic.php?p=488

Assorted features:
Accurate, real-time scoring that includes detection of sequences that wrap around the edge of the Rack. Match timer with end-of-round buzzer. Pause/resume/restart matches. Interactive Rack, featuring full support for keepers, Red Alliance / Blue Alliance ringers, and spoilers. Save and load matches in XML format, at any point in the match, and resume from that point when you load. Automatically record an event-based, four-state match history stack that allows you to view every single move made during a match. History that gets saved along with the match, so you can review matches after the day's competition ends to enhance strategy planning for the next day's matches. (And, coming soon: Search across a folder of saved matches for specific information: score ranges, games in specific states, time left in matches, certain team numbers / names on certain alliances, etc.)

Raivo


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi