Skip to content
Permalink
Browse files

baxtereus/test/test-baxter.l: test-baxter-interface only available af…

…ter indigo
  • Loading branch information...
k-okada committed Jun 25, 2016
1 parent 70c7676 commit ff3c8624983ebe7fc6cf41bb42de0734b1baf72c
Showing with 2 additions and 0 deletions.
  1. +2 −0 jsk_baxter_robot/baxtereus/test/test-baxter.l
@@ -197,6 +197,7 @@
(assert (= (elt (send robot :rarm :angle-vector) i) (elt reversed i))))
))

(when (string> (unix::getenv "ROS_DISTRO") "hydro")
(load "package://baxtereus/baxter-interface.l")
(deftest test-baxter-interface
(let (robot ri msg)
@@ -214,6 +215,7 @@
;; torso_t0 should not be contained in robot-state
(assert (not (member "torso_t0" (cdr (assoc :name (assoc 'robot-state (send ri :slots)))) :test #'string=)))
))
) ;; when

(deftest test-baxter-init
(baxter-init))

0 comments on commit ff3c862

Please sign in to comment.
You can’t perform that action at this time.