ROS packages for the model description and the gazebo setting of UTHAI
Convert .xacro
file to .urdf
file.
rosrun xacro xacro --inorder -o model.urdf model.xacro
-
go to workspace folder.
$ cd ~/catkin_ws/src
-
clone UTHAI-Common repository.
$ git clone https://github.com/UTHAI-Humanoid/UTHAI-Common.git
-
make catkin workspace.
$ cd ~/catkin_ws $ catkin_make
หลังจากนั้น ปิด Terminal แล้วเปิดใหม่
-
run uthai gazebo simulation.
roslaunch uthai_gazebo uthai_world.launch
-
test script
เปิด Terminal อีกอันขึ้นมา
rosrun uthai_gazebo test_gazebo.py