Skip to content

arm.get_current_pose() results in ERROR: "Failed to fetch current robot state" #97

@FlurinArner

Description

@FlurinArner

Description

When requesting the current pose from the MoveGroupCommander("manipulator") through the get_current_pose() Function, the function fails.
At first I thought it was related to an issue with moveit_planner, but if I build their source for moveit, the "Found empty JointState message" disappears, while this issue remains.
As soon as ROS Answers is back up, I'm going to post a question there and link it on&to this page.

Your Environment

  • ROS Distro: Kinetic
  • OS Version: Ubuntu 16.04
  • Source or Binary build?: Binary build for ROS, then source build for denso:kinetic-devel with commit: 3e725b1

Steps to reproduce

  • Create and move to workspace source folder:
    mkdir -p denso_kinetic_devel_ws/src
    cd denso_kinetic_devel_ws/src
  • Download source for denso:kinetic-devel:
    git clone git@github.com:start-jsk/denso.git
  • Edit following python script with preferred editor:
    denso/vs060/scripts/irex_demo_noteaching.py
  • Add in lines (after line 94: arm.go() or arm.go() or rospy.logerr("arm.go fails") ):
    current_pose = arm.get_current_pose()
    rospy.loginfo("Current pose: \n{}".format(current_pose.pose))
  • Save file.
  • Build workspace:
    cd ..
    catkin_make
  • Source workspace:
    source devel/setup.bash
  • Run launchfile:
    roslaunch vs060_moveit_config demo_simulation_cage.launch

Expected behavior

arm.get_current_pose() returns the current pose of the end_effector (Flange in denso's case)

Actual behavior

Error message:

[ERROR] [1513090715.277469722]: Failed to fetch current robot state

Console output

logfile_for_issue_2.txt
(I only removed username@computername references)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions