I'm trying to install ROS hydro on a macbook running Maveriks 10.9.5. The machine setup was cloned from a Lion machine which means I've had some problems with out-of-date dependencies and so on. My current problem comes when the system tries to build camera_calibration_parsers which fails with the error
CMake Error at CMakeLists.txt:16 (if):
if given arguments:
"VERSION_GREATER" "0.5"
Unknown arguments specified
I _have_ managed to do a fresh-ish install of ROS on an iMAC running Maveriks 10.9.5 so I suspect the problem is legacy libraries on this machine. By comparing the two installations it looks like the build is failing to instantiate YAML_CPP_VERSION (and a bunch of other YAML based variables used by cmake)
The problem may be that yaml doesn't appear in /usr/local/lib/python2.7/site-packages but instead appears in /Library/Python/2.7/site-packages . I've uninstalled and reinstalled pip (making sure I have the correct version) but this doesn't seem to have made a difference. rosdep claims to be able to find everything it needs.
I'm a little wary of trying something drastic (like deleting the contents of /Library/Python/2.7/site-packages) so was wondering if anyone had a clearer idea why catkin_make_isolated can't detect yaml properly
↧
Problem detecting yaml-cpp in Hydro installation on MACOS Maveriks
↧
ROSARIA install on Hydro
Hi,
I'm relatively new to ROS and need to install a couple of packages to control an ActivMedia Powerbot (Pioneer). I am following the tutorial found [here](http://wiki.ros.org/ROSARIA/Tutorials/How%20to%20use%20ROSARIA) but I was unsuccessful in getting it to work. By following this tutorial, everything seemed ok, and the result of `catkin_make` can be shown below:
rachdar@ubuntu:~/catkin_ws$ catkin_make
Base path: /home/rachdar/catkin_ws
Source space: /home/rachdar/catkin_ws/src
Build space: /home/rachdar/catkin_ws/build
Devel space: /home/rachdar/catkin_ws/devel
Install space: /home/rachdar/catkin_ws/install
####
#### Running command: "cmake /home/rachdar/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/rachdar/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/rachdar/catkin_ws/install" in "/home/rachdar/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/rachdar/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/rachdar/catkin_ws/devel;/opt/ros/hydro
-- This workspace overlays: /home/rachdar/catkin_ws/devel;/opt/ros/hydro
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/rachdar/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.89
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - rosaria
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'rosaria'
-- ==> add_subdirectory(rosaria)
-- Using these message generators: gencpp;genlisp;genpy
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- thread
-- rosaria: 1 messages, 0 services
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rachdar/catkin_ws/build
####
#### Running command: "make -j1 -l1" in "/home/rachdar/catkin_ws/build"
####
Scanning dependencies of target geometry_msgs_generate_messages_cpp
[ 0%] Built target geometry_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_cpp
[ 0%] Built target std_msgs_generate_messages_cpp
Scanning dependencies of target rosaria_generate_messages_cpp
[ 16%] Generating C++ code from rosaria/BumperState.msg
[ 16%] Built target rosaria_generate_messages_cpp
Scanning dependencies of target rosaria_gencpp
[ 16%] Built target rosaria_gencpp
Scanning dependencies of target rosaria_gencfg
[ 33%] Generating dynamic reconfigure files from cfg/RosAria.cfg: /home/rachdar/catkin_ws/devel/include/rosaria/RosAriaConfig.h /home/rachdar/catkin_ws/devel/lib/python2.7/dist-packages/rosaria/cfg/RosAriaConfig.py
Generating reconfiguration files for RosAria in rosaria
Wrote header file in /home/rachdar/catkin_ws/devel/include/rosaria/RosAriaConfig.h
[ 33%] Built target rosaria_gencfg
Scanning dependencies of target RosAria
[ 50%] Building CXX object rosaria/CMakeFiles/RosAria.dir/RosAria.cpp.o
Linking CXX executable /home/rachdar/catkin_ws/devel/lib/rosaria/RosAria
[ 50%] Built target RosAria
Scanning dependencies of target geometry_msgs_generate_messages_py
[ 50%] Built target geometry_msgs_generate_messages_py
Scanning dependencies of target std_msgs_generate_messages_py
[ 50%] Built target std_msgs_generate_messages_py
Scanning dependencies of target rosaria_generate_messages_py
[ 66%] Generating Python from MSG rosaria/BumperState
[ 83%] Generating Python msg __init__.py for rosaria
[ 83%] Built target rosaria_generate_messages_py
Scanning dependencies of target std_msgs_generate_messages_lisp
[ 83%] Built target std_msgs_generate_messages_lisp
Scanning dependencies of target geometry_msgs_generate_messages_lisp
[ 83%] Built target geometry_msgs_generate_messages_lisp
Scanning dependencies of target rosaria_generate_messages_lisp
[100%] Generating Lisp code from rosaria/BumperState.msg
[100%] Built target rosaria_generate_messages_lisp
Scanning dependencies of target rosaria_generate_messages
[100%] Built target rosaria_generate_messages
When I tried the command,
rosrun rosaria RosAria
the following error was obtained:
[ERROR] [1422117443.016309109]: [setParam] Failed to contact master at [localhost:11311]. Retrying...
Can anybody explain this error to me please? When I kill the process, first it connects to the simulator and disconnects immediately. If I don't kill the process, it keeps on retrying to contact master....
^CConnecting to simulator through tcp.
Syncing 0
Syncing 1
Syncing 2
Connected to robot.
Name: MobileSim
Type: Pioneer
Subtype: powerbot-sh
ArConfig: Config version: 2.0
Loaded robot parameters from powerbot-sh.p
ArRobotConnector: Connected to simulator, not connecting to additional hardware components.
Trace/breakpoint trap (core dumped)
Please help.
↧
↧
How can I install Hydro and Indigo alongside on Ubuntu 14.04.
I installed indigo resourcefully.PR2 is supported only for Hydro.I tried installing hydro by following official doc (http://wiki.ros.org/hydro/Installation/Ubuntu)
I get following error
$ sudo apt-get install ros-hydro-desktop-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-hydro-desktop-full
I have also run apt-get update cmd before running above command
↧
Unable to complete cmake of cv_bridge
Hi, I'm using Odroid XU3(Arm processor), Ubuntu 12.04(Precise) and Ros(Hydro).
When I tried to make cv_bridge, I get these
-- +++ processing catkin package: 'cv_bridge'
-- ==> add_subdirectory(cv_bridge)
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- python
-- Found PythonLibs: /usr/lib/libpython2.7.so (Required is at least version "2.7")
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 137, in
import add_newdocs
File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 13, in
from polynomial import *
File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 17, in
from numpy.linalg import eigvals, lstsq
File "/usr/lib/python2.7/dist-packages/numpy/linalg/__init__.py", line 48, in
from linalg import *
File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 23, in
from numpy.linalg import lapack_lite
ImportError: liblapack.so.3gf: cannot open shared object file: No such file or directory
CMake Error at cv_bridge/src/CMakeLists.txt:24 (message):
Could not determine the NumPy include directory, verify that NumPy was
installed correctly.
-- +++ processing catkin package: 'openni2_camera'
-- ==> add_subdirectory(openni2_camera)
CMake Error at openni2_camera/CMakeLists.txt:11 (pkg_check_modules):
Unknown CMake command "pkg_check_modules".
-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
Does anyone know what my problem is?
Is there any known method to solve it?
↧
unable to launch pr2 keyboard teleop on hydro
I was trying to launch pr2 keyboard teleop on hydro but I shown the following error > ERROR: cannot launch node of type [pr2_teleop/teleop_pr2_keyboard]: can't locate node [teleop_pr2_keyboard] in package [pr2_teleop]
Did anyone faced the same issue before?
Thanks
↧
↧
[orocos_toolchain / Hydro] Empty orocos_toolchain package after apt-get
Hello everybody,
I have just installed the orocos-toolchain package under ROS Hydro (on Ubuntu 12.04) via apt-get using the instructions reported here: http://wiki.ros.org/orocos_toolchain for Hydro.
After installation, all I have is an empty package under `/opt/ros/hydro/share/orocos-toolchain` that contains only `package.xml` file and nothing else (no rtt or ocl folders, and so on).
All I can see from the apt-get installation is this error:
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
but the installations goes fine (or so it seems). Of course, when I type source `'rosstack find orocos_toolchain'/env.sh` no env.sh file if found at all.
Am I doing something wrong?
Thank you in advance,
Federico
↧
how to use face_detect with kinect
I am trying to use the face_detect package to detect humans in a scene. When i try to the run the launch file face_detect.rgbd.launch it's not detecting face and nothing is published on the topic face_detector/faces_cloud.
any help here would be great.
↧
Move_base error: Local costmap doesn't work (robot unable to do obstacle avoidance)
Hi!
I am using Hydro on Ubuntu 12.04.
I have tried the turtlebot_simulation tutorials and all went well.
I am using Kobuki robot but I have changed the laser scanner input from the kinect to a laser.
The laser seems to be correct as I can see the laser in RVIZ.
However, when I launch move_base, the local costmap does not seem to be reading the laser and hence the robot fails to avoid obstacles that are not on the map.
The global costmap shows correctly, but there is no local costmap.
I am using 100% the same settings as in turtlebot_navigation package - the only difference is that I have a laser model instead of the Kinect.
I have tried the following reference, but it still does not work.
http://answers.ros.org/question/128496/navigation-stack-cant-avoid-obstacles-in-hydro/
Any ideas? Thanks!
↧
kinect frames
Hi, I'm using a kinect and openni_launch to get the images.
Openni_launch creates several frames, but where is each frame in the real kinect??
Thanks.
↧
↧
assimp error while installing ROS on OS X 10.8
While trying to install ROS on OS X 10.8, with XCode 5.0.2, the package geometric_shapes is unable to build. It give the following error.
==> Processing catkin package: 'geometric_shapes'
==> Building with env: '/Users/Siva/ros_catkin_ws/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/Users/Siva/ros_catkin_ws/build_isolated/geometric_shapes'
==> make -j4 -l4 in '/Users/Siva/ros_catkin_ws/build_isolated/geometric_shapes'
[ 20%] Building CXX object CMakeFiles/geometric_shapes.dir/src/mesh_operations.cpp.o
/Users/Siva/ros_catkin_ws/src/geometric_shapes/src/mesh_operations.cpp:54:10: fatal error: 'assimp/aiScene.h' file not found
#include
^
1 error generated.
make[2]: *** [CMakeFiles/geometric_shapes.dir/src/mesh_operations.cpp.o] Error 1
make[1]: *** [CMakeFiles/geometric_shapes.dir/all] Error 2
make: *** [all] Error 2<== Failed to process package 'geometric_shapes':
Command '/Users/Siva/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2
I have installed assimp in my machine through
brew install assimp
Output of `brew info assimp`
assimp: stable 3.0.1270, HEAD
http://assimp.sourceforge.net/
/usr/local/Cellar/assimp/3.0.1270 (52 files, 8.0M) *
Built from source
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/assimp.rb
==> Dependencies
Build: cmake ✔
Required: boost ✔
Geometric_shapes version as specified in hydro-desktop-full-wet.rosinstall :
local-name: geometric_shapes
uri: https://github.com/ros-gbp/geometric_shapes-release/archive/release/hydro/geometric_shapes/0.3.6-0.tar.gz
version: geometric_shapes-release-release-hydro-geometric_shapes-0.3.6-0
I am trying to build Hydro on OS X 10.8 with XCode 5.0.2
But even then the error persists. I am not sure on how to proceed, Kindly help.
↧
Timeout Error for Hokuyo Node with URG-04LX-UG01 Sensor
I'm using **Ubuntu 12.04** with **ROS Hydro**, and seeing the same error as: http://answers.ros.org/question/45850/problem-running-hokuyo_node/:>> rosrun hokuyo_node hokuyo_node _port:=/dev/ttyACM0
[ERROR] [1422560559.586392534]: Exception thrown while opening Hokuyo.
timeout reached (in hokuyo::laser::laserReadline) You may find further details at http://www.ros.org/wiki/hokuyo_node/Troubleshooting
I think I do have the correct permissions on /dev/ttyACM0 since:
>> ls -l /dev/ttyACM*B0
crwxrwxrwx 1 root dialout 166, 0 Jan 29 14:42 /dev/ttyACM0
**Solution:** Use a different USB cable.
↧
Add frame by code
Hi, I want to know if it is possible add a new frame by code.
For example a node publishing a frame and modify the position and orientation. Something like static_transform_publisher but doing it by code.
Thanks.
↧
Roslaunch Error
Hi guys, i'm trying to run a URDF on my workspace on Ros Hydro, and i'm getting some errors. I will give a link with my .launch, my .URDF and the error.
Some knows what should I do?
I really need to run this...
This URDF was exported form a Solid Works draw with Export Urdf plugin, if someone knows a better way to do this or should help me with this exportation... I have all the files in solid works to try to export again.
I'm desesperated...
Link to files: https://gist.github.com/anonymous/751b0435785d5e331b32
↧
↧
apt-get install openni-dev removes most of ROS Hydro
I'm in a situation where I need to install openni-dev on Ubuntu with a pre-existing and working installation of Hydro. The problem is that when I run `sudo apt-get install openni-dev`, I get this message saying that it will be removing a lot of my ROS packages. I accepted once and my ROS install was completely broken. Is there any way to get around this weird behaviour?
The following packages were automatically installed and are no longer required:
ros-hydro-rqt-runtime-monitor ros-hydro-qt-gui-py-common
libpcl-surface-1.7-dev libbullet-dev ros-hydro-gmapping ros-hydro-self-test
libsm-dev ros-hydro-opencv2 libpoconet9 ros-hydro-rqt-reconfigure
libswscale2 ros-hydro-move-base-msgs ros-hydro-rqt-robot-dashboard
ros-hydro-common-tutorials libcaca-dev ros-hydro-collada-urdf
libavformat-dev ros-hydro-roslisp python-pyside.qtopengl ros-hydro-rosbag
libpocodata9 ros-hydro-robot-model ros-hydro-cv-bridge
ros-hydro-rosbag-migration-rule libogre-1.7.4 libp11-kit-dev libice-dev
libjpeg-turbo8-dev libpcl-surface-1.7 libavutil51 libxaw7-dev
ros-hydro-rqt-robot-steering libxrandr-dev ros-hydro-ros-comm
libpcl-features-1.7-dev yaml-cpp ros-hydro-rqt-launch
ros-hydro-vision-opencv ros-hydro-image-common libslang2-dev
ros-hydro-husky-interactive-markers python-sphinx ros-hydro-random-numbers
libxdamage-dev libpocosqlite9 python-matplotlib libzzip-dev
ros-hydro-python-orocos-kdl ros-hydro-turtle-actionlib libgnomecanvas2-0
ros-hydro-pluginlib-tutorials ros-hydro-image-proc libplayerdrivers3.0
python3.2-minimal libpocomysql9 libopencv-imgproc2.3
python-pyside.qtdeclarative ros-hydro-smclib libfreeimage3 libpoco-dev
libassimp2 libilmbase6 ros-hydro-kdl-parser ros-hydro-rqt-gui-py
libpcl-outofcore-1.7 libpcl-recognition-1.7 libpocoutil9
python-pyside.phonon librtmp-dev libgpg-error-dev libpyside-py3-1.1
libplayerc3.0 python-epydoc libxml2-utils ros-hydro-media-export
ros-hydro-tf2-bullet ros-hydro-message-filters ros-hydro-timestamp-tools
ros-hydro-driver-common libcppunit-1.12-1 libpcl-geometry-1.7-dev
ros-hydro-rosnode ros-hydro-stage ros-hydro-rqt-action sphinx-doc
libxfixes-dev libplayercommon3.0 python-pyside.qtuitools
libpcl-registration-1.7-dev ros-hydro-rosconsole-bridge liblodo3.0
libpmap3.0 ros-hydro-stage-ros libasound2-dev libavutil-dev liblua5.1-0-dev
ros-hydro-theora-image-transport libtbb2 libgnutls-openssl27
ros-hydro-rosmsg ros-hydro-rqt-plot python-matplotlib-data libavcodec-dev
ros-hydro-smach-ros libpython3.2 ros-hydro-control-msgs libtar0 phonon
ros-hydro-laser-pipeline libqwt5-qt4 gazebo ros-hydro-tf2-msgs libavfilter2
libtiff4-dev ros-hydro-fake-localization x11proto-xinerama-dev
ros-hydro-visualization-tutorials ros-hydro-stereo-image-proc
ros-hydro-octomap libgl2ps0 libncurses5-dev ros-hydro-camera-info-manager
ros-hydro-pcl-msgs ros-hydro-tf2-tools x11proto-render-dev
ros-hydro-std-srvs libav-tools libxi-dev ros-hydro-urdfdom-headers
libsdl-image1.2-dev texlive-fonts-recommended libpocoodbc9 libpixman-1-dev
libpcl-features-1.7 libshiboken-dev sbcl libvtk5.8-qt4 libavdevice53
docgenerator ros-hydro-rqt-nav-view ros-hydro-ros-full libqwt6
ros-hydro-nodelet ros-hydro-compressed-image-transport ros-hydro-roswtf
ros-hydro-actionlib collada-dom-dev ros-hydro-rosbash
ros-hydro-polled-camera ros-hydro-rosdoc-lite libqhull-dev
ros-hydro-interactive-marker-tutorials libtiffxx0c2 libfontconfig1-dev
libavahi-client-dev liblcms1-dev libogg-dev ros-hydro-image-view
python-qt4-dev libgl2ps-dev python3.2 x11proto-randr-dev ros-hydro-tf2-kdl
libpcl-tracking-1.7 libcegui-mk2-0.7.5 ros-hydro-rqt-py-console
libxinerama-dev ros-hydro-turtlesim libavcodec53 libcurl4-openssl-dev
ros-hydro-camera-calibration-parsers ros-hydro-executive-smach
ros-hydro-tf2-geometry-msgs ros-hydro-actionlib-tutorials
ros-hydro-rqt-pose-view ros-hydro-topic-tools libreadline6-dev
libpcl-tracking-1.7-dev libgnutlsxx27 libusb-1.0-0-dev python-psutil
libopencv-core2.3 libpcl-search-1.7-dev ros-hydro-rospy-tutorials
libswscale-dev libtheora-dev libatk1.0-dev libpyside1.1 python-pyside.qttest
ros-hydro-rqt-bag libprotobuf-dev ros-hydro-rviz-plugin-tutorials
ros-hydro-actionlib-msgs ros-hydro-rqt-publisher collada-dom2.4-dp-base
ros-hydro-rqt-robot-plugins libsdl1.2-dev ros-hydro-rqt-rviz
libjs-underscore sdformat libsdl-image1.2 ros-hydro-diagnostic-msgs
python-qt4-gl ros-hydro-trajectory-msgs ros-hydro-urdf-tutorial
libgdk-pixbuf2.0-dev ros-hydro-rqt-dep ros-hydro-rostest
ros-hydro-eigen-conversions ros-hydro-openslam-gmapping libjasper-dev tipa
python-pyside.qtwebkit ros-hydro-interactive-markers libpcl-keypoints-1.7
libtinfo-dev libpcl-apps-1.7 ros-hydro-tf2-ros libapiextractor-dev
x11proto-fixes-dev python-tz ros-hydro-rosboost-cfg
libcairo-script-interpreter2 ros-hydro-map-server ros-hydro-map-msgs
libpcl-keypoints-1.7-dev libfltk1.1 libfltk1.3 libgenrunner-dev
python-pyside.qtcore libfreeimage-dev libsilly ros-hydro-bond-core
ros-hydro-rqt-py-common ros-hydro-rosservice
ros-hydro-compressed-depth-image-transport libplayerjpeg3.0
ros-hydro-rqt-service-caller ros-hydro-shape-msgs ros-hydro-rqt-gui
libjpeg-dev python-pyside.qtnetwork ros-hydro-rqt-common-plugins libflann1
fluid python-pyside.qtgui ros-hydro-rqt-topic libvtk5.8
ros-hydro-class-loader libvpx1 ros-hydro-image-transport-plugins
ros-hydro-husky-description libcppunit-dev ros-hydro-robot-state-publisher
libxt-dev ros-hydro-qt-dotgraph ros-hydro-eigen-stl-containers libxmu-dev
x11proto-scrnsaver-dev ros-hydro-turtle-tf libgenrunner0.6 libopenexr6
python-kitchen libnetcdf-dev ros-hydro-common-msgs libidn11-dev
libfltk-forms1.3 libtasn1-3-dev sphinx-common
ros-hydro-joint-state-publisher libeigen3-dev x11proto-damage-dev
libhdf5-serial-1.8.4 ros-hydro-husky-viz ros-hydro-nodelet-tutorial-math
libfltk-images1.3 libgeos-c1 ros-hydro-laser-geometry libogre-dev
ros-hydro-rqt-gui-cpp ros-hydro-rqt-logger-level ros-hydro-rqt-msg
ros-hydro-geometry-experimental ros-hydro-tf-conversions ffmpeg
ros-hydro-rosunit libpcl-octree-1.7-dev libpostproc52
ros-hydro-resource-retriever libglib2.0-dev libplayercore3.0
texlive-fonts-recommended-doc hddtemp ros-hydro-robot
ros-hydro-librviz-tutorial ros-hydro-rqt-console libxcb-shm0-dev libxml2-dev
libcairo2-dev libpococrypto9 ros-hydro-rqt-tf-tree ros-hydro-rqt-bag-plugins
ros-hydro-orocos-kdl libxpm-dev libzzip-0-13 libpcl-people-1.7 tcl8.5-dev
libpango1.0-dev ros-hydro-geometry-tutorials libfreetype6-dev libgsm1
ros-hydro-diagnostic-aggregator robot-player ros-hydro-amcl
ros-hydro-urdf-parser-plugin libvtk5-dev ros-hydro-rviz-python-tutorial
ros-hydro-image-geometry shiboken libtbb-dev libphonon4 ros-hydro-rqt-srv
python-pyside.qtsql ros-hydro-rqt-top ros-hydro-qt-gui-core
ros-hydro-rqt-web libpcl-common-1.7-dev ros-hydro-ros-tutorials
python-pyside.qtsvg python-pyside.qthelp ros-hydro-rqt-graph
libschroedinger-1.0-0 libpocoxml9 libavformat53 ros-hydro-qt-gui-app
ros-hydro-visualization-msgs ros-hydro-shape-tools ros-hydro-rosbag-storage
libdc1394-22 collada-dom2.4-dp-dev libgcrypt11-dev ros-hydro-rqt-shell
ros-hydro-roscreate ros-hydro-rqt-robot-monitor ros-hydro-bondcpp
ros-hydro-bfl libpcl-search-1.7 libassimp-dev ros-hydro-kdl-conversions
ros-hydro-rqt-moveit ros-hydro-nav-msgs libpcl-sample-consensus-1.7-dev
ros-hydro-qt-gui-cpp libpcl-common-1.7 phonon-backend-gstreamer libjpeg8-dev
ros-hydro-laser-filters python-pyside.qtxml libgeos-3.2.2
ros-hydro-image-rotate libdevil-dev libpyside-dev libstatgrab6
ros-hydro-gazebo-msgs ros-hydro-camera-calibration fltk1.3-doc
python-sip-dev ros-hydro-mk ros-hydro-diagnostic-common-diagnostics
libois-1.3.0 ros-hydro-smach ros-hydro-roscpp-tutorials ros-hydro-tf
libplayerinterface3.0 libxcomposite-dev libpocozip9 ros-hydro-bond
libxcb-render0-dev ros-hydro-laser-assembler libxmu-headers libxrender-dev
libfltk1.1-dev libpulse-dev libpcl-filters-1.7 libplayerc++3.0
ros-hydro-image-transport ros-hydro-dynamic-reconfigure
libpcl-kdtree-1.7-dev ros-hydro-driver-base python-pydot
ros-hydro-diagnostic-analysis ros-hydro-rviz ros-hydro-angles
libpcl-filters-1.7-dev libcegui-mk2-dev ros-hydro-desktop tk8.5-dev
libxft-dev ros-hydro-collada-parser libva1 ros-hydro-geometry
x11proto-composite-dev libgnutls-dev ros-hydro-robot-pose-ekf
python-qwt5-qt4 ros-hydro-python-qt-binding ros-hydro-nodelet-topic-tools
ros-hydro-ros-base libodbc1 libgsl0ldbl libpocofoundation9
python-pyside.qtscript libapiextractor0.10 libvtk5-qt4-dev libdbus-1-dev
ros-hydro-visualization-marker-tutorials generatorrunner freeglut3-dev
libmng-dev ros-hydro-stereo-msgs ros-hydro-tf2-py libprotobuf-lite7
libavahi-common-dev libgtk2.0-dev libflann-dev libopenjpeg2 python-jinja2
ros-hydro-diagnostics libpcl-registration-1.7 libshiboken-py3-1.1 libbullet
ros-hydro-tf2 libxss-dev libqhull5 libpcl-1.7-doc libxerces-c3.1
libpcl-sample-consensus-1.7 ros-hydro-urdf libpoconetssl9
libpcl-segmentation-1.7 python-pyside ros-hydro-roslang libpcl-octree-1.7
libopencv-highgui2.3 ros-hydro-ros ros-hydro-smach-msgs libshiboken1.1
libdevil1c2 libplayertcp3.0 ros-hydro-sensor-msgs libpcl-kdtree-1.7
libxcursor-dev ros-hydro-rostopic ros-hydro-voxel-grid ros-hydro-bondpy
libgnomecanvas2-common libbz2-dev ros-hydro-viz ros-hydro-diagnostic-updater
ros-hydro-geometric-shapes ros-hydro-urdfdom ros-hydro-nodelet-core
ros-hydro-filters libplayerwkb3.0 ros-hydro-rosmake ros-hydro-rqt-image-view
ros-hydro-qt-gui libnetcdf6 libjs-sphinxdoc libpcl-segmentation-1.7-dev
python-pyparsing libv4l-dev python-opengl ros-hydro-pluginlib libqwt-dev
libreadline-dev libpng12-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libpcl-recognition-1.7
The following packages will be REMOVED:
libopenni-dev libopenni-sensor-primesense0 libopenni0 libpcl-1.7-all
libpcl-1.7-all-dev libpcl-1.7-bin libpcl-all libpcl-apps-1.7-dev
libpcl-io-1.7 libpcl-io-1.7-dev libpcl-outofcore-1.7-dev
libpcl-people-1.7-dev libpcl-recognition-1.7-dev libpcl-visualization-1.7
libpcl-visualization-1.7-dev openni-utils ros-hydro-base-local-planner
ros-hydro-carrot-planner ros-hydro-clear-costmap-recovery
ros-hydro-costmap-2d ros-hydro-depth-image-proc ros-hydro-desktop-full
ros-hydro-dwa-local-planner ros-hydro-gazebo-plugins ros-hydro-gazebo-ros
ros-hydro-gazebo-ros-pkgs ros-hydro-global-planner ros-hydro-husky-desktop
ros-hydro-husky-gazebo ros-hydro-husky-gazebo-plugins
ros-hydro-husky-simulator ros-hydro-image-pipeline ros-hydro-mobile
ros-hydro-move-base ros-hydro-move-slow-and-clear ros-hydro-nav-core
ros-hydro-navfn ros-hydro-navigation ros-hydro-pcl-conversions
ros-hydro-pcl-ros ros-hydro-perception ros-hydro-perception-pcl
ros-hydro-rotate-recovery ros-hydro-simulators
The following NEW packages will be installed:
openni-dev
The following packages will be upgraded:
libpcl-recognition-1.7
1 upgraded, 1 newly installed, 44 to remove and 31 not upgraded.
Need to get 3,019 kB of archives.
After this operation, 42.6 MB disk space will be freed.
Do you want to continue [Y/n]?
↧
How to use irobot create in gazebo with ROS hydro?
As I could see the ROS hydro version has the packages for irobot create:
ros-hydro-create-dashboard
ros-hydro-create-description
ros-hydro-create-driver
ros-hydro-create-gazebo-plugins
ros-hydro-create-node
But I couldn't manage to find a tutorial of how to run Create in gazebo simulator.
↧
Pose going up and constant "Visual Odometry got Lost!" message
Hello, I'm using the viso2_ros' stereo node with Ubuntu 12.04 and ROS Hydro. My setup consists of two [webcams](http://asia.creative.com/p/web-cameras/live-cam-sync-hd) attached to a steady surface at a distance of 17.3 cm from each other and calibrated with the stereo camera_calibration.
I am viewing in Rviz the Pose and Point_cloud published by the node and after a few seconds of running, the Pose starts shooting up:

I also get a the "Visual Odometry got Lost!" message frequently. I checked the ~info topic and this was the outcome:

I read the FAQs for the package and I tried to apply the solutions given to people with [similar](http://answers.ros.org/question/62872/viso2_ros-shows-visual-odometer-got-lost/) [issues](http://answers.ros.org/question/63071/viso2-camera-configuration/). So I reset the odometer by calling the stereo_odometer/reset_pose service and changed the match_disp_tolerance parameter.
Reseting the odometer didn't work because the pose went back down to the grid but after a few seconds it was going up again.
I increased the match_disp_tolerance parameter from 5 (the value that it had by default) to 20 and then to 100. For some reason the number of "Visual Odometry got Lost!" messages increased with the parameter, and I think it worked the best with the original value.

I thought the problem might be that the number of inliers was too low, but even if i changed the background drastically the number of inliers didn't remain high for long (sometimes I get a lot of inliers but after a few seconds, without moving the camera, they decrease to less than 10, then they go up again and so on). This is the image I was viewing for the messages on some of the screenshots above:

And this is the launch file I'm using:
Since I was getting the "Visual Odometry got Lost!" message constantly, I decided to test the odometry of the stereo camera without the robot, that's why I publish the tf with arguments *0 0 0 0 0 0 1 base\_link camera 100*. I still have some trouble grasping the tfs so I didn't want to add any mistake with them to my current problem.
I'm not sure if I'm doing something wrong or if my cameras are not good enough to use the package, so I would really appreciate any ideas or corrections about it.
Thank you in advance.
↧
Does MRPT_navigation work in HYDRO?
I tried to follow the steps described here: http://wiki.ros.org/mrpt_navigation/Tutorials/Installing but catkin_make gives me errors. My steps are:
1)sudo apt-get install libmrpt-dev
2)cd /src
3)git clone https://github.com/mrpt-ros-pkg/mrpt_navigation.git
4)cd ..
5)catkin_make
After that, when building mrpt_navigation it gives me this:
[ 50%] Building CXX object mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/src/point_cloud2.cpp.o
Building CXX object mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/src/point_cloud.cpp.o
/home/arms/catkin_ws/src/mrpt_navigation/mrpt_bridge/src/pose.cpp: In function ‘mrpt::poses::CPose3D& mrpt_bridge::convert(const tf::Transform&, mrpt::poses::CPose3D&)’:
/home/arms/catkin_ws/src/mrpt_navigation/mrpt_bridge/src/pose.cpp:87:10: error: ‘class mrpt::poses::CPose3D’ has no member named ‘setRotationMatrix’
/home/arms/catkin_ws/src/mrpt_navigation/mrpt_bridge/src/point_cloud2.cpp: In function ‘bool mrpt_bridge::copy(const mrpt::slam::CSimplePointsMap&, const Header&, sensor_msgs::PointCloud2&)’:
/home/arms/catkin_ws/src/mrpt_navigation/mrpt_bridge/src/point_cloud2.cpp:108:55: note: #pragma message: TODO: "Implement pointcloud2 mrpt2ros"
[ 52%] Building CXX object mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/src/laser_scan.cpp.o
[ 55%] Building CXX object mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/src/map.cpp.o
make[2]: *** [mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/src/pose.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Linking CXX shared library /home/arms/catkin_ws/devel/lib/libmrpt_localization_core.so
[ 55%] Built target mrpt_localization_core
Scanning dependencies of target mrpt_localization
[ 61%] [ 61%] Building CXX object mrpt_navigation/mrpt_localization/CMakeFiles/mrpt_localization.dir/src/mrpt_localization/mrpt_localization_parameters.cpp.o
Building CXX object mrpt_navigation/mrpt_localization/CMakeFiles/mrpt_localization.dir/src/mrpt_localization/mrpt_localization.cpp.o
make[1]: *** [mrpt_navigation/mrpt_bridge/CMakeFiles/mrpt_bridge.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library /home/arms/catkin_ws/devel/lib/libmrpt_localization.so
[ 61%] Built target mrpt_localization
make: *** [all] Error 2
Invoking "make" failed
In my src/mrpt_navigation there are multiple mrpt folders and when I run roslaunch mrpt_localization demo.launch
it gives me: Error: cannot launch node of type [mrpt_localization/mrpt_localization_node]: cant locate node in package
Could anyone please help?
I am using ROS Hydro, Ubuntu 12.04
[edit] added full error message
↧
↧
Using Kinect input instead of a .pcd file and viewing results in RVIZ?
I am trying to apply some filters and euclidean clustering to input from a Kinect sensor. Currently I am using a piece of code that calls in the "table_scene_lms400.pcd" but I would like to know how I can use input from a Kinect sensor rather than this .pcd file? I would also like to view the results in RVIZ? I know this involves subscribers and publishers and despite numerous attempts using tutorials, etc. I have not been able to accomplish this so was wondering if anybody has any code to do the above or could edit my own code/give me some tips to help me? I have included my code below.
(I have tried following most online tutorials and guides but I am still struggling so any help would be greatly appreciated)
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
ros::Publisher pub;
int
main (int argc, char** argv)
{
ros::init(argc, argv, "perception_node");
ros::NodeHandle nh;
// Read in the cloud data
pcl::PCDReader reader;
pcl::PointCloud::Ptr cloud (new pcl::PointCloud), cloud_f (new pcl::PointCloud);
reader.read ("table_scene_lms400.pcd", *cloud);
std::cout << "PointCloud before filtering has: " << cloud->points.size () << " data points." << std::endl; //*
// Create the filtering object: downsample the dataset using a leaf size of 1cm
pcl::VoxelGrid vg;
pcl::PointCloud::Ptr cloud_filtered (new pcl::PointCloud);
vg.setInputCloud (cloud);
vg.setLeafSize (0.01f, 0.01f, 0.01f);
vg.filter (*cloud_filtered);
std::cout << "PointCloud after filtering has: " << cloud_filtered->points.size () << " data points." << std::endl; //*
// Create the segmentation object for the planar model and set all the parameters
pcl::SACSegmentation seg;
pcl::PointIndices::Ptr inliers (new pcl::PointIndices);
pcl::ModelCoefficients::Ptr coefficients (new pcl::ModelCoefficients);
pcl::PointCloud::Ptr cloud_plane (new pcl::PointCloud ());
pcl::PCDWriter writer;
seg.setOptimizeCoefficients (true);
seg.setModelType (pcl::SACMODEL_PLANE);
seg.setMethodType (pcl::SAC_RANSAC);
seg.setMaxIterations (200);
seg.setDistanceThreshold (0.02);
int i=0, nr_points = (int) cloud_filtered->points.size ();
while (cloud_filtered->points.size () > 0.3 * nr_points)
{
// Segment the largest planar component from the remaining cloud
seg.setInputCloud (cloud_filtered);
seg.segment (*inliers, *coefficients);
if (inliers->indices.size () == 0)
{
std::cout << "Could not estimate a planar model for the given dataset." << std::endl;
break;
}
// Extract the planar inliers from the input cloud
pcl::ExtractIndices extract;
extract.setInputCloud (cloud_filtered);
extract.setIndices (inliers);
extract.setNegative (false);
// Get the points associated with the planar surface
extract.filter (*cloud_plane);
std::cout << "PointCloud representing the planar component: " << cloud_plane->points.size () << " data points." << std::endl;
// Remove the planar inliers, extract the rest
extract.setNegative (true);
extract.filter (*cloud_f);
*cloud_filtered = *cloud_f;
}
// Creating the KdTree object for the search method of the extraction
pcl::search::KdTree::Ptr tree (new pcl::search::KdTree);
tree->setInputCloud (cloud_filtered);
std::vector cluster_indices;
pcl::EuclideanClusterExtraction ec;
ec.setClusterTolerance (0.02); // 2cm
ec.setMinClusterSize (100);
ec.setMaxClusterSize (25000);
ec.setSearchMethod (tree);
ec.setInputCloud (cloud_filtered);
ec.extract (cluster_indices);
int j = 0;
for (std::vector::const_iterator it = cluster_indices.begin (); it != cluster_indices.end (); ++it)
{
pcl::PointCloud::Ptr cloud_cluster (new pcl::PointCloud);
for (std::vector::const_iterator pit = it->indices.begin (); pit != it->indices.end (); pit++)
cloud_cluster->points.push_back (cloud_filtered->points[*pit]); //*
cloud_cluster->width = cloud_cluster->points.size ();
cloud_cluster->height = 1;
cloud_cluster->is_dense = true;
std::cout << "PointCloud representing the Cluster: " << cloud_cluster->points.size () << " data points." << std::endl;
std::stringstream ss;
ss << "cloud_cluster_" << j << ".pcd";
writer.write (ss.str (), *cloud_cluster, false); //*
j++;
}
return (0);
}
↧
KnowRob for Hydro
Are there any plans to catkinize the KnowRob packages and release them for Hydro?
↧
install TurtleBot packages on Raspberry Pi
Hi,
I'm trying to install the TurtleBot ROS (hydro) packages on my Raspberry Pi (running wheezy), and I can't seem to get it to work. I follow the directions here: http://wiki.ros.org/turtlebot/Tutoria... (from source), but get the following errors.
pi@raspberrypi ~/turtlebot $ source /opt/ros/hydro/setup.bash -bash: /opt/ros/hydro/setup.bash: No such file or directory pi@raspberrypi ~/turtlebot $ rosdep install --from-paths src -i -y ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: kobuki_description: No definition of [xacro] for OS [debian] turtlebot_teleop: No definition of [joy] for OS [debian] kobuki_ftdi: No definition of [ecl_command_line] for OS [debian] yocs_msgs: No definition of [geometry_msgs] for OS [debian] kobuki_dashboard: No definition of [rqt_robot_dashboard] for OS [debian] turtlebot_gazebo: No definition of [xacro] for OS [debian] create_node: No definition of [tf] for OS [debian] linux_hardware: No definition of [diagnostic_msgs] for OS [debian] kobuki_bumper2pc: No definition of [sensor_msgs] for OS [debian] turtlebot_follower: No definition of [dynamic_reconfigure] for OS [debian] pano_ros: No definition of [cv_bridge] for OS [debian] kobuki_gazebo_plugins: No definition of [tf] for OS [debian] kobuki_safety_controller: No definition of [ecl_threads] for OS [debian] turtlebot_core_apps: No definition of [compressed_image_transport] for OS [debian] yocs_math_toolkit: No definition of [geometry_msgs] for OS [debian] turtlebot_msgs: No definition of [sensor_msgs] for OS [debian] turtlebot_actions: No definition of [image_geometry] for OS [debian] kobuki_qtestsuite: No definition of [nav_msgs] for OS [debian] kobuki_driver: No definition of [ecl_command_line] for OS [debian] kobuki_msgs: No definition of [actionlib_msgs] for OS [debian] pano_core: No definition of [cv_bridge] for OS [debian] create_description: No definition of [xacro] for OS [debian] yocs_diff_drive_pose_controller: No definition of [tf] for OS [debian] turtlebot_description: No definition of [xacro] for OS [debian] turtlebot_navigation: No definition of [navfn] for OS [debian] turtlebot_panorama: No definition of [eigen] for OS version [] kobuki_auto_docking: No definition of [ecl_linear_algebra] for OS [debian] turtlebot_interactive_markers: No definition of [interactive_markers] for OS [debian] kobuki_node: No definition of [rviz] for OS [debian] kobuki_rviz_launchers: No definition of [rviz] for OS [debian] turtlebot_bringup: No definition of [depthimage_to_laserscan] for OS [debian] pano_py: No definition of [cv_bridge] for OS [debian] turtlebot_rviz_launchers: No definition of [rviz] for OS [debian] yocs_virtual_sensor: No definition of [visualization_msgs] for OS [debian] yocs_waypoints_navi: No definition of [yaml-cpp] for OS version [] kobuki_random_walker: No definition of [pluginlib] for OS [debian] turtlebot_calibration: No definition of [python_orocos_kdl] for OS [debian] create_dashboard: No definition of [rqt_robot_dashboard] for OS [debian] kobuki_testsuite: No definition of [geometry_msgs] for OS [debian] kobuki_dock_drive: No definition of [ecl_linear_algebra] for OS [debian] kobuki_keyop: No definition of [ecl_time] for OS [debian] kobuki_controller_tutorial: No definition of [pluginlib] for OS [debian] yocs_cmd_vel_mux: No definition of [yaml-cpp] for OS version [] yocs_velocity_smoother: No definition of [dynamic_reconfigure] for OS [debian] kobuki_gazebo: No definition of [robot_state_publisher] for OS [debian] create_gazebo_plugins: No definition of [sensor_msgs] for OS [debian]
Any help would be great!
Thanks, David
↧