Moveit_setup_assistant crash when loading srdf file

asked 2014-02-20 06:05:26 -0600

Sendoh gravatar image

Hi All,

When I use moveit_setup_assistant to make the config for my urdf model, it crashes when loading my urdf file. I am using ubuntu raring and ROS hydro. Anyone can help me out?

Error information is:

[ INFO] [1392915540.792389328]: Loaded quadrotor robot model.
[ INFO] [1392915540.792804347]: Setting Param Server with Robot Description
[ INFO] [1392915540.809329943]: Robot semantic model successfully loaded.
[ INFO] [1392915540.809518277]: Setting Param Server with Robot Semantic Description
[ INFO] [1392915540.867516809]: Loading robot model 'quadrotor'...
[ INFO] [1392915540.867726681]: No root joint specified. Assuming fixed joint
================================================================================REQUIRED process [moveit_setup_assistant-2] has died!
process has died [pid 12441, exit code -11, cmd /opt/ros/hydro/lib/moveit_setup_assistant/moveit_setup_assistant __name:=moveit_setup_assistant __log:=/home/cds/.ros/log/161db952-9a50-11e3-b57e-3ca9f430b69c/moveit_setup_assistant-2.log].
log file: /home/cds/.ros/log/161db952-9a50-11e3-b57e-3ca9f430b69c/moveit_setup_assistant-2*.log
Initiating shutdown!

The RGB for the crush shows:

Program received signal SIGSEGV, Segmentation fault.
0xb6b8e0f6 in free () from /lib/i386-linux-gnu/libc.so.6
(gdb) where
#0  0xb6b8e0f6 in free () from /lib/i386-linux-gnu/libc.so.6
#1  0xb6a31573 in std::_Rb_tree<moveit::core::LinkModel const*, std::pair<moveit::core::LinkModel const* const, Eigen::Transform<double, 3, 2, 0> >, std::_Select1st<std::pair<moveit::core::LinkModel const* const, Eigen::Transform<double, 3, 2, 0> > >, std::less<moveit::core::LinkModel const*>, Eigen::aligned_allocator<std::pair<moveit::core::LinkModel const* const, Eigen::Transform<double, 3, 2, 0> > > >::_M_erase(std::_Rb_tree_node<std::pair<moveit::core::LinkModel const* const, Eigen::Transform<double, 3, 2, 0> > >*) ()
   from /opt/ros/hydro/lib/libmoveit_robot_model.so
#2  0xb6a5423c in moveit::core::RobotModel::buildJointInfo() ()
   from /opt/ros/hydro/lib/libmoveit_robot_model.so
#3  0xb6a54b14 in moveit::core::RobotModel::buildModel(urdf::ModelInterface const&, srdf::Model const&) () from /opt/ros/hydro/lib/libmoveit_robot_model.so
#4  0xb6a551a1 in moveit::core::RobotModel::RobotModel(boost::shared_ptr<urdf::ModelInterface const> const&, boost::shared_ptr<srdf::Model const> const&) ()
   from /opt/ros/hydro/lib/libmoveit_robot_model.so
#5  0xb6af076d in moveit_setup_assistant::MoveItConfigData::getRobotModel() ()
   from /opt/ros/hydro/lib/libmoveit_setup_assistant_tools.so
#6  0xb6af20c0 in moveit_setup_assistant::MoveItConfigData::getPlanningScene()
    () from /opt/ros/hydro/lib/libmoveit_setup_assistant_tools.so
#7  0xb7f856f8 in moveit_setup_assistant::RobotPosesWidget::RobotPosesWidget(QWidget*, boost::shared_ptr<moveit_setup_assistant::MoveItConfigData>) ()
   from /opt/ros/hydro/lib/libmoveit_setup_assistant_widgets.s

My urdf file can be found below:

<?xml version="1.0" ?>
<!-- =================================================================================== -->
<!-- |    This document was autogenerated by xacro from quadrotor_with_kinect.urdf.xacro | -->
<!-- |    EDITING THIS FILE BY HAND IS NOT RECOMMENDED                                 | -->
<!-- =================================================================================== -->
<robot name="quadrotor" xmlns:xacro="http://ros.org/wiki/xacro">
  <!-- Included URDF Files -->
  <!-- Instantiate quadrotor_base_macro once (has no parameters atm) -->
  <link name="base_link">
    <inertial>
      <mass value="1.477"/>
      <origin xyz="0 0 0"/>
      <inertia ixx="0.01152" ixy="0.0" ixz="0.0" iyy="0.01152" iyz="0.0" izz="0.0218"/>
    </inertial>
    <visual>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <geometry>
        <mesh filename="package://hector_quadrotor_urdf/meshes/quadrotor/quadrotor_base.dae"/>
      </geometry>
    </visual>
    <collision>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <geometry>
        <mesh filename="package://hector_quadrotor_urdf/meshes/quadrotor/quadrotor_base.stl"/>
      </geometry>
    </collision>
  </link>
  <joint name="sonar_joint" type="fixed">
    <origin rpy="0 1.57079632679 0" xyz="-0.16 0.0 -0.012"/>
    <parent link="base_link"/>
    <child link="sonar_link"/>
  </joint>
  <link name="sonar_link ...
(more)
edit retag flag offensive close merge delete