Open edetleon opened 4 years ago
Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.
@edetleon thanks for this report. Did you clone the panda_moveit_config package into your workspace as well as described in the Getting Started section? This issue has been fixed a while ago https://github.com/ros-planning/panda_moveit_config/pull/47. I assume the setup was picking up an outdated version of that package.
I can confirm this is still happening with the same setup. panda_moveit_config
is cloned into the workspace.
Getting this error as well, which is probably due to the former
ros.moveit_ros_visualization: Unable to connect to move_group action server 'move_group' within allotted time (30s)
I could also confirm the issue having the panda_moveit_config being cloned into the ws. Solution mentioned here did not work on Ubuntu 18.04 (VirtualBox) with ROS Melodic.
Even I faced the same issue in the tutorial, but I was able to fix it with few modifications in code and launch file.
Fix for the first issue was to load the arm in a valid state. That can be done by setting the state to ready
using planning scene in code. Planning the pose now works after this edit. But this still does visually change the state of arm in RViz, but if you plan a pose with show trail
enabled for trajectory, you can see the trail starts from ready
state instead of the collision state displayed which means the change in state is not being updated visually.
After seeing the rqt_graph
, I realised that the /joint_states
is not being taken as a feedback any where except robot_state_publisher
. Including move_group.launch
and remapping /joint_states
to /joints_states_desired
(move_group subscribes to /joint_state_desired
to distinguish input and feedback) fixes the second issue.
Description
Your environment
Steps to reproduce
Install moveit_tutorials package with git clone in /src :
git clone https://github.com/ros-planning/moveit_tutorials.git -b melodic-devel
Make your environnement (catkin_make), and follow this tutorial : http://docs.ros.org/melodic/api/moveit_tutorials/html/doc/motion_planning_pipeline/motion_planning_pipeline_tutorial.html
At the first step, roslaunch the launch file. A joint_state_publisher GUI appears, and safter a few seconds you can see the panda robot in the Rviz GUI :
roslaunch moveit_tutorials motion_planning_pipeline_tutorial.launch
When the terminal prints
Waiting to continue: Press 'next' in the RvizVisualToolsGui window to start the demo... continuing
press the Next button in RvizVisualToolsGui (bottom left of the Rviz window).Expected behaviour
The panda arm moves to a pose goal.
Actual behaviour
In the Rviz GUI, the arm is in collision state. Error messages are displayed on the terminal ant the panda arm doesn't move.
I don't know how the joint_state_publisher GUI is supposed to work (I never used it), but when I change the joints values the robot doesn't move.
Backtrace or Console output
Use gist.github.com to copy-paste the console output or segfault backtrace using gdb.