LoadImage slowing up application
- PImage img;
- void setup(){
- size(500,500);
- }
- void draw(){
- background(0);
- img = loadImage("http://10.0.1.4/Jpeg/CamImg0.jpg");
- image(img,0,0);
- }
- ellipse(mouseX,mouseY,20,20);
Application processor: ARM11 dynamically clocking up to 667 MHz. We also have a micro-controller that powers the screen and accelerometer when the unit is in Standby mode.
Internal flash: 512MB
mDDR: 256MB
DRAM: 128MB
I am not sure what frame rate I was getting, I would assume around less than 10. I am trying to get as fast as it allows me for both control and video. The faster the app is, the easier it is to control the webcam robot.
I will try the debugging steps later today and let you know how they go. I am also going to try to decrease the cameras image size setting to see if this helps. What should I be looking for in the ddms?
Lastly I am running everything in eclipse already. I am just using the processing Applet so I can write the code using the processing language rather than normal java. I can use normal java for the additional threads/activities if necessary.