1. 01 May, 2007 1 commit
    • Russ Fish's avatar
      Use a 50 cm scale for the pc600 wifi cluster map. · bfb232a7
      Russ Fish authored
      Show id's on pc600 wifi cluster nodes.
      Fix an areamap bug which offset areas on maps after the first, due to the bug that
      required moving image cropping out of Perl ImageMagick and into shell ImageMagick cmds.
      bfb232a7
  2. 30 Apr, 2007 2 commits
  3. 06 Mar, 2007 1 commit
  4. 14 Dec, 2006 1 commit
  5. 20 Jul, 2006 1 commit
    • Leigh Stoller's avatar
      This start out as: · 5dfa4a47
      Leigh Stoller authored
      * add an "active" flag to the template record, which will be used by
        the user to indicate what templates he wants listed (rather then the
        roots). Basically, the current working templates, rather then a big
        graph.
      
      But I never actually finished that cause it sorta morphed into:
      
      * Added a vis_graphs table to cache the last generated visualization
        rendering in the database so that we do not have to wait so long for:
      
      * Add new buttons to showexp and template_show pages, to display in the
        same page either the settings (current view), the NS file, or the
        visualization (along with zoom in/out buttons).
      
      And now I can go back to that "active" thing I mentioned up above ...
      5dfa4a47
  6. 08 May, 2006 1 commit
  7. 05 May, 2006 1 commit
  8. 31 Aug, 2005 1 commit
  9. 31 May, 2005 1 commit
  10. 13 May, 2005 1 commit
  11. 12 May, 2005 1 commit
  12. 31 Mar, 2005 1 commit
    • Leigh Stoller's avatar
      Minor changes for how obstacles are drawn. Obstacles are now filled in · 7300d5f7
      Leigh Stoller authored
      all the time. Turning on exclusions just extends the shading around
      the object.  Also pay attention to new DB flag "no_exclusion" which
      prevents the zone from ever being drawn, and is used to reduce visual
      clutter by turning of the zone for some obstacles. Also remove the
      blue border around the zones, again to reduce visual clutter.
      7300d5f7
  13. 22 Mar, 2005 1 commit
  14. 03 Mar, 2005 1 commit
  15. 15 Feb, 2005 1 commit
  16. 07 Feb, 2005 1 commit
  17. 04 Feb, 2005 1 commit
    • Timothy Stack's avatar
      · 6f545cf0
      Timothy Stack authored
      Some more robot integration.
      
      	* event/lib/event.h, event/lib/event.c: Add some
      	event_notification creation functions that get used in
      	event-sched.
      
      	* event/sched/event-sched.c, event/sched/rpc.h,
      	event/sched/rpc.cc: Sync the start of event time with the
      	robots reaching their initial positions.  This is done by
      	creating a master event-sequence that takes care of sending
      	the SETDEST events and then starting the Simulator timeline.
      
      	* mote/tbuisp.in: Use node_reboot instead of ssh'ing in.
      
      	* robots/GNUmakefile.in: Don't build tbsetdest if ulsshxmlrpcpp is
      	not available.
      
      	* robots/emc/loclistener.in: Clear the destination values for a
      	node when it reaches its destination.
      
      	* robots/primotion/garcia-pilot.cc,
      	robots/primotion/pilotClient.cc: Some cleanup and debugging.
      
      	* robots/primotion/wheelManager.cc: Check the rear sensors for
      	obstructions and then decide which way to pivot.
      
      	* robots/rmcd/pilotConnection.h, robots/rmcd/pilotConnection.c,
      	robots/rmcd/rclip.h: Even more tweaking.
      
      	* robots/tbsetdest/tbsetdest.cc: Don't generate points that are
      	outside the camera bounds or inside an obstacle.
      
      	* robots/vmcd/visionTrack.c, robots/vmcd/vmcd.h,
      	robots/vmcd/vmcd.c:  Add more debugging output.
      
      	* tbsetup/os_setup.in: Removed the robot hack used when deciding
      	which nodes to reconfig/reboot.  Added a robot hack to avoid
      	rebooting a robot whose mote is being os_load'd, since it would
      	interrupt tbuisp which does the reboot anyways.  Also fixed a
      	small typo.
      
      	* tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/sim.tcl.in: Oops, forgot
      	to convert degrees to radians.
      
      	* tbsetup/ns2ir/topography.tcl: When checking for node destination
      	points in obstacles, include the implicit exclusion zone.
      
      	* tmcd/common/bootsubnodes: Add empty "mote" case.
      
      	* tmcd/linux-sg/GNUmakefile.in: Make some of the /etc subdirs when
      	doing the install.
      
      	* tmcd/linux-sg/rc.stargate: Start garcia-pilot.
      
      	* vis/floormap.in: Add options for showing the camera bounds,
      	obstacle exclusion zones, and displaying vnames instead of pnames.
      
      	* www/ledpipe.php3: Finally figured out how to use a socket
      	instead of popening a perl script.
      
      	* www/robotmap.php3: Add checkboxes for displaying/not displaying
      	the camera bounds and obstacle exclusion zones.  Add a legend
      	showing what actual vs. destination points are.  Pass pid/eid
      	through to vis/floormap if it is given.
      
      	* www/showexp.php3: Add a "Robot Map" link to experiments that
      	have allocated garcias.
      
      	* www/floormap/map_legend_node.gif,
      	www/floormap/map_legend_node_dst.gif: Icons used by the robot map
      	legend.
      
      	* www/floormap/robots-4.jpg: Added an obstacle around the entryway
      	so people are slightly less likely to trip over the robots.  Added
      	a coordinate system legend to the top left corner.
      
      	* www/tutorial/mobilewireless.php3: Add links to David's movie of
      	the robot making its way around the pillar.
      
      	* www/tutorial/robot_anim.gif: A nifty gifanim clip of the robot
      	movie.
      
      	* xmlrpc/emulabserver.py.in: Pull the camera data from the DB,
      	instead of returning hardcoded stuff.
      6f545cf0
  18. 31 Jan, 2005 2 commits
    • Leigh Stoller's avatar
      Oops, fix minor typo in previous revision. · c418c722
      Leigh Stoller authored
      c418c722
    • Leigh Stoller's avatar
      Tweaks to robot display: · 3acfb53d
      Leigh Stoller authored
      * If there is a destination for a rebot, display that as a shadow circle.
        Draw a light grey line from source to destination.
      
      * If an orientation is in the location_info table, the current location
        circle gets a stick drawn in that direction.
      
      * If the destination has an orientation in the nodes table, the shadow
        circle gets a stick drawn in that direction.
      
      * I added a little bit of code so that labels are drawn on top if the
        orientation stick would draw through it. I'm sure that will interact with
        cropping badly if a node is right at the edge of the picture.
      3acfb53d
  19. 27 Jan, 2005 1 commit
  20. 26 Jan, 2005 1 commit
  21. 11 Jan, 2005 1 commit
    • Leigh Stoller's avatar
      Add "obstacles" for robots to avoid. · eda7add2
      Leigh Stoller authored
      * New database table to store obstacles, in the usual coord system;
        x1,y1, is the upper left corner.
      
      * New web page to dump the entire obstacle list
      
      	https://www.emulab.net/obstacle_list.php3
      
      * New web page to dump a single obstacle, referenced by the above list
        page, and by the floormap generator.
      
      * Hack up the floormap code to add obstacles to the areamap, so that
        when you mouse over them, you get a ballon showing the description,
        and a link to the above mentioned page.
      eda7add2
  22. 03 Jan, 2005 1 commit
  23. 20 Dec, 2004 1 commit
    • Leigh Stoller's avatar
      Add little tip tool ballons to each dot, which give the nodeid for all · 2bdd9c8b
      Leigh Stoller authored
      nodes, and then if allocated and person has permission, the vname and
      pid/eid.
      
      Note that tip tool ballons have no formatting capabilities at all;
      just a simple text string.
      
      If we want fancier, I found some javascript code that will popup real
      windows, and then kill them like a tool tip after a short pause or
      when the user mouses out. The downside of the real window is that with
      some window managers, you still get a status bar along the top, and so
      it looks icky. The upside is that we can put real information and
      formatting directives in the popup.
      2bdd9c8b
  24. 14 Dec, 2004 1 commit
  25. 18 Oct, 2004 1 commit
  26. 14 Oct, 2004 1 commit
    • Leigh Stoller's avatar
      Add clause to node query to select just experimental nodes when -e · 807f505a
      Leigh Stoller authored
      option was given (as is when called from experiment page). This
      restricts the nodes to just those in the experiment.
      
      This interacts with ghosting mode (where other nodes on other floors
      are shown). In the above case, should ghosting show all nodes on other
      floors, or just nodes in the experiment on other floors? For now, it
      does the latter, but it might useful to have a mode for the other
      case?
      807f505a
  27. 16 Sep, 2004 1 commit
  28. 15 Sep, 2004 1 commit
  29. 13 Sep, 2004 1 commit
  30. 10 Sep, 2004 1 commit
    • Russ Fish's avatar
      Add MapQuest-style pan and zoom controls to the floormap.php3 page, and · aa7d57a9
      Russ Fish authored
      generally improve the clarity and appearance of the maps.  The scale factor
      buttons numbered 1-5 actually correspond to scale factors of 1, 1.5, 2, 2.5,
      and 3.
      
      Notice that the floorimages table in the database now has an integer "scale"
      column to distinguish the cached zoomed-in images with a suffix "-[1-5].jpg" .
      
      I use jpeg files instead of the png files that were used before.  They look as
      good or better, and are a third the size.  Panning around at a given zoom
      factor just involves cropping out a different rectangle of the scaled-up
      images.
      
      The 0311X064_[1-4]fl.pdf floor map files we got from Michael Kay started
      out life in Adobe Illustrator.  Although GhostScript/gv crash while
      trying to draw the pdf files, extracting them into PostScript files in
      Acrobat on Coke allows GhostScript to render them flawlessly.
      
      I started out using gs to render jpeg files in the shell, and then
      found that ImageMagick uses the same GhostScript renderer, and nicely
      handles cropping, drawing and annotations, and format conversion as well.
      
      The PostScript rendering gets slow at higher zoom factors.  So I cache the
      zoomed floor images, scaled up by rendering the PostScript files at a finer
      dot-pitch (density) in GhostScript, and then cropping out the right rectangle
      to register them properly.
      
      For readability, and to avoid having the thin lines and bitmap fonts used in
      some parts of the PostScript map from falling between the pixel cracks, I
      actually render at twice the pixel density and filter down to the final image
      with a gaussian -sharpen option to keep it from looking blurry.
      
      ImageMagick is callable from both the shell and as the Image::Magick package
      in Perl.  I converted the Perl logic in floormap.in to use Image::Magick
      instead of the GD graphics library, resulting in anti-aliased (smoothed)
      drawing of the wireless node dots and labels on floor maps for a better
      appearance.  Then I added optional scaling and centering arguments which
      select the proper cached zoomed-in image, and drive the logic for cropping and
      drawing.
      
      I modified the floormap.php3 file to wrap an input form around a set of zoom
      control buttons and the floormap image.  The zoom buttons set the scale
      argument to the Perl floormap script called on the server.  The floor map
      image itself is wrapped in a graphical submit button, so clicking on it
      returns the mouse coordinates within the image, which are then sent to the
      centering argument of the Perl script.
      aa7d57a9
  31. 25 Jun, 2004 1 commit
  32. 10 Jun, 2004 1 commit
    • Leigh Stoller's avatar
      Add support so that setnodeloc and floormaps can be used on the · 159ced78
      Leigh Stoller authored
      new_nodes table. Thought it would be easy, but ended up doing more
      damage then I expected; oh well. New nodes show up in "gold" color
      (not listed in the legend).
      
      I added a link from the newnode_edit page. Rob will need to arrange
      for a location_info entry to be created when a new node is made live
      (but only if building/floor are not null).
      159ced78
  33. 09 Jun, 2004 1 commit
    • Leigh Stoller's avatar
      Switch everything over to using new buildings and floorimages tables · 315c5d9c
      Leigh Stoller authored
      that I added to the DB. See revision 1.251 of sql/database-create.sql.
      I have removed all of the hardwired names of buildings, images, files,
      etc. I have also added MEB floors 1 and 2, but they do not show up on
      the status page unlesss there are actually nodes assigned to them.
      When you go to set a node location, you do see the little thumbs of
      all existing buildings/floors, so you can add nodes to floors that do
      not currently have any.
      
      Still needs some work to cleanly display multiple buildings, but thats
      for another day.
      315c5d9c
  34. 08 Jun, 2004 1 commit
    • Leigh Stoller's avatar
      A bunch of cleanup and improvement. · 7bc9596e
      Leigh Stoller authored
      * Redo all the MEB .png files, removing the existing titles from the
        images, and cropping down the images to the actual floors. Redid the
        thumbnail files at the same time. Note that the existing location_info
        entries need to be updated, which I will do.
      
      * Rework portions of floormap.in in preparation for using the DB to
        describe the image files (still hardwired into the floormap).
      
      * Draw a title in each image using a truetype font, based on what will
        eventually come out of the DB, plus a floor tag.
      
      * Add option (-t) to not draw any titles; just naked images.
      7bc9596e
  35. 16 Apr, 2004 1 commit
  36. 15 Apr, 2004 2 commits
  37. 12 Apr, 2004 1 commit