Skip to content

commander: Segmentation fault on wrong or no robot model #47

Closed

Description

@v4hn

As we had to merge this revert to fix PlanningSceneMonitor & RViz segfaults, this issue exists again.

#46 should fix it again, but it depends on an RViz bug fix (see the description there).

Quote of the original issue:

I am trying to follow the python tutorial, but this simple file already crashes:

!/usr/bin/python

import sys
import copy
import rospy
import moveit_commander
import moveit_msgs.msg
import geometry_msgs.msg

print "============ Starting tutorial setup"
moveit_commander.roscpp_initialize(sys.argv)
rospy.init_node('move_group_python_interface_tutorial',
anonymous=True)

robot = moveit_commander.RobotCommander()

And the result in a segmentation fault.

Here is a backtrace: http://pastebin.com/3bftAaaj

I am trying to get MoveIt to work with Amigo (https://github.com/tue-robotics/amigo_moveit_config). But I get the same error if I only have a roscore running. (No parameters loaded).

Activity

  1. v4hn commented on Aug 26, 2016

    @v4hn
    ContributorAuthor

    With #170 this script throws an exception instead of a segfault.
    I don't think we will change the interface for it to work in a different way.

    Closing as resolved.

  2. added a commit that references this issue on Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions