hector_gazebo icon indicating copy to clipboard operation
hector_gazebo copied to clipboard

Segfault at launch with gazebo_ros_force_based_move plugin

Open GPaolo opened this issue 7 years ago • 1 comments

Hi guys, I am trying to use your plugin but I get a segfault at start whenever I try.

In the xacro I call the plugin this way:

  <gazebo>
   <plugin name="object_controller" filename="libgazebo_ros_force_based_move.so">
      <commandTopic>cmd_vel</commandTopic>
      <odometryTopic>odom</odometryTopic>
      <odometryFrame>world</odometryFrame>
      <odometryRate>20.0</odometryRate>
      <robotBaseFrame>$(arg prefix)/base_link</robotBaseFrame>
    </plugin>
  </gazebo>

And the output I get is:

[ INFO] [1504284973.610849610, 0.222000000]: ForceBasedMove using gains: yaw: 100 x: 10000 y: 10000 [ INFO] [1504284973.610910214, 0.222000000]: robotBaseFrame for force based move plugin: p_0_ns/base_link [ WARN] [1504284973.610978142, 0.222000000]: PlanarMovePlugin Plugin (ns = p_0_ns) missing <publishOdometryTf>, defaults to true Segmentation fault (core dumped) [gazebo-3] process has died [pid 10238, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/giuseppe/thesis_ws/src/deep_interaction_modeling/worlds/pedestrian.world __name:=gazebo __log:=/home/giuseppe/.ros/log/74e495a8-8f36-11e7-a995-78929c920f12/gazebo-3.log]. log file: /home/giuseppe/.ros/log/74e495a8-8f36-11e7-a995-78929c920f12/gazebo-3*.log ^C[gazebo_gui-4] killing on exit [spawner_node-2] killing on exit [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

GPaolo avatar Sep 01 '17 17:09 GPaolo

I have this same error. Did anyone figure this out?

kumarhans avatar Oct 06 '20 15:10 kumarhans