Lazer Tower #1 Online!

 

Flash News Bulletin -  A Nasty Horde of Soccer Robots are on route from China to Denmark !

 

We peek in on a commander yelling at a sergeant somewhere over the internet tubes.

commander:  Sergeant, I need you to get into MK I Lazer Tower #1 and knock out that robot soccer horde pronto !
sgt: But SIR, I have never trained on that unit before ?!?
commander:  I don't give marshmallow's teet, now get your ass in that thing before I vaporize you on the spot !
sgt: YES SIR !

This is it.  A 100' climb on a perilous ladder and you throw yourself into the cockpit of the giant lazer canon. I can't believe this, you repeat to yourself.  I don't know how to work this thing.  How the hell am I going to figure this out?  You fumble around with some of the switches, and the console lights up with a login & password prompt.  You swiftly type in your name and guess a password.  It worked! Your in !  Then ......

Sparks and smoke !  Wires fall from the ceiling. "What a piece of ■■■■■■ you say to yourself and curse the malevolent engineers who made this pile of junk.  Oh well, here goes nothing. 

Your Mission if You Choose :

1. login with your lmr handle
2. figure out some of the secret key strokes (credits to Darwin Bot & rik for the idea !)
3. report bugs, strange behavior, lewd and lascivious actions ! 
4. comment & screen print some of your successes !
5. suggest how we can make a better, less "piece of ■■■■■■■■■■■ lazer tower MK II. 

GOOD LUCK Sergeant !

For Video & Audio - go to http://www.ustream.tv/channel/myrobotlab

For control go to  http://70.59.157.45

Picture of Crap MK I Lazer Tower
soccer reference - https://www.robotshop.com/letsmakerobots/node/22503 

 

Shoots robot soccer players

  • Actuators / output devices: 2 X Servos
  • Control method: MyRobotLab - SoccerGame / Player Java Remote Applet GUI
  • CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz, 2 cores
  • Operating system: Fedora Core 13
  • Power source: ATX PSU 220W
  • Programming language: Java
  • Sensors / input devices: Logitech Camera, EZ1 Sonar, IR Module, 3D - Accelerometer
  • Target environment: Danish soccer stadiums

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/lazer-tower-1-online

10 points for visuals, and

10 points for visuals, and the voice on Ustream. I want that poster printed out, please provide larger file :slight_smile:

The java: Could not make it work. Mac, would not load. PC, would load, had trouble overseeing the UI, understood it (I think), bu could not log in. Just nothing happened when trying.

10 bonus points for the laugh. I cannot believe that already BEFORE we have managed to get this difficult game up and running, you … well… It’s like “We chose to go to the moon. Not because it is easy, but because it is hard” - and then GroG says “Let me put some frogs in your rockets, man!” :smiley:

Ok, I enabled the console

Ok, I enabled the console and logging, when i try to lauch the applet it failes, and I get two errors in console:

Java Plug-in 1.5.0
Using JRE version 1.5.0_24 Java HotSpot™ Client VM
User home directory = /Users/grahamsargent
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@5983b7, refcount=1
basic: Loading applet…
basic: Initializing applet…
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@cf6f61
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@5983b7, refcount=2
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@5983b7, refcount=1
java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:173)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:659)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1873)
    at jep.AppletFramePanel.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
    at sun.applet.AppletPanel.run(AppletPanel.java:369)
    at jep.AppletFramePanel.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:613)
basic: Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:173)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:659)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1873)
    at jep.AppletFramePanel.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
    at sun.applet.AppletPanel.run(AppletPanel.java:369)
    at jep.AppletFramePanel.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:613)

success - comparatively

I feel your pain, Grog. So I’m gonna say it was a complete and total success for me. Java Applet loaded and started without any errors.

When first logging in, it complained about “too many players”. This was remedied with persistence. Second attempt got me in.

Cursor keys controlled movement of the camera/search light pan/tilt. With non-intuitive controls for the vertical and for the horizontal movements.

The “player log” will go blank every so often. But always returns with my history of key presses. It reports who is playing every now and again.

The Speech synthesizer trips over his words. I feel I should type long pauses between words.

(click for full resolution image)

I swear I saw a laser dot on the wall at some point! Which key did I press!?!?!?!?

AARGGGRHRHH!!! These blue soccers keep coming at us Sir!

I got this murky image

I got this murky image:

grog_soccer_video_01s.jpg

Applet loaded fine (Vista 64bit + Firefox + JRE 1.6.0_20-b02 and Kubuntu too). Didn’t get much control of anything but I got that light(?) going brighter every now and then. Lag between pressing a key and seeing “the bright light” on video was about 3 seconds.

Those logs go blank once in a while for me too.

That weird freezing issue is still there (the one I wrote about in Live soccer robots on LMR thread). At least it’s not a browser issue as it happens with IE too. (I thought it could be because Firefox has been giving me hard time.)

 

That’s where I left it

It’s probably the most extreme lower left corner of its field of vision in the pan/tilt mechanism.

Excellent Work Team !

Thanks for all the testing support.  At this point the Tower is OFFLINE, when I came in this morning it was face down dead. (very slapstick)  Fortunately, the software did not crash - complete mechanical failure, with Servo gear being stripped.

You’ve scattered those nasty smurfs - now its time to clean up !
I have decided to become distracted (BUTTERFLY!) by making MK 1.1 MOBILE Lazer tower… BWA HA HA HA - so you can roll around and find the hidden guys !

But, my supreme commander has informed me I have choirs to do, so it will take time.

I’ll report back when we are ROLLING !

GroG out…

Java 1.6 Only

Sorry UltraMagnus,
I thought it would be 1.5 compatible - but it appears there are a few parts which have dependencies on Java 1.6.  At some point I will go back and see if the 1.6 dependencies can be removed.  Thanks for the good info.

GroG

Hmm, I just noticed that, I

Hmm, I just noticed that, I have 1.6 set to be used in preferance of 1.5, but it still used it anyway.

even odder, I just tried disabling everying except 1.6, and firefox crashes when i try to load any java applet.  I guess my 1.6 install is corrupt.

Safety procedures around lasers…

Be sure to post safety warnings around laser operations.

Download

Download Java 1.6 http://download.cnet.com/Apple-Java-Update-OS-X/3000-2213_4-10842013.html for the mac