Labels

Thursday, 13 June 2013

update and problems..

Just had my RC Car to work with the program! But could only control the backward and left function on the car... This is an indication of a breadboard problem... Me wiring it up wrong... Also now im getting an error of "NullpointerException". Even though it was working fine before.

Alright just an add on I've fix the NullPointerException now it just wiring the board correctly then getting the maze to work.

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..

Wednesday, 5 June 2013

My background for my program so far..

It simple at the moment, need to change it or maybe add arrows instead of plain circles...

Sunday, 2 June 2013

My new RC Car.

Here is my upgraded RC Car for project two! This RC Car is still light dependent and the next step is to create a trailer for the RC Car so I can attach the P.O.V device to the back of it. Then have to program the P.O.V to say whatever I want.

Also a link for it working.. : http://www.youtube.com/watch?v=Dw2b5XB8UmY&feature=youtu.be