 
 
 (defun update-ros-topic-buffer-helper ()
+  (setq ros-topic-buffer (get-buffer-create "*ros-topics*"))
   (set-buffer ros-topic-buffer)
   (let ((old-stamp (rosemacs/get-stamp-string)))
     (erase-buffer)

    (if (and pub-start sub-start)
        (let ((new-published-topics (rosemacs/get-topics pub-start sub-start ros-num-publishers)))
          (setq ros-subscribed-topics (rosemacs/get-topics sub-start (point-max) ros-num-subscribers))
          (destructuring-bind (added deleted) (rosemacs-list-diffs ros-topics new-published-topics)
            (lwarn '(rosemacs) :debug "added topics : %s" added)
            (dolist (topic added)
              (add-ros-topic topic))
            (dolist (topic deleted)
              (remove-ros-topic topic))))
      (lwarn '(rosemacs) :debug "rostopic output did not look as expected; could just be that the master is not up.")))
  (lwarn '(rosemacs) :debug "Done parsing rostopic list")
  (setq ros-all-topics 

        (set-buffer buf)
        (ros-run-mode 1)
        (apply 'start-process (buffer-name buf) buf "rosrun" ros-run-pkg ros-run-executable ros-run-args))
      (switch-to-buffer buf))))

(defun rosrun/restart-current ()
  (interactive)
