Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail on the second step at Move Group Python Interface tutorial #301

Closed
shalauko opened this issue Mar 24, 2019 · 10 comments
Closed

Fail on the second step at Move Group Python Interface tutorial #301

shalauko opened this issue Mar 24, 2019 · 10 comments

Comments

@shalauko
Copy link

Description

Move Group Python Interface fail. Can't go ahead in this tutorial after the first step.

Your environment

  • ROS Distro: Kinetic
  • OS Version: Ubuntu 16.04

Steps to reproduce

I tried to follow Move Group Python Interface tutorial . I ran demo.launch and next move_group_python_interface_tutorial.py as it is written in tutorial. After first Enter I see expected result, but at the second step I see:

Traceback (most recent call last): File "/home/stanislaw/ROS/ws_moveit/src/moveit_tutorials/doc/move_group_python_interface/scripts/move_group_python_interface_tutorial.py", line 510, in <module> main() File "/home/stanislaw/ROS/ws_moveit/src/moveit_tutorials/doc/move_group_python_interface/scripts/move_group_python_interface_tutorial.py", line 464, in main tutorial.go_to_joint_state() File "/home/stanislaw/ROS/ws_moveit/src/moveit_tutorials/doc/move_group_python_interface/scripts/move_group_python_interface_tutorial.py", line 174, in go_to_joint_state move_group.go(joint_goal, wait=True) File "/home/stanislaw/ROS/ws_moveit/src/moveit/moveit_commander/src/moveit_commander/move_group.py", line 498, in go self.set_joint_value_target(self.get_remembered_joint_values()[joints]) TypeError: unhashable type: 'list'
and process fail.

Worth to notice:

  1. When I run the rosrun ... command, appears
    Failed to import pyassimp, see https://github.com/ros-planning/moveit/issues/86 for more info
    I have checked that issue and after checked my pyassimp version and it is 4.1.4 - theoretically shoud work properly.
    I tried to import pyassimp in pure python2 and it faild, but when I imported it to python3 on my machine it was working.
    I tried to run move_group_python_interface_tutorial.py with command python ....py and python3 ....py. In both cases it faild.

  2. In the first step of .py script I get a warning:

[ WARN] [1553437979.464594324]: Kinematics solver doesn't support #attempts anymore, but only a timeout.
Please remove the parameter '/robot_description_kinematics/panda_arm/kinematics_solver_attempts' from your configuration.

Where could be a problem?

@welcome
Copy link

welcome bot commented Mar 24, 2019

Thanks for reporting an issue. We will have a look asap. If you can think of a fix, please consider providing it as a pull request.

@ashBabu
Copy link

ashBabu commented May 7, 2019

same error here. Any updates please.
This was working properly for me until I pulled the latest version of moveit. Is going back to a previous version is the only solution?

@rhaschke
Copy link
Contributor

rhaschke commented May 7, 2019

@stanislauhalauko I'm confused. Can you check your MoveIt version once again?
The warning "kinematics solver doesn't support #attempts" is due to #1288, which was only merged into the melodic/master branch, but not into kinetic.

@ashBabu
Copy link

ashBabu commented May 7, 2019

In catkin_ws\src\moveit git describe --tags gives 1.0.1-28-g7793148.
I followed https://moveit.ros.org/install/source/ to build moveit from source. go_to_joint_state() doesnt work and results in the error TypeError: unhashable type: 'list'

@shalauko
Copy link
Author

shalauko commented May 7, 2019

@rhaschke I have few packages connected to MoveIt. Version of which one I should check?
image

E.g. version of moveit_core is 0.9.15

@rhaschke
Copy link
Contributor

rhaschke commented May 7, 2019

This is actually the master branch. On Bionic I wasn't able to reproduce your issue using the master branch.
I will try to reproduce it on Xenial tomorrow, but I cannot promise I will find time for it...

@rhaschke
Copy link
Contributor

rhaschke commented May 7, 2019

How did you figure the version of e.g. moveit_core? The source folder is the master branch, i.e. > 1.0.1.

@rhaschke
Copy link
Contributor

rhaschke commented May 8, 2019

I was able to reproduce on Bionic and will prepare a fix.

@rhaschke
Copy link
Contributor

rhaschke commented May 8, 2019

Issue fixed in MoveIt (moveit/moveit#1459).

@rhaschke rhaschke closed this as completed May 8, 2019
@shalauko
Copy link
Author

shalauko commented May 8, 2019

@rhaschke Thank you a lot! Now it works.
Btw. I've checked version of moveit_core by the command rosversion moveit_core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants