 
   # Play the file NOW and use the given callback
   log_parser.play (p) ->
+    console.log("render")
     switch p.type
       when 2
         updateVisionState p.packet

      @current = @parse_packet()
      delta = @current.timestamp - @previous.timestamp
      delta = 0 if delta < 0
      cb(@current)
      setTimeout (=> @play(cb)), delta
    else
      console.log("reached end")


    .attr("d", robot_path)
    .attr("transform", robot_transform)

  #robot.exit()
  #  .remove()

  label = svg.selectAll(".robot-label.#{color}").data(robots, (d) -> d.robot_id)

