ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you really must build MoveIt from sources, please remember to run source $HOME/catkin_ws/devel/setup.bash before trying to roslaunch moveit_setup_assistant setup_assistant.launch.

If you really must build MoveIt from sources, please remember to run run

source $HOME/catkin_ws/devel/setup.bash$HOME/catkin_ws/devel/setup.bash
 

before trying to to

roslaunch moveit_setup_assistant setup_assistant.launchsetup_assistant.launch
.

Note that you'll have to do this every time you open a new terminal (unless you add it to your .bashrc).

If you really must build MoveIt from sources, please remember to run

source $HOME/catkin_ws/devel/setup.bash

before trying to

roslaunch moveit_setup_assistant setup_assistant.launch

Note that you'll have to do this every time you open a new terminal (unless you add it to your .bashrc).


Edit:

I have add this

source ~/catkin_ws/devel/setup.bash
source /opt/ros/indigo/setup.bash

to the bottom of the ~/.bashrc But it does not work.

as @mpjansen correctly notes: you generally only want to source a single setup.bash. In this case, source the setup.bash of your own workspace, not the one in /opt/ros/$distro.

And a bit pedantic, but the source-ing probably works fine. Those two lines just don't do what you are expecting them to do (ie: cumulatively add to your ROS package path).

If you really must build MoveIt from sources, please remember to run

source $HOME/catkin_ws/devel/setup.bash

before trying to

roslaunch moveit_setup_assistant setup_assistant.launch

Note that you'll have to do this every time you open a new terminal (unless you add it to your .bashrc).


Edit:

I have add this

source ~/catkin_ws/devel/setup.bash
source /opt/ros/indigo/setup.bash

to the bottom of the ~/.bashrc But it does not work.

as @mpjansen correctly notes: you generally only want to source a single setup.bash. In this case, source the setup.bash of your own workspace, not the one in /opt/ros/$distro.

And a bit pedantic, but the source-ing probably works fine. Those two lines just don't do what you are expecting them to do (ie: cumulatively add to your ROS package path).


Edit2:

I have done what you said, only

source ~/catkin_ws/devel/setup.bash

And try again, yet it turns out that

ERROR: cannot launch node of type [moveit_setup_assistant/moveit_setup_assistant]: can't locate node [moveit_setup_assistant] in package [moveit_setup_assistant]

To avoid a lengthy process of trying to find out what causes this: can you please make sure you absolutely need to build MoveIt from sources? If not, please install the binary packages (sudo apt-get install ros-indigo-moveit-X), as that will make things a lot easier.

If you do need MoveIt from sources, please tell us exactly how you created, populated and built your workspace.

Also: what is the output of rospack find moveit_setup_assistant, after you have sourced your workspace?

And (to get it out of the way): you have ran catkin_make (or catkin build) after you cloned the MoveIt git repository to your source space, correct?