Labels

Wednesday, 12 June 2013

Update

Here is just an update on my last project for 251. Creating an application to run my Rc Car via a maze in processing.

Im stuck with an error atm :

IllegalAccssError:
Exception in thread "Animation Thread" java.lang.IllegalAccessError: tried to access class processing.core.PApplet$RegisteredMethods from class cc.arduino.Arduino$SerialProxy

at cc.arduino.Arduino$SerialProxy.<init>(Arduino.java:119)
at cc.arduino.Arduino.<init>(Arduino.java:168)
at code2_251.setup(code2_251.java:42)
at processing.core.PApplet.handleDraw(PApplet.java:2117)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:193)
at processing.core.PApplet.run(PApplet.java:2020)
at java.lang.Thread.run(Thread.java:680)

But otherwise I have finished the maze: (don'y worry about the erased circle, just did that so it wouldn't show in my application since i've written ellipse in my code. These were just for reference)


Next step is to surpass this error and learn how to use the get() function so I can make the mouse avoid the white walls or stay inside them..

No comments:

Post a Comment