Because the moveit is updated recently.So I use "sudo apt-get remove ros-indigo-moveit" to remove moveit.And then I used "sudo apt-get install ros-indigo-moveit" to reinstall moveit.It can be found in http://moveit.ros.org/install/ .
After that I open a new terminal. I can rospack find moveit_setup_assistant in opt/ros/indigo/share.
But when I run “roslaunch moveit_setup_assistant setup_assistant.launch” It appeared error
ERROR: cannot launch node of type [moveit_setup_assistant/moveit_setup_assistant]: can't locate node [moveit_setup_assistant] in package [moveit_setup_assistant]
After I run "source /opt/ros/indigo/setup.bash" in the terminal.The moveit_setup_assistant works well.
I must source /opt/ros/indigo/setup.bash can I use moveit_setup_assistant.However, after source /opt/...,I can't rospack find the packages in catkin_ws.So after source /opt/...When I run move_group.launch, It appeared error.
ERROR: cannot launch node of type [moveit_ros_move_group/move_group]: can't locate node [move_group] in package [moveit_ros_move_group]
I must source ~/catkin_ws/devel/setup.bash can I use the packages in catkin_ws. However this way I can't use setup_assistant.launch
The bottom lines of my ~/.bashrc file is
source /home/robot508/catkin_ws/catkin_industrial/devel/setup.bash
source /home/robot508/catkin_ws/le_myself/devel/setup.bash
source /home/robot508/catkin_ws/devel/setup.bash
When I add the source /opt/ros/indigo/setup.bash to the last line,It also can't work. How can I find the moveit_setupassistant.launch and move_group.launch at the same time.
↧