Execuse me,where can I find the Ros source Code
↧
Execuse me,where can I find the Ros source Code
↧
Source Install Fails with "No package vtk-phython available"
I am trying to do a source install of Jade onto Fedora 22, using the instructions here: http://wiki.ros.org/jade/Installation/Source. I am trying the desktop-full install. Everything works until I try to resolve the dependencies with the command:
rosdep install --from-paths src --ignore-src --rosdistro jade -y
I then get an error that "No package vtk-p**h**ython available". I assume this should be vtk-python? if so, who should I report the error to? The full console output is below.
rosdep install --from-paths src --ignore-src --rosdistro jade -y
executing command [sudo -H dnf --assumeyes install collada-dom-devel python-matplotlib PyQwt-devel gtk2-devel tinyxml-devel PyQt4 yaml-cpp-devel python-nose pcl-devel opencv-devel ogre-devel libuuid-devel console-bridge-devel sbcl tango-icon-theme cmake cppunit-devel libcurl-devel bzip2-devel pcl-tools python-devel mesa-libGL-devel urdfdom-devel apr-devel vtk-phython vtk-java pcl wxPython-devel qhull-devel numpy urdfdom-headers-devel python-mock boost-devel PyOpenGL log4cxx-devel python-empy PyQt4-devel libtool-ltdl-devel libtheora-devel assimp libtool hddtemp gtest-devel libjpeg-turbo-devel graphviz fltk-devel poco-devel gazebo-devel eigen3-devel python-psutil libogg-devel qt-devel pydot python-pygraphviz lz4-devel python-pillow-qt python-netifaces opencv-python sip-devel mesa-libGLU-devel assimp-devel]
Last metadata expiration check performed 0:02:40 ago on Tue Nov 3 14:10:22 2015.
No package vtk-phython available.
Error: Unable to find a match.
ERROR: the following rosdeps failed to install
dnf: command [sudo -H dnf --assumeyes install collada-dom-devel python-matplotlib PyQwt-devel gtk2-devel tinyxml-devel PyQt4 yaml-cpp-devel python-nose pcl-devel opencv-devel ogre-devel libuuid-devel console-bridge-devel sbcl tango-icon-theme cmake cppunit-devel libcurl-devel bzip2-devel pcl-tools python-devel mesa-libGL-devel urdfdom-devel apr-devel vtk-phython vtk-java pcl wxPython-devel qhull-devel numpy urdfdom-headers-devel python-mock boost-devel PyOpenGL log4cxx-devel python-empy PyQt4-devel libtool-ltdl-devel libtheora-devel assimp libtool hddtemp gtest-devel libjpeg-turbo-devel graphviz fltk-devel poco-devel gazebo-devel eigen3-devel python-psutil libogg-devel qt-devel pydot python-pygraphviz lz4-devel python-pillow-qt python-netifaces opencv-python sip-devel mesa-libGLU-devel assimp-devel] failed
↧
↧
how to install libg2o if ROS was installed from source
My ROS indigo was installed from source, following the installation guide http://wiki.ros.org/indigo/Installation/Source
The program is located at /home/ros_catkin_ws/install_isolated.
Then how can I install packages from 3rd party? I found this tutorial http://wiki.ros.org/ROS/Tutorials/StackInstallation. But it seems like based on ros_make, not catkin_make.
My question is: can I install 3rd party package from binary? Or Can I install the package from source and all my workspaces can access it? Thanks a lot.
Best regards
Yanming
↧
Can't run camera_uvc package on jade
Hi,
I had a problem building and running the http://wiki.ros.org/uvc_camera. I would need a stereo camera driver providing 2 images and 2 camera_info messages on Jade.
I found camrea_uvc, I tried building the camera_uvc from source using this guide: https://defendtheplanet.net/2014/11/05/using-ros-indigo-webcam-by-the-uvc_camera-usb-video-class-package/ , the rosdep install part failed with "missing resource". But if I use catkin_make, it checks the dependencies, right?
Catkin_make is successful: *[100%] B[100%] Built target uvc_stereo_node*. But after i try to launch it, it fails: "ERROR: cannot launch node of type [uvc_camera/camera_node]: can't locate node [camera_node] in package [uvc_camera]" Is this an installation problem? Can you link me some tutorials about building packages from source?
Thank you in advance!
↧
setup.bash must source again when restart
why I have to source setup.bash again when restart my computer?
adminyin@adminyin-System:~$ cd catkin_ws/src/
adminyin@adminyin-System:~/catkin_ws/src$ ls
beginner_tutorials CMakeLists.txt
adminyin@adminyin-System:~/catkin_ws/src$ rospack depends1 beginner_tutorials
[rospack] Error: no such package beginner_tutorials
adminyin@adminyin-System:~/catkin_ws/src$ cd ..
adminyin@adminyin-System:~/catkin_ws$ source devel/setup.bash
adminyin@adminyin-System:~/catkin_ws$ cd src/
adminyin@adminyin-System:~/catkin_ws/src$ rospack depends1 beginner_tutorials
roscpp
↧
↧
teb local planner installation from source on Hydro
Hi all,
Following my other question link: [here](http://answers.ros.org/question/226880/teb-local-planner-installation/) , I am now trying to install teb_local_planner on ROS Hydro from source.
I am not sure on how to install packages from source so I have been following the answer to this question link:[here](http://answers.ros.org/question/10581/installing-ros-packages-from-source/).
However, I am getting the following errors:
powerbot67@powerbot67-desktop:~$ rosinstall ~/ros /opt/ros/hydro
rosinstall operating on /home/powerbot67/ros from specifications in rosinstall files /opt/ros/hydro
(Over-)Writing /home/powerbot67/ros/.rosinstall
(Over-)Writing setup.sh, setup.bash, and setup.zsh in /home/powerbot67/ros
rosinstall update complete.
> Now, type `source> /home/powerbot67/ros/setup.bash` to> set up your environment. Add that to> the bottom of your `~/.bashrc` to set> it up every time.>> If you are not using bash please see> http://www.ros.org/wiki/rosinstall/NonBashShells
powerbot67@powerbot67-desktop:~$ echo "source ~/ros/setup.bash">> ~/.bashrc
powerbot67@powerbot67-desktop:~$ roslocate info teb_local_planner > teb_local_planner.rosinstall
Using ROS_DISTRO: hydro
rosinstall ~/ros teb_local_planner.rosinstall
cannot locate information about teb_local_planner
powerbot67@powerbot67-desktop:~$ rosinstall ~/ros teb_local_planner.rosinstall
rosinstall operating on /home/powerbot67/ros from specifications in rosinstall files teb_local_planner.rosinstall
(Over-)Writing /home/powerbot67/ros/.rosinstall
(Over-)Writing setup.sh, setup.bash, and setup.zsh in /home/powerbot67/ros
rosinstall update complete.
Is this the correct way to install teb_local_planner from source on Hydro? Or does this mean that teb_local_planner cannot be installed on Hydro?
Thanks always.
↧
Do I really need to $ source ~/catkin_ws/devel/setup.bash ?
Novice question:
I've created a custom message, package, etc as the official tutorial does. But when i do:
$ rosrun pkg_test1 pkg_test1_node
it gives me: [rospack] Error: package 'pkg_test1' not found
Indeed, if i do: $ source ~/catkin_ws/devel/setup.bash the problem is fixed. But do i really need to do that every time i want to use my custom programs? Is there any simple way to mantain them in the ROS path (i think that is what i am doing when i call these commands).
Thanks in advance.
↧
Unexpected behaviour of "source devel/setup.bash"
OS: Ubuntu 14.04
ROS: Indigo Turtle
Bash: Terminator
Hello,
I have encountered an undesirable behaviour while working with ROS related to sourcing workspaces. First of all I have two workspaces which contain similar packages. The workspaces are: **~/r2d2_CL/...** and **~/c3po_CL/...** .
I had had no problems installing packages, launching nodes and so on, up until today.
Before, I could source either workspace with `source devel/setup.bash` while being in **~/r2d2_CL/...** or **~/c3po_CL/...** . As a result **ROS_PACKAGE_PATH** would contain the proper workspace in which I sourced.
But now something strange happens. Whenever I source now, in either workspace, **ROS_PACKAGE_PATH** contains *both* workspaces. The output of `printenv | grep ROS` is:
ROS_ROOT=/opt/ros/indigo/share/ros
ROS_PACKAGE_PATH=/home/bzad/c3po_CL/src:/home/bzad/r2d2_CL/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES=/home/bzad/c3po_CL/devel/share/common-lisp:/home/bzad/r2d2_CL/devel/share/common-lisp
ROS_DISTRO=indigo
ROS_ETC_DIR=/opt/ros/indigo/etc/ros
You can see, that both workspaces are sourced. This has undesirable effects. For example: When I work in **~/r2d2_CL/...** and type in the terminal `roslaunch vrmagic_camera camera.launch`, ROS executes the launchfile which is located in the workspace **~/c3po_CL/...** .
My questions regarding this problem are:
1. How could this happen? Before the problem occured I have installed another package in the workspace **~/r2d2_CL/...** . Nothing more.
2. How can I revert this, so that sourcing will lead to one sourced (desired) workspace again.
Thanks in advance
↧
Source compile of Kinetic on Fedora24
Hello all,
First of all I know Fedora24 is a beta release and thus subject to bugs and other problems.
I'm trying to compile kinetic form source and I'm hitting a problem when trying to compile openCV3. It seems `stdlib.h` is not found :
[ 38%] Built target pch_Generate_opencv_objdetect
[ 38%] Built target pch_Generate_opencv_plot
[ 38%] Built target pch_Generate_opencv_videoio
[ 38%] Built target pch_Generate_opencv_superres
[ 38%] Built target opencv_highgui_pch_dephelp
[ 39%] Built target pch_Generate_opencv_xobjdetect
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0,
from /usr/include/c++/6.1.1/algorithm:62,
from /home/malcolm/ros_catkin_ws/source_kinetic/src/opencv3/modules/core/include/opencv2/core/base.hpp:53,
from /home/malcolm/ros_catkin_ws/source_kinetic/src/opencv3/modules/core/include/opencv2/core.hpp:54,
from /home/malcolm/ros_catkin_ws/source_kinetic/src/opencv3/modules/imgcodecs/include/opencv2/imgcodecs.hpp:46,
from /home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/opencv3/install/modules/imgcodecs/precomp.hpp:45:
/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next
^
compilation terminated.
modules/imgcodecs/CMakeFiles/pch_Generate_opencv_imgcodecs.dir/build.make:62: recipe for target 'modules/imgcodecs/precomp.hpp.gch/opencv_imgcodecs_Release.gch' failed
make[2]: *** [modules/imgcodecs/precomp.hpp.gch/opencv_imgcodecs_Release.gch] Error 1
CMakeFiles/Makefile2:3659: recipe for target 'modules/imgcodecs/CMakeFiles/pch_Generate_opencv_imgcodecs.dir/all' failed
make[1]: *** [modules/imgcodecs/CMakeFiles/pch_Generate_opencv_imgcodecs.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2<== Failed to process package 'opencv3':
Command '['/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/opencv3 && /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/env.sh make -j8 -l8
Command failed, exiting.
But stdlib.h is present in `/usr/include` and should be found.
I can compile openCV3 from source using the [github repo](https://github.com/Itseez/opencv) just fine with no problem at compile time.
If I understood correctly, Ros kinetic got its own openCV3 version that get compiled. Why can't I find stdlib.h and/or is it possible to use my own openCV3 version compiled from source.
Thanks a lot,
↧
↧
kinetic source install on Fedora23
Hey all,
Where trying to install kinetic from source on Fedora23 I have this error :
CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:18 (find_package):
By not providing "FindShiboken2.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Shiboken2", but CMake did not find one.
Could not find a package configuration file provided by "Shiboken2" with
any of the following names:
Shiboken2Config.cmake
shiboken2-config.cmake
Add the installation prefix of "Shiboken2" to CMAKE_PREFIX_PATH or set
"Shiboken2_DIR" to a directory containing one of the above files. If
"Shiboken2" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:23 (find_package):
By not providing "FindPySide2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PySide2", but
CMake did not find one.
Could not find a package configuration file provided by "PySide2" with any
of the following names:
PySide2Config.cmake
pyside2-config.cmake
Add the installation prefix of "PySide2" to CMAKE_PREFIX_PATH or set
"PySide2_DIR" to a directory containing one of the above files. If
"PySide2" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
CMake Warning at /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:34 (message):
Shiboken binding generator NOT available.
Call Stack (most recent call first):
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.11", minimum required is "2.7")
-- SIP binding generator available.
-- Python binding generators: sip
-- Configuring done
-- Generating done
-- Build files have been written to: /home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/qt_gui_cpp
==> make -j8 -l8 in '/home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/qt_gui_cpp'
[ 83%] Built target qt_gui_cpp
[ 88%] Running SIP generator for qt_gui_cpp_sip Python bindings...
Traceback (most recent call last):
File "/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 47, in
config = Configuration()
File "/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 16, in __init__
['qmake', '-query'], env=env, universal_newlines=True)
File "/usr/lib64/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:89: receptet för målet ”sip/qt_gui_cpp_sip/Makefile” misslyckades
make[2]: *** [sip/qt_gui_cpp_sip/Makefile] Fel 1
CMakeFiles/Makefile2:374: receptet för målet ”src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all” misslyckades
make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Fel 2
Makefile:138: receptet för målet ”all” misslyckades
make: *** [all] Fel 2
<== Failed to process package 'qt_gui_cpp':
Command '['/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/malcolm/ros_catkin_ws/source_kinetic/build_isolated/qt_gui_cpp && /home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/env.sh make -j8 -l8
Command failed, exiting.
Where apparently I miss Shibuken2 and PySide2. I have installed those packages :
pyside-tools.x86_64 0.2.13-9.fc23 @fedora
python-pyside.x86_64 1.2.2-4.fc23 @fedora
python-pyside-devel.x86_64 1.2.2-4.fc23 @fedora
And during the dependency resolve I only had the gazebo dependy pointed at :
[malcolm@PC124-180 source_kinetic]$ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
gazebo_ros: No definition of [libgazebo7-dev] for OS [fedora]
gazebo_plugins: No definition of [libgazebo7-dev] for OS [fedora]
So I guess those missing packages should be added to the list of dependencies ?
Best,
↧
source install + opencv source install
I'm installing ROS Indigo from source on Fedora 23 and I also have a source install of openCV 2.4.12.
After I compiled everything when I try to run `rosrun rviz rviz`
I have this error :
rosrun rviz rviz
/home/malcolm/ros_catkin_ws/source_indigo/install_isolated/lib/rviz/rviz: error while loading shared libraries: libopencv_videostab.so.2.4: cannot open shared object file: No such file or directory
But it is installed :
$ pwd
/usr/local/lib
$ ls -la | grep libopencv_videostab
lrwxrwxrwx. 1 root root 26 Jun 20 12:53 libopencv_videostab.so -> libopencv_videostab.so.2.4
lrwxrwxrwx. 1 root root 29 Jun 20 12:53 libopencv_videostab.so.2.4 -> libopencv_videostab.so.2.4.12
-rwxr-xr-x. 1 root root 297416 Jun 28 12:06 libopencv_videostab.so.2.4.12
I found this [very similar question](http://answers.ros.org/question/217769/corrupted-ros-install-on-debian-jessie-after-update/) but I already reinstalled opencv and reinstalled ros and it didn't change anything. It worked before with the repo install.
Any idea on what is happening ?
↧
roscd not woring
Hello all.
I've been trying to get back into ROS but I keep having this issue of roscd not finding catkin_ws. I went as far as removing the catkin_ws folder and copying everything from the Catkin tutorial on how to setup a workspace but still the same results.
These are the steps I took:
david@davidsPro3:~$ source /opt/ros/indigo/setup.bash
david@davidsPro3:~$ mkdir -p ~/catkin_ws/src
david@davidsPro3:~$ cd ~/catkin_ws/src
david@davidsPro3:~/catkin_ws/src$ catkin_init_workspace
Creating symlink "/home/david/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/indigo/share/catkin/cmake/toplevel.cmake"
david@davidsPro3:~/catkin_ws/src$ cd ~/catkin_ws/
david@davidsPro3:~/catkin_ws$ catkin_make
Base path: /home/david/catkin_ws
Source space: /home/david/catkin_ws/src
Build space: /home/david/catkin_ws/build
Devel space: /home/david/catkin_ws/devel
Install space: /home/david/catkin_ws/install
####
#### Running command: "cmake /home/david/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/david/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/david/catkin_ws/install -G Unix Makefiles" in "/home/david/catkin_ws/build"
####
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /home/david/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/david/catkin_ws/build/test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/david/catkin_ws/build
####
#### Running command: "make -j4 -l4" in "/home/david/catkin_ws/build"
####
david@davidsPro3:~/catkin_ws$ source devel/setup.bash
david@davidsPro3:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/home/david/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
david@davidsPro3:~/catkin_ws$
Once done I opened a new terminal and ran roscd with the results below:
david@davidsPro3:~$ roscd catkin_ws
roscd: No such package/stack 'catkin_ws'
david@davidsPro3:~$
david@davidsPro3:~$ roscd
david@davidsPro3:/opt/ros/indigo$
I also did this followed by sourcing
Running command: "make -j4 -l4" in "/home/david/catkin_ws/build"
Thanks for and help and suggestions on why this is not working?
↧
How to locate the source file of certain nodes?
I am working on TurtleBot now, and I want to get the motor data which is deeper than the published topic. So I need to find the source file of node "model_base_nodelet_manager". How can I find the package of this node? And how can I find the source file of it?
↧
↧
Is it possible to be made a knot and from how many robotic arms?
Imagine two robotic arms are holding twine which is positioned vertically and robotic arms are moving horizontally towards a horizontal metal wire from left to the right direction as the twine touches the wire with it's middle part, robotic arms continue to move forward so that the twine begins to flex in a form similar to parabola, or more precisely in a form of the Latin letter V but rotated by -90 degrees, i.e., it looks like "less than" sign from mathematics. Which equation / equations can make a knot of the two ends of this twine or what source code is needed for both robotic arms to make a knot or are 2 robotics arms only enough for this procedure?
↧
Where to get source code of an .so library file?
Hi everybody
I am looking for the source file of libgazebo_ros_bumper.so. Where can I find it?
Thanks
↧
Turtlebot Indigo install from source failing to get rocon source
When I attempt to install the Indigo version of the Turtlebot package from source using the instructions here:
http://wiki.ros.org/turtlebot/Tutorials/indigo/Installation
When I run this step:
wstool init -j5 src https://raw.github.com/robotics-in-concert/rocon/indigo/rocon.rosinstall
It ends with this error:
WARNING [vcstools] Command failed: 'git checkout hydro-devel'
run at: '/home/myuser/rocon/src/rosbridge_suite'
errcode: 1:
error: pathspec 'hydro-devel' did not match any file(s) known to git.
[/vcstools]
Exception caught during install: Error processing 'rocon_concert' : [rocon_concert] Checkout of https://github.com/robotics-in-concert/rocon_concert.git version indigo into /home/myuser/rocon/src/rocon_concert failed.
Error processing 'rosbridge_suite' : [rosbridge_suite] Checkout of https://github.com/RobotWebTools/rosbridge_suite.git version hydro-devel into /home/myuser/rocon/src/rosbridge_suite failed.
ERROR in config: Error processing 'rocon_concert' : [rocon_concert] Checkout of https://github.com/robotics-in-concert/rocon_concert.git version indigo into /home/myuser/rocon/src/rocon_concert failed.
Error processing 'rosbridge_suite' : [rosbridge_suite] Checkout of https://github.com/RobotWebTools/rosbridge_suite.git version hydro-devel into /home/myuser/rocon/src/rosbridge_suite failed.
Is there something wrong with the repository, the instructions, or did I miss something somewhere?
**This appears to fix the problem, based on the accepted answer:**
mkdir ~/rocon
cd ~/rocon
wget https://raw.github.com/robotics-in-concert/rocon/indigo/rocon.rosinstall
vi rocon.rosinstall
REMOVE this line:
{'git': {'local-name': 'rosbridge_suite', 'version': 'hydro-devel', 'uri': 'https://github.com/RobotWebTools/rosbridge_suite.git'}},
Then install the rosbridge-suite from deb:
sudo apt-get install ros-indigo-rosbridge-suite
And use your edited .rosinstall file to pull everything else from github:
wstool init -j5 src rocon.rosinstall
If this fails, with an error like:
Exception caught during install: Error processing 'rocon' : [rocon] Checkout of https://github.com/robotics-in-concert/rocon.git version indigo into /home/chrisl8/rocon/src/rocon failed.
ERROR in config: Error processing 'rocon' : [rocon] Checkout of https://github.com/robotics-in-concert/rocon.git version indigo into /home/chrisl8/rocon/src/rocon failed.
Just try again like this:
rm -rf src
wstool init -j5 src rocon.rosinstall
It appears that github sometimes has timeouts or something.
Then continue with the instructions . . .
source /opt/ros/indigo/setup.bash
rosdep install --from-paths src -i -y
catkin_make
↧
Where is the source code of installed packages?
I have installed ROS Kinetic and it sits is the `/opt/ros/kinetic/` folder which has the following structure:
.
├── bin
├── env.sh
├── etc
├── include
├── lib
├── setup.bash
├── setup.sh
├── _setup_util.py
├── setup.zsh
└── share
Now suppose I want to view the source code which makes `rosrun turtlesim turtle_teleop_key` possible. It is a node of the `turtlesim` package, so I navigate to this package using `roscd turtlesim`. This puts me into the directory `/opt/ros/kinetic/share/turtlesim`, which has the following files:
.
├── cmake
├── images
├── msg
├── package.xml
└── srv
The actual `.cpp` source files are nowhere to be found! How can I view the source files for a given package? `turtlesim` is just an example, there are of course other packages whose source I'm interested in looking at.
↧
↧
moveit_setup_assistant cannot launch node of type in indigo
I would like to start with moveit_setup_assistant
roslaunch moveit_setup_assistant setup_assistant.launch
1, I have roscd to the **moveit_setup_assistant pakage**,
but fail to roslaunch .
(at that time ,echo $ROS_PACKAGE_PATH ---> /root/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
)
2, if I do:
source /opt/ros/indigo/setup.bash
(at that time ,echo $ROS_PACKAGE_PATH ---> /opt/ros/indigo/share:/opt/ros/indigo/stacks)
then, **roslaunch succeeds**!
**but if I load the urdf file in my workspace( I follow the ros-by-example-2 in Chapter 11)**,
The weird part is, the pi_robot I would like to load just **shows the two wheels in the setup_assistant window**,
it seems that it cannot find my own package
Here is the part of error message
"[rospack] Error: package 'rbx2_description' not found
[librospack]: error while executing command"
**NOTE:**
1, I have add this
source ~/catkin_ws/devel/setup.bash
source /opt/ros/indigo/setup.bash
**to the bottom of the ~/.bashrc**
and I have **source ~/.bashrc** after this so that when I echo $ROS_PACKAGE_PATH,the result is what I mentioned in the statement 1 above.
2, **Below is the error message for 1st statement**,
root@ShawnVM:~/catkin_ws/src/moveit_setup_assistant# roslaunch moveit_setup_assistant setup_assistant.launch
... logging to /root/.ros/log/90e8c606-a5a4-11e6-9533-000c290a3fdb/roslaunch-ShawnVM-31009.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ShawnVM:43182/
SUMMARY
========
PARAMETERS
* /rosdistro: indigo
* /rosversion: 1.11.20
NODES
/
moveit_setup_assistant (moveit_setup_assistant/moveit_setup_assistant)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
ERROR: cannot launch node of type [moveit_setup_assistant/moveit_setup_assistant]: can't locate node [moveit_setup_assistant] in package [moveit_setup_assistant]
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete
3, I wonder if there is something wrong **due to using VM**? Something wrong with **OpenGL driver**?
OpenGL version string: 3.0 Mesa 11.2.0
4,
rospack find moveit_setup_assistant
/opt/ros/indigo/share/moveit_setup_assistant
5, ROS version Indigo, Unbuntu 14.04
↧
fatal error: angles/angles.h: No such file or directory #include
Hello,
The question is pretty much in the title. I have that package I haven't done and that source install of kinetic on my laptop. When I'm trying to compile using catkin build I have this error message :
fatal error: angles/angles.h: No such file or directory
#include
But when I look at my source install, I can find the file. The project compiled fine using a source install of indigo.
Does anyone has any idea why it can't find that file ? I'm pretty sure I'm forgetting something trivial here...
Some more info:
I have source the setup of both my source install and my ws.
ROS_ROOT=/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share/ros
ROS_PACKAGE_PATH=/home/malcolm/ros_catkin_ws/kinetic_ws/src/vision_opencv/cv_bridge:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/fake_localization:/home/malcolm/ros_catkin_ws/kinetic_ws/src/ndt_feature/flirtlib_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/geometry2:/home/malcolm/ros_catkin_ws/kinetic_ws/src/vision_opencv/image_geometry:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation_msgs/map_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/map_server:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/amcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation_msgs/move_base_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/navigation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/pcl_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/pcl_conversions:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/perception_oru:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_pcl/perception_pcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/robot_pose_ekf:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/sdf_tracker:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_conversions:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_generic:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_geometry:/home/malcolm/ros_catkin_ws/kinetic_ws/src/semrob/semrob_rviz:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_bullet:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_eigen:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_pcl/pcl_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_map:/home/malcolm/ros_catkin_ws/kinetic_ws/src/DAS:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_localization:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_registration:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_map_builder:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_rviz_visualisation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_visualisation:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_costmap:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_feature_reg:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_fuser:/home/malcolm/ros_catkin_ws/kinetic_ws/src/perception_oru/ndt_mcl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/ndt_feature/ndt_feature:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_py:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_ros:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_geometry_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_kdl:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_sensor_msgs:/home/malcolm/ros_catkin_ws/kinetic_ws/src/geometry2/tf2_tools:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/voxel_grid:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/costmap_2d:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/nav_core:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/base_local_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/carrot_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/clear_costmap_recovery:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/dwa_local_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/move_slow_and_clear:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/navfn:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/global_planner:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/rotate_recovery:/home/malcolm/ros_catkin_ws/kinetic_ws/src/navigation/move_base:/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/share
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES=/home/malcolm/ros_catkin_ws/kinetic_ws/devel/share/common-lisp
ROS_DISTRO=kinetic
ROS_ETC_DIR=/home/malcolm/ros_catkin_ws/source_kinetic/install_isolated/etc/ros
This is the CMake of the project :
cmake_minimum_required(VERSION 2.8.3)
project(semrob_generic)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS cmake_modules)
find_package(Boost REQUIRED COMPONENTS serialization)
find_package(Eigen REQUIRED)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
message("VAR")
# message(STATUS ${catkin_INCLUDE_DIRS})
MESSAGE( STATUS "CMAKE_CURRENT_BINARY_DIR: " ${catkin_INCLUDE_DIRS} )
message("DONNE")
get_cmake_property(_variableNames VARIABLES)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
################################################
## Declare ROS messages, services and actions ##
################################################
## To declare and build messages, services or actions from within this
## package, follow these steps:
## * Let MSG_DEP_SET be the set of packages whose message types you use in
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
## * In the file package.xml:
## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET
## * If MSG_DEP_SET isn't empty the following dependencies might have been
## pulled in transitively but can be declared for certainty nonetheless:
## * add a build_depend tag for "message_generation"
## * add a run_depend tag for "message_runtime"
## * In this file (CMakeLists.txt):
## * add "message_generation" and every package in MSG_DEP_SET to
## find_package(catkin REQUIRED COMPONENTS ...)
## * add "message_runtime" and every package in MSG_DEP_SET to
## catkin_package(CATKIN_DEPENDS ...)
## * uncomment the add_*_files sections below as needed
## and list every .msg/.srv/.action file to be processed
## * uncomment the generate_messages entry below
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
## Generate messages in the 'msg' folder
# add_message_files(
# FILES
# Message1.msg
# Message2.msg
# )
## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service1.srv
# Service2.srv
# )
## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )
## Generate added messages and services with any dependencies listed here
# generate_messages(
# DEPENDENCIES
# std_msgs # Or other packages containing msgs
# )
###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
INCLUDE_DIRS include
# LIBRARIES semrob_generic
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
set(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}")
include_directories(include ${Boost_INCLUDE_DIR} ${Eigen_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS})
## Declare a cpp library
# add_library(semrob_generic
# src/${PROJECT_NAME}/semrob_generic.cpp
# )
## Declare a cpp executable
# add_executable(semrob_generic_node src/semrob_generic_node.cpp)
## Add cmake target dependencies of the executable/library
## as an example, message headers may need to be generated before nodes
# add_dependencies(semrob_generic_node semrob_generic_generate_messages_cpp)
## Specify libraries to link a library or executable target against
# target_link_libraries(semrob_generic_node
# ${catkin_LIBRARIES}
# )
### ---------------------
add_executable(random_test test/random_test.cc)
target_link_libraries(random_test)
add_executable(serialization_test test/serialization_test.cc)
target_link_libraries(serialization_test -lboost_serialization)
#############
## Install ##
#############
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark executables and/or libraries for installation
# install(TARGETS semrob_generic semrob_generic_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )
## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_semrob_generic.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
↧
source .zshrc to set ROS environment don't take effect
hello all,
part of the .zshrc file as following:
source /opt/ros/indigo/setup.zsh
source /home/adminyin/catkin_ws/devel/setup.zsh
source /home/adminyin/rosws/devel/setup.zsh
when source .zshrc at terminal, it does nothing
only source /opt/ros/indigo/setup.zsh or other .zsh file manually can take effect
could someone tell me what's wrong about this?
It was occured when I use qtcreator open my ROS package, but failed at the CMake execution step
↧