start-jsk / rtmros_tutorials

Tutorials for rtmros packages
6 stars 61 forks source link
hacktoberfest

rtmros_tutorials Build Status

Tutorials for rtmros packages

Install

Please refer rtmros_common for installing these packages.

If you use closed models, you have to compile hrpsys_ros_bridge_tutorials after you download jsk_models or hrp2_models. If you compiled hrpsys_ros_bridge_tutorials before you download jsk_models or hrp2_models, you have to compile hrpsys_ros_bridge_tutorials again with --force-cmake option after you download jsk_models or hrp2_models.

NOTE If you use melodic distribution, you have to compile hrpsys_ros_bridge_tutorials after you install ros-melodic-collada-urdf-jsk-patch, which is automatically installed with rosdep install for hrpsys_ros_bridge_tutorials.

Try Sample

SampleRobot

Open Terminal and run gazebo

roslaunch hrpsys_gazebo_tutorials gazebo_samplerobot_no_controllers.launch #kinetic or melodic
roslaunch hrpsys_gazebo_tutorials gazebo_samplerobot_no_controllers_indigo.launch #indigo

Launch another terminal and start hrpsys-base

rtmlaunch hrpsys_gazebo_tutorials samplerobot_hrpsys_bringup.launch

Launch another terminal and send command to robot by roseus

roscd hrpsys_ros_bridge_tutorials/euslisp/
roseus samplerobot-interface.l
(samplerobot-init)
(send *ri* :angle-vector (send *sr* :reset-pose) 1000)
(send *ri* :start-auto-balancer)
(send *ri* :start-st)
(send *ri* :go-pos 0 0 0)

HRP2

rtmros_hrp2(private) is needed. Open Terminal and run gazebo

roslaunch hrpsys_gazebo_tutorials gazebo_hrp2jsknt_no_controllers.launch #kinetic or melodic
roslaunch hrpsys_gazebo_tutorials gazebo_hrp2jsknt_no_controllers_indigo.launch #indigo

Launch another terminal and start hrpsys-base

rtmlaunch hrpsys_gazebo_tutorials hrp2jsknt_hrpsys_bringup.launch

Launch another terminal and send command to robot by roseus

roscd hrpsys_ros_bridge_tutorials/euslisp/
roseus hrp2jsknt-interface.l
(hrp2jsknt-init)
(send *ri* :angle-vector (send *hrp2jsknt* :reset-pose) 1000)
(send *ri* :start-auto-balancer)
(send *ri* :start-st)
(send *ri* :go-pos 0 0 0)

Package Description

hrpsys_ros_bridge_tutorials


This is examples and tutorials for rtmros_common/hrpsys_ros_bridge.

Euslisp tutorial wiki is written in ROS wiki.

hrpsys_gazebo_tutorials

This package is a collection of examples for using hrpsys_gazebo system and utility scripts. Please see README in that package for further information.