You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ssh robotis@<ip address of darwin># Darwin IP
sudo bash
roslaunch jsk_darwin darwin_op2.launch
# Servo becomes on and Darwin stands up and then sit down.
Launch robot camera (unnecessary if you don't use camera)
ssh robotis@<ip address of darwin># Darwin IP
sudo bash
roslaunch jsk_darwin darwin_op2_camera.launch
# /image_raw topic starts to be published.# If program causes error, you need to reboot Darwin PC.
Visualize
rossetrobot <ip address of darwin>
rossetip # use same network of robotsource~/ros/ws_darwin/devel/setup.bash
roslaunch jsk_darwin darwin_op2_rviz.launch
# Rviz launches and Darwin model is visualized.# Check IMU in displays panel to visualize IMU data.
Move from EusLisp
rossetrobot <ip address of darwin>
rossetip # use same network of robotsource~/ros/ws_darwin/devel/setup.bash
roscd jsk_darwin/euslisp
roseus robotis_op2-interface.l # run euslisp with prompt $ and ;; for comments;; initialize robot interface
$ (robotis_op2-init)
$ (objects (list *robotis_op2*))
;; send command
$ (send *robotis_op2* :init-pose)
$ (send *ri* :angle-vector (send *robotis_op2* :angle-vector) 10000)
$ (send *ri* :wait-interpolation)
;; get actual state
$ (send *robotis_op2* :angle-vector (send *ri* :state :potentio-vector))