iiwa_14_r820_robot_description 내에 upload_robot.launch 생성

<launch>
    <param name="robot_description" command="$(find xacro)/xacro $(find iiwa_14_r820_robot_description)/urdf/robot.urdf.xacro" />
    <node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher"/>
</launch>

로봇팔의 Gazebo에 관련한 패키지를 생성

$ catkin create pkg iiwa_14_r820_robot_gazebo --catkin-deps gazebo_ros iiwa_14_r820_robot_description
$ catkin build 
$ source ~/.bashrc

launch 파일 만들어봅니다.

$ roscd iiwa_14_r820_robot_gazebo
$ mkdir launch
$ cd launch

bringup.launch

<launch>
    <include file="$(find gazebo_ros)/launch/empty_world.launch"/>
    <include file="$(find iiwa_14_r820_robot_description)/launch/upload_robot.launch"/>
    <node name="spawn_robot" pkg="gazebo_ros" type="spawn_model"
        args="-urdf -param robot_description -model iiwa_14_r820_robot -x 0.0 -y 0.0 -z 0.0"
        output="screen"/>
</launch>

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c4d2f221-6b78-42cc-8162-ff6f48620c44/Untitled.png

View → Center of Mass

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/29f12606-154e-479a-851c-8fb5f476cefb/Untitled.png

View → Inertias

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e965ef68-20f2-417e-be5b-f399665270ba/Untitled.png