1. 11 May, 2005 5 commits
    • Leigh B. Stoller's avatar
      Look for experiments using robots and add links to the tracker and · a3fcacd3
      Leigh B. Stoller authored
      node selector applets.
      a3fcacd3
    • Leigh B. Stoller's avatar
      Add a "withwebcams" option to the tracker applet. When turned on, the · 179cf519
      Leigh B. Stoller authored
      mini images from the webcams (240x180) are displayed in the mechanical
      area in the lower right of the floormap. The frame rate is 2fps to
      avoid pummeling the node, as its all done with Java, including the
      jpeg conversion and display (I grabbed most of this code from my
      tools/webcamapplet that I wrote a while back).
      
      My first attempt at this performed really bad cause I was redrawing
      the entire display whenever a new frame came into any camera. Ack,
      this was chewing 98% of the CPU.
      
      So, I restructured things so that each camera is in its own JPanel and
      has its own paint callback. However, in order to have overlapped
      JPanels (since the base image is also a JPanel) I needed to shift to
      using the LayeredPane instead of the ContentPane of the applet. This
      meant creating a wrapper JPanel to hold the base image, and then
      combining everything together on the layered pane. The result is that
      the repainting system paints only what needs to be painted, and
      everything runs much much faster (about 15% CPU on my desktop).
      
      Also got rid of my inline double buffering; JPanels do that by default
      for you. I did not realize that at the time I wrote the applet cause I
      missed the tiny footnote in the Graphics2D tutorial that says Swing
      components do that for you!
      179cf519
    • Leigh B. Stoller's avatar
      Aside from cleanup, the main change is that instead of using vlc to · 6dae341e
      Leigh B. Stoller authored
      transcode a motion jpeg into mpeg (very CPU intensive), I know know
      how to alter the camera frame rate on the fly using a wget call. The
      downside is that this affects the camera globally (mpeg rate), but
      thats okay since the grabwebcams script only allows itself to be run
      once at a time to avoid conflict.
      
      Still not hooked into experiment path; waiting for terrabytes of disk
      storage!
      6dae341e
    • Leigh B. Stoller's avatar
      Add a weekly scan for experiments that have used the wireless nodes · 118b1267
      Leigh B. Stoller authored
      in the last week, as per Jay's request. This will be done on the Sunday
      run and look for experiments swapped in during the previous week.
      118b1267
    • Leigh B. Stoller's avatar
      Minor tweak, nothing important. · b10815d4
      Leigh B. Stoller authored
      b10815d4
  2. 10 May, 2005 14 commits
  3. 09 May, 2005 5 commits
  4. 08 May, 2005 1 commit
  5. 06 May, 2005 15 commits