Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable to test navigation in gazebo for pr2-ri-test #420

Merged
merged 12 commits into from Nov 27, 2019

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Nov 15, 2019

Includes @knorth55 fix k-okada#17

  • do not download gazebo models, it takes long time in first time, you can try by removing ~/.gazebo/models directory.

Screenshot from 2019-11-15 10-54-39
Screenshot from 2019-11-15 10-54-21

@k-okada k-okada changed the title enable to test navigation stuff in pr2-ri-test enable to test navigation in gazebo for pr2-ri-test Nov 21, 2019
@k-okada
Copy link
Member Author

k-okada commented Nov 25, 2019

@pazeshun did you write code something like ? if so please add PR.

(defmacro deftest (name &rest body)
  `(progn
     ;; its not cool...                                                         
     (defun ,name ()
       (let ((tm (instance mtimer :init)))
       (warning-message 3 "start testing [~A]~%" ',name)
       ,@body
       (warning-message 3 "done  testing [~A] ~A~%" ',name (send tm :stop))
       ))
     (send *unit-test* :add-function ',name)
     ',name))
done  testing [test-wait-interpolation] 48.5682
done  testing [test-start-grasp] 35.8941
done  testing [test-tuckle-arm] 91.5009
done  testing [test-wait-interpolation-after-stop-grasp] 3.09813
done  testing [test-arm-rotation] 400.834
done  testing [test-wait-interpolation-timeout] 150.474
done  testing [test-end-coords-interpolation] 28.9235

@pazeshun
Copy link
Collaborator

@pazeshun did you write code something like ? if so please add PR.

@k-okada Sorry, I just write print sentences inside each test...: ad33783

@k-okada k-okada merged commit fca8bae into jsk-ros-pkg:master Nov 27, 2019
@k-okada k-okada deleted the add_navigation_test branch November 27, 2019 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants