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

etl5's profile - activity

2013-11-11 03:48:47 -0500 received badge  Famous Question (source)
2013-10-23 03:12:04 -0500 received badge  Notable Question (source)
2013-10-23 03:12:04 -0500 received badge  Popular Question (source)
2013-09-10 04:34:29 -0500 received badge  Famous Question (source)
2013-08-23 05:11:06 -0500 received badge  Notable Question (source)
2013-08-15 11:39:18 -0500 received badge  Popular Question (source)
2013-08-13 10:53:54 -0500 asked a question rviz segmentation fault

I use Ubunto 12.04LTS and Groovy. My launch file successfully runs (incluse joint_state_publisher and robot_state_publisher). I can run rviz, but when I try to add a "robot model", rviz crashes with the error "Segmentation fault (core dumped)".

If someone has run into the same issue and could give me some advice, that would be much appreciated. I am kind of new to urdf so if someone could let me know if it's something in my urdf that is actually causing the error, that would be great too. It successfully parses but I don't think it guarantees that the urdf is correct.

Both my urdf and launch file are below. "rover_urdf.urdf":

<robot name="rover">
   <link name="body">
      <visual>
         <geometry>
            <cylinder length=".28" radius="0.08"/>
         </geometry>
         <origin rpy="0 1.57075 0"/>
      </visual>
   </link>

   <link name="front_axle">
      <visual>
         <geometry>
            <box size=".05 .20 .02"/>
         </geometry>
         <origin xyz="0 0 -0.01"/>
      </visual>
   </link>

   <link name="rear_axle">
      <visual>
         <geometry>
            <box size=".05 .20 .02"/>
         </geometry>
         <origin xyz="0 0 -0.01"/>
      </visual>
   </link>

   <link name="front_right_wheel">
      <visual>
         <geometry>
            <cylinder length="0.30" radius="0.05"/>
         </geometry>
         <origin rpy="1.57075 0 0"/>
      </visual>
   </link>

   <link name="front_left_wheel">
      <visual>
         <geometry>
            <cylinder length="0.30" radius="0.05"/>
         </geometry>
         <origin rpy="1.57075 0 0"/>
      </visual>
   </link>

   <link name="rear_right_wheel">
      <visual>
         <geometry>
            <cylinder length="0.30" radius="0.05"/>
         </geometry>
         <origin rpy="1.57075 0 0"/>
      </visual>
   </link>

   <link name="rear_left_wheel">
      <visual>
         <geometry>
            <cylinder length="0.30" radius="0.05"/>
         </geometry>
         <origin rpy="1.57075 0 0"/>
      </visual>
   </link>

   <joint name="front_joint" type="fixed">
      <parent link="body"/>
      <child link="front_axle"/>
      <origin xyz="0.14 0 -0.08" rpy="0 -1.57075 0"/>
   </joint>

   <joint name="rear_joint" type="fixed">
      <parent link="body"/>
      <child link="rear_axle"/>
      <origin xyz="-0.14 0 -0.08" rpy="0 -1.57075 0"/>
   </joint>

   <joint name="front_right_wheel_joint" type="floating">
      <parent link="front_axle"/>
      <child link="front_right_wheel"/>
      <origin xyz="0 -0.1 0"/>
      <axis xyz="0 0 1"/>
      <limit effort="10" lower="-0.7854" upper = "0.7854" velocity="0.5"/>
   </joint>

   <joint name="front_left_wheel_joint" type="floating">
      <parent link="front_axle"/>
      <child link="front_left_wheel"/>
      <origin xyz="0 0.1 0"/>
      <axis xyz="0 0 1"/>
      <limit effort="10" lower="-0.7854" upper = "0.7854" velocity="0.5"/>
   </joint>

   <joint name="rear_right_wheel_joint" type="floating">
      <parent link="rear_axle"/>
      <child link="rear_right_wheel"/>
      <origin xyz="0 -0.1 0"/>
      <axis xyz="0 0 1"/>
      <limit effort="10" lower="-0.7854" upper = "0.7854" velocity="0.5"/>
   </joint>
   <joint name="rear_left_wheel_joint" type="floating">
      <parent link="rear_axle"/>
      <child link="rear_left_wheel"/>
      <origin xyz="0 0.1 0"/>
      <axis xyz="0 0 1"/>
      <limit effort="10" lower="-0.7854" upper="0.7854" velocity="0.5"/>
   </joint>
</robot>

"rover_launch.launch":

<launch>
   <param name="robot_description" textfile="$(find rover)/urdf/rover_urdf.urdf"/>
   <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/>
   <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher"/>
   <param name="use_gui" value="True"/>
</launch>
2013-08-12 11:00:02 -0500 commented question Building a Visual Robot Model with URDF from Scratch tutorial: rviz error

I think I am doing joint state publications according to the tutorial (sorry still new to ROS and terminology). I am using Ubuntu 12.04 LTS ROS Groovy. I have installed the joint_state_publisher and the urdf_tutorial packages and have followed the tutorial until "roslaunch urdf_tutorial display.launch model:=01-myfirst.urdf" where it then briefly shows what I believe is a blank splash screen for rviz before closing and giving the error shown above.

2013-08-12 09:39:42 -0500 asked a question Building a Visual Robot Model with URDF from Scratch tutorial: rviz error

In the "Building a Visual Robot Model with URDF from Scratch" tutorial I run into the following error:

[rviz-3] process has died [pid 5506, exit code -11, cmd /opt/ros/groovy/lib/rviz/rviz -d /opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/urdf.rviz __name:=rviz __log:=/home/elim323/.ros/log/b2f9416e-003c-11e3-8e43-74e50bf0806c/rviz-3.log]. log file: /home/elim323/.ros/log/b2f9416e-003c-11e3-8e43-74e50bf0806c/rviz-3*.log

even after including the "urdf.rviz" file and changing both launch files ("display.launch" and "xacrodisplay.launch") to specify "rviz" instead of "vcg" as shown in the updated urdf_tutorial files posted on github.

Is there something I am missing?