ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Oguz's profile - activity

2023-07-14 05:56:24 -0500 received badge  Good Question (source)
2021-08-19 03:26:35 -0500 received badge  Nice Question (source)
2021-03-15 02:11:08 -0500 received badge  Guru (source)
2021-03-15 02:11:08 -0500 received badge  Great Answer (source)
2018-12-30 17:57:59 -0500 received badge  Enlightened (source)
2018-12-30 17:57:59 -0500 received badge  Good Answer (source)
2018-03-17 18:21:28 -0500 received badge  Nice Answer (source)
2017-12-28 21:00:36 -0500 received badge  Teacher (source)
2017-12-28 21:00:36 -0500 received badge  Self-Learner (source)
2017-08-16 09:07:12 -0500 received badge  Student (source)
2017-05-17 10:23:19 -0500 received badge  Famous Question (source)
2016-11-02 02:21:17 -0500 received badge  Notable Question (source)
2016-11-02 02:21:17 -0500 received badge  Popular Question (source)
2016-07-06 17:21:11 -0500 answered a question This robot has a joint named "joint_1" which is not in the gazebo model.

After changing the

   <inertial>
      <origin xyz="0.137802209307 0.090396 0.0227196811405" rpy="0 0 0"/>
      <mass value="0.0"/>
      <inertia ixx="0.0" ixy="0.0" ixz="0.0" iyy="0.0" iyz="0.0" izz="0.0"/>
    </inertial>

part, giving random values to mass and inertia, the problem is gone.

2016-07-06 10:38:26 -0500 asked a question This robot has a joint named "joint_1" which is not in the gazebo model.

Hello. There is also a topic "This robot has a joint named "foo" which is not in the gazebo model."link But it didn't help. I get the following error;

[ERROR] [1467817563.508002714, 0.339000000]: This robot has a joint named "joint_1" which is not in the gazebo model.
[FATAL] [1467817563.508348807, 0.339000000]: Could not initialize robot simulation interface

My corresponding URDF file part is;

<robot name="itecharm">

  <link name="world"/>

  <joint name="fixed" type="fixed">
    <parent link="world"/>
    <child link="link_base"/>
  </joint>


  <link name="link_base">
    <inertial>
      <origin xyz="-0.0325856 5.11013e-06 0" rpy="0 0 0"/>
      <mass value="1.26763"/>
      <inertia ixx="0.00165595" ixy="-8.29854e-06" ixz="-3.99028e-11" iyy="0.00129758" iyz="1.56383e-07" izz="0.00130449"/>
    </inertial>
    <visual>
      <origin xyz="-0.0742893 -0.0873818 0.0157596" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://itecharm_description/meshes/link_base.STL"/>
      </geometry>
      <material name="link_base_color">
        <color rgba="0.792157 0.819608 0.933333 1.0"/>
      </material>
    </visual>
    <collision>
      <origin xyz="-0.0742893 -0.0873818 0.0157596" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://itecharm_description/meshes/link_base.STL"/>
      </geometry>
    </collision>
  </link>
  <link name="link_1">
    <inertial>
      <origin xyz="0.137802209307 0.090396 0.0227196811405" rpy="0 0 0"/>
      <mass value="0.0"/>
      <inertia ixx="0.0" ixy="0.0" ixz="0.0" iyy="0.0" iyz="0.0" izz="0.0"/>
    </inertial>
    <visual>
      <origin xyz="0.137802209307 0.090396 0.0227196811405" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://itecharm_description/meshes/link_1.STL" />
      </geometry>
      <material name="link_1_color">
        <color rgba="0.792157 0.819608 0.933333 1.0"/>
      </material>
    </visual>
    <collision>
      <origin xyz="0.137802209307 0.090396 0.0227196811405" rpy="0 0 0"/>
      <geometry>
        <mesh filename="package://itecharm_description/meshes/link_1.STL" />
      </geometry>
    </collision>
  </link>
  <joint name="joint_1" type="revolute">
    <origin xyz="-0.0688 0 0" rpy="0 0.261799319827 1.57079632679"/>
    <axis xyz="-2.22044604925e-16 1.0 0.0"/>
    <parent link="link_base"/>
    <child link="link_1"/>
    <limit effort="50000" lower="-3.14159265359" upper="3.14159265359" velocity="50000"/>
    <dynamics damping="0.1"/>
  </joint>

Also, the transmission part of the URDF;

<gazebo>
    <plugin name="ros_control" filename="libgazebo_ros_control.so">
      <robotNamespace>/itecharm</robotNamespace>
      <!--<robotSimType>ros_control/DefaultRobotHWSim</robotSimType>-->
    </plugin>
  </gazebo>

 <transmission name="trans_1">
    <type>transmission_interface/SimpleTransmission</type>
    <joint name="joint_1">
      <hardwareInterface>EffortJointInterface</hardwareInterface>
    </joint>
    <actuator name="joint_servo_1">
      <hardwareInterface>EffortJointInterface</hardwareInterface>
      <mechanicalReduction>100</mechanicalReduction>
    </actuator>
  </transmission>

I have another URDF file for a simple two R robot that works. I couldn't figure out why this doesn't. I spawned the robot in Rviz and checked the joints without any problem. I am using ROS-Indigo

2016-05-08 16:07:17 -0500 marked best answer URDF or Xacro?

I am new to ROS and I have been using SolidWorks Exporter for generating URDF for my robot. Things didn't go well adding transmissions and controller plugins, Gazebo crashes if I spawn the urdf with controller plugins and transmissions, so I started studying other robots in ROS in detail (for example universal-robot) and all of them had Xacro files. Should I also use Xacro? Or the URDF generated by SolidWorks should work fine with transmissions and controller plugins? If I should use xacro, how do I generate a Xacro?

Thanks for your attention.

2015-12-03 05:00:43 -0500 received badge  Famous Question (source)
2015-05-02 10:46:18 -0500 received badge  Famous Question (source)
2015-02-25 17:12:32 -0500 received badge  Notable Question (source)
2015-02-03 15:39:24 -0500 commented answer Gazebo won't launch without restarting PC

Problem solved: In rrbot_world.launch file, I commented out:

<!--<arg name="world_name" value="$(find rrbot_gazebo)/worlds/rrbot.world"/> -->

and it is now working without any problem.

2015-02-03 04:08:43 -0500 received badge  Notable Question (source)
2015-02-01 06:01:39 -0500 received badge  Popular Question (source)
2015-01-31 07:45:37 -0500 commented answer URDF or Xacro?

Thanks, then I will stick to my SolidWorks Exporter generated URDF.