I know that the "python-problem" in arch linux is already known, and i don't like it. I've managed to install ros-hydro from source in my arch, which took a lot of time for me. I've replaced all calls to python for a explicit python2 call with grep and sed, like this:
grep -rl ./ "/bin/env python" | xargs sed -i 's/env python/env python2/g'
"#!/bin/env python" -> "#!/bin/env python2".
But, even with that, i had to set the option -DPYTHON_EXECUTABLE=python2 manually on the command line. I've tried to figure out how i could set some kind of default in the sources, so i put this line on the "python.cmake" file, in catkin/cmake/:
set(PYTHON_EXECUTABLE python2).
that works fine, but it just doesn't seem the correct way to do it, because if i do the following to build ros: ./src/catkin/bin/catkin_make_isolated -DPYTHON_EXECUTABLE=python3.3 for example, it builds normally, like if PYTHON_EXECUTABLE option became constant somehow.
could someone explain me how this variable is set, and how i could make this solution seem more "correct"... and, why doesn't the official sources make explicit calls for python2, instead of python? wouldn't that make ros more portable? I also don't like the way it feels like the only supported platform is ubuntu.
↧
how is the PYTHON_EXECUTABLE variable/option is set with catkin? how can i set its default?
↧
How to install an individual package in ROS hydro
I want to install the hector_slam package in ROS. I downloaded the file from the URL, but I don't know where to put it and how to install the package. Instead of having package.xml in the root folder, it has a stack.xml. I don't know the difference and "rosmake" doesn't work here. If I put the files under the /src folder in my catkin workspace, when I run "catkin_make" it doesn't make the files in this package. I found a few methods online for the earlier versions of ROS, one of them is using "rosws", but it gave a lot of errors and I don't really know what to do when specifying a target workspace. It's my first time installing a package from source, could anyone kindly help me? If possible, I wish to know the general way to install packages in ROS.
Many thanks in advance!
↧
↧
setup.bash in rosbuild workspace hangs
Hi all,
I'm using catkin and rosbuild workspaces (based on [this tutorial](http://wiki.ros.org/catkin/Tutorials/using_rosbuild_with_catkin#rosbuild_workspace_on_top_of_catkin_workspace)). It was working fine but now I'm not able to source setup.bash from rosbuild workspace - probably after some upgrade. I even tried to remove all my workspaces and recreate them from scratch - still same. Source command hangs (doesn't return). Any idea?
If I do `source ros_hydro/rosbuild_ws/setup.bash`, then `Ctrl+C` (or `source ros_hydro/rosbuild_ws/setup.sh` which is not hanging - what's actually difference??) and `env | grep ROS` I'm getting:
ROS_ROOT=/opt/ros/hydro/share/ros
ROS_PACKAGE_PATH=/home/imaterna/ros_hydro/rosbuild_ws/but_env_percp:/opt/ros/hydro/share:/opt/ros/hydro/stacks:/home/imaterna/ros_hydro/catkin_ws/src
ROS_MASTER_URI=http://localhost:11311
ROS_WORKSPACE=/home/imaterna/ros_hydro/rosbuild_ws
ROS_TEST_RESULTS_DIR=/home/imaterna/ros_hydro/catkin_ws/build/test_results
ROSLISP_PACKAGE_DIRECTORIES=/home/imaterna/ros_hydro/catkin_ws/devel/share/common-lisp
ROS_DISTRO=hydro
ROS_ETC_DIR=/opt/ros/hydro/etc/ros
...which looks quite Ok. I can even roscd to my packages (but autocompletion doesn't work).
My system is Ubuntu 12.10 64 bit (3.5.0-45-generic), ROS Hydro. I'm using bash shell:
echo $SHELL
/bin/bash
↧
source catkin_ws/src/setup.bash after each reboot ?
Hi,
I use Ubuntu 12.04 LTS with ROS-groovy.
I followed the tutorial "InstallingandConfiguringROSEnvironment" on how to create a catkin workspace.
When I reboot my laptop I've to
source devel/setup.bash
to find packages in catkin_ws/src with the command
rospack find
Clearly I'm doing something wrong or I'm misinformed.
I appreciate your help,
Matt
↧
what's the meaning of the command: source /opt/ros/groovy/setup.bash
Hello professors, I am so confused about the tutorial of catkin which told us that we should type the command: source /opt/ros/groovy/setup.bash every time.... I have no idea. because before I type this command, my workspace is under home directory which is /home/username/workspace, but when I type this command and then I type the 'roscd', the path turned to /opt/ros/groovy/.. so my question is where should I create my package? Does that mean every time when I want to create package I should source first? I' so confused about this.. cause when I try to create package and run it, there always be showing some error which told me that command not found....I just follow the tutorials....
Thanks so much for your instruction.
↧
↧
Unable to get groovy source code through rosinstall
I am trying to follow the instructions for installing groovy through source code here from the ros website
but I am getting this error when I run the rosinstall generator:
$ rosinstall_generator desktop-full --rosdistro groovy --deps --wet-only > groovy-desktop-full-wet.rosinstall # rosdistro.get_cached_release() has been deprecated in favor of the new function rosdistro.get_cached_distribution() - please check that you have the latest versions of the Python tools (e.g. on Ubuntu/Debian use: sudo apt-get update && sudo apt-get install --only-upgrade python-bloom python-rosdep python-rosinstall python-rosinstall-generator) # rosdistro.get_release_cache() has been deprecated in favor of the new function rosdistro.get_distribution_cache() - please check that you have the latest versions of the Python tools (e.g. on Ubuntu/Debian use: sudo apt-get update && sudo apt-get install --only-upgrade python-bloom python-rosdep python-rosinstall python-rosinstall-generator) Could not fetch information for stack 'slam_gmapping' with version '1.2.8': HTTP Error 404: Not Found (https : // code DOT ros DOT org/svn/release/download/stacks/slam_gmapping/slam_gmapping-1.2.8/slam_gmapping-1.2.8.yaml)Also, I am not sure why I am getting those deprecated function errors, I believe I am up to date: python-rosinstall Version: 0.7.3-1 python-rosinstall-generator Version: 0.1.7-1 python-bloom Version: 0.7.3-1 python-rosdep Version: 0.10.25-1
↧
Package pcl - Ubuntu 13.10 - Installation ROS Groovy from source
Hello,
I'm trying to install Ros Groovy on Ubuntu 13.10. (Yes Groovy because the last project I used uses it)
I'm following this tutorial: wiki.ros.org/groovy/Installation/Source
But I'm stuck when I try to run this command:
./src/catkin/bin/catkin_make_isolated --install-space /opt/ROS/groovy/
make[2]: *** [common/CMakeFiles/pcl_common.dir/src/common.cpp.o] Error 1
make[2]: ***
[common/CMakeFiles/pcl_common.dir/src/distances.cpp.o]
Error 1 make[2]: ***
[common/CMakeFiles/pcl_common.dir/src/io.cpp.o]
Error 1 make[2]: ***
[common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o]
Error 1 make[1]: ***
[common/CMakeFiles/pcl_common.dir/all]
Error 2 make[1]: *** Waiting for
unfinished jobs.... make[2]: ***
[octree/CMakeFiles/pcl_octree.dir/src/octree_impl.cpp.o]
Error 1 make[1]: ***
[octree/CMakeFiles/pcl_octree.dir/all]
Error 2
Linking CXX shared library
../lib/libpcl_io_ply.so
[ 4%] Built
target pcl_io_ply
make: *** [all]
Error 2
<== Failed to process package 'pcl':
Command
'/opt/ROS/ros_catkin_ws/devel_isolated/nodelet_topic_tools/env.sh
make -j8 -l8' returned non-zero exit
status 2
Reproduce this error by running:
==> cd /opt/ROS/ros_catkin_ws/build_isolated/pcl&&
/opt/ROS/ros_catkin_ws/devel_isolated/nodelet_topic_tools/env.sh
make -j8 -l8
Command failed, exiting.
I have already checked the pcl_find_ros.cmake and it's seems up to date. (h ttps://github.com/ros-gbp/pcl-release/commits/bf43ffc0eebca4042c6765319c4dd211409d7ace/cmake/pcl_find_ros.cmake)
Any ideas? :\
EDIT:
Command:
./src/catkin/bin/catkin_make_isolated -j1 --install-space /opt/ROS/groovy/
make[2]: *** [common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/pcl_common.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'pcl':
Command '/opt/ROS/ros_catkin_ws/devel_isolated/nodelet_topic_tools/env.sh make -j1' returned non-zero exit status 2
Reproduce this error by running:
==> cd /opt/ROS/ros_catkin_ws/build_isolated/pcl && /opt/ROS/ros_catkin_ws/devel_isolated/nodelet_topic_tools/env.sh make -j1
Command failed, exiting.
↧
gazebo_ros_pkgs pulled in by turtlebot packages fails because of eigen
Hello,
I have my basic ros groovy system working on my gentoo machine. Now I need to use a kobuki and so I tried to install all the nodes from the turtlebot from source like in:
[http://mirror .umd.edu/roswiki/turtlebot(2f)Tutorials(2f)groovy(2f)Installation.html](http://mirror .umd.edu/roswiki/turtlebot(2f)Tutorials(2f)groovy(2f)Installation.html)
Also I had to slowly add all the dependencies one by one and I got all of them to compile until I had to face gazebo.
In this case I found to ways to have it running on groovy, one is to use the rosbuild package but I hat problems to compile it and also I don't know how to "install" rosbuild nodes into /opt/ros/groovy as I do with catkin packages.
The second way (the standard in hydro) is to have the official version of gazebo (I have the 1.9) and install gazebo_ros_pkgs to make the connections with ros which is what I wanted as they say in:
[http://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages](http://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages)
Now I'm facing some problems to compile what I think it's openni_driver with the following error:
Built target kobuki_msgs_gencpp
[ 23%] Built target openni_camera_gencfg
[ 23%] Built target DepthImageToLaserScan
Scanning dependencies of target kobuki_bumper2pc_nodelet
[ 23%] Built target gazebo_plugins_gencfg
[ 23%] Building CXX object kobuki/kobuki_bumper2pc/CMakeFiles/kobuki_bumper2pc_nodelet.dir/src/kobuki_bumper2pc.cpp.o
[ 24%] Built target openni_driver
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libMultiCameraPlugin.so
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_block_laser.so
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_camera_utils.so
///usr/usrlib//gcc/libx86_64/-gccpc/-x86_64linux--pcgnu-/linux4.6.3-/gnu./.4.6.3//....//....//....//x86_64.-.pc/-x86_64linux--pcgnu-/linuxbin-/gnuld/:bin /ld: Eigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSizeEigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSize:: TLSTLS definitiondefinition inin //optopt//rosros//groovygroovy//lib64lib64//libpcl_sample_consensus.solibpcl_sample_consensus.so sectionsection ..tbsstbss mismatchesmismatches nonnon--TLSTLS definitiondefinition inin //optopt//rosros//groovygroovy//liblib//libopencv_contrib.solibopencv_contrib.so sectionsection ..bssbss
//optopt//rosros//groovygroovy//liblib//libopencv_contrib.solibopencv_contrib.so:: couldcould notnot readread symbolssymbols:: BadBad valuevalue
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: Eigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSize: TLS definition in /opt/ros/groovy/lib64/libpcl_sample_consensus.so section .tbss mismatches non-TLS definition in /opt/ros/groovy/lib/libopencv_contrib.so section .bss
/opt/ros/groovy/lib/libopencv_contrib.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_block_laser.so] Error 1
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libMultiCameraPlugin.so] Error 1
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_camera_utils.so] Error 1
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/MultiCameraPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/gazebo_ros_block_laser.dir/all] Error 2
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/gazebo_ros_camera_utils.dir/all] Error 2
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libkobuki_bumper2pc_nodelet.so
[ 24%] Built target kobuki_bumper2pc_nodelet
make: *** [all] Error 2
Invoking "make" failed
I read in [http://wiki.ros.org/groovy/Installation/Fedora](http://wiki.ros.org/groovy/Installation/Fedora) that it has something to do with the eigen library version. I have version 3.0.6 installed while they recommend 3.0.4.
Is this really the reason of the problem I'm facing? How should I follow? Does anybody have experience having ros fully installed from source?
Thank you
↧
Ubuntu 13.10 has problem installing from source, due to "gazebo2" package, does it really exist?
Hi all
when i try to install on Ubuntu 13.10 ROS Medusa-hydro full from source, while running :
$ rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only --tar > hydro-desktop-full-wet.rosinstall
$ wstool init -j8 src hydro-desktop-full-wet.rosinstall
wstool claim about a problem with a gazebo2 package.
Can you please help me? any suggestion?
I've checked in .rosinstall and i've found no package with that name....
↧
↧
How to configure catkin + catkin_pkg from source?
This question is related to http://answers.ros.org/question/64702/overlaying-multiple-catkin-devel-spaces-at-the-same-time/ but it seemed better to ask separately than to hijack that thread.
I'm using catkin as a build tool from source. Basically, I want to have a base workspace that just contains catkin so that I can chain workspaces from there by using the setup.bash file. However, every catkin package (including catkin itself) depends on catkin_pkg. Since we are using catkin_pkg from source as well, I was hoping to be able to manually point to the catkin_pkg python files while configuring the catkin workspace, and have those files available in chained workspaces as well.
I tried the following to "build" catkin:
export PYTHONPATH=/path_to_custom_install_dir_for/catkin_pkg/src:$PYTHONPATH
cmake .. (with appropriate build and install dirs set)
make
But, when I source the setup.bash file that is created, the PYTHONPATH only has catkin, not my custom path to catkin_pkg.
Am I misunderstanding what about "the environment in which it was created" is pulled in when sourcing the setup file? Or, is there a smarter way to set up catkin + catkin_pkg from source in user-space? (I don't want to install it via apt-get or pip).
**EDIT based on comments below:**
Say I have workspaces A, B, C.
Now I: * add catkin_pkg to my PYTHONPATH * source ws_A/devel/setup.bash (PYTHONPATH now has both catkin_pkg and the ws_A stuff) * build ws_B. * In a new terminal, I source ws_B/devel/setup.bash, and then try to build ws_C. Should I expect to see catkin_pkg on the PYTHONPATH in the new terminal? I think that's what I'm doing now, but the catkin_pkg that was on the PYTHONPATH when building B doesn't get passed along through the setup.bash. It's fine if the answer is "that doesn't work", I just want to be sure before I pick a different design.
Now I: * add catkin_pkg to my PYTHONPATH * source ws_A/devel/setup.bash (PYTHONPATH now has both catkin_pkg and the ws_A stuff) * build ws_B. * In a new terminal, I source ws_B/devel/setup.bash, and then try to build ws_C. Should I expect to see catkin_pkg on the PYTHONPATH in the new terminal? I think that's what I'm doing now, but the catkin_pkg that was on the PYTHONPATH when building B doesn't get passed along through the setup.bash. It's fine if the answer is "that doesn't work", I just want to be sure before I pick a different design.
↧
Install ROS on Linux Mint 16
The next instalment in the ever-updating series of installation questions: Is it possible to install ROS on Linux Mint 16 (which is based off Ubuntu 13.10 Saucy)? I've tried using the Raring packages, and (perhaps unsurprisingly) they don't work.
I've also tried installing from source ([using this guide](http://wiki.ros.org/hydro/Installation/Source)), encouraged by some forum posts suggesting that installing from source should work on Ubuntu Saucy. I run into problems when I get to the step that attempts to install the dependencies (`rosdep install --from-paths src --ignore-src --rosdistro hydro -y`). Specifically, I get `ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies`, followed by the list of dependencies paired with the message `Unsupported OS [mint]`. Is there any way to get around this?
↧
Why do i get message no such file or directory when i am trying to set my environments on hydro?
I am trying to set the environment setup after installing the ROS full package using terminal. I get the following message:
kadir@kadir:~$ echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc
kadir@kadir:~$ source ~/.bashrc
bash: /opt/ros/cturtle/setup.bash: No such file or directory
what am i doing wrong?
P.S beginner
↧
No source code cpp file for turtlebot
Hi Everyone,
I have tried to run two turtlebots independently on the same simulation and I just use the model from the tutlebot simulator (hydro) to create two copies using different namespaces, robot1 and robot2. I spawned two and can input velocities independently using the rostopic pub[] command but the problem is that i just got one odom(nav_msgs/Odometry) topic no separate by namespace. Some people posted the solution for this problem by changing the "gazebo_ros_create.cpp" file. I searched for this file in my PC but I couldn't find it. Please can somebody tell where I can find this source file in my PC?
I am using Hydro version with turtlebot simulator files.
Thanks alot
↧
↧
[SOLVED] ROS Hydro from source on Ubuntu 13.10 make error in qt_gui_cpp
**Edit** I gave up at the time and only installed ROS-COMMs, which went through fine. But now that I have a need for the other tools, I decided to have a go at Desktop-Full again. After a bunch of hurdles (some of which were probably self-induced) I was able to get it all working. I can post my steps if there is interest (My log file is 5MB, so I will only do that if there is a demand.)
--
Hi,
I'm following the guide [Installing on Ubuntu from source](http://wiki.ros.org/hydro/Installation/Source).
Whilst building the isolated install (using `./src/catkin/bin/catkin_make_isolated --install --make-args -d`), I got a cmake error while processing **qt_gui_cpp**. I've posted the error message below:
==> Processing catkin package: 'qt_gui_cpp'
==> Creating build directory: 'build_isolated/qt_gui_cpp'
==> Building with env: '/home/username/ros_catkin_ws/install_isolated/env.sh'
==> cmake /home/username/ros_catkin_ws/src/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/home/username/ros_catkin_ws/devel_isolated/qt_gui_cpp -DCMAKE_INSTALL_PREFIX=/home/username/ros_catkin_ws/install_isolated in '/home/username/ros_catkin_ws/build_isolated/qt_gui_cpp'
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- 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/username/ros_catkin_ws/devel_isolated/qt_gui_cpp
-- Using CMAKE_PREFIX_PATH: /home/username/ros_catkin_ws/install_isolated
-- This workspace overlays: /home/username/ros_catkin_ws/install_isolated
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/username/ros_catkin_ws/build_isolated/qt_gui_cpp/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
-- catkin 0.5.77
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.5+")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.4")
-- Using default python: -python3.3
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Shiboken-1.1.2/ShibokenConfig.cmake:5 (include):
include could not find load file:
/usr/lib/x86_64-linux-gnu/cmake/Shiboken-1.1.2/ShibokenConfig-python3.3.cmake
Call Stack (most recent call first):
/home/username/ros_catkin_ws/install_isolated/share/python_qt_binding/cmake/shiboken_helper.cmake:6 (find_package)
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
-- Using default python: -python2.7
-- Shiboken binding generator available.
-- SIP binding generator available.
-- Python binding generators: shiboken;sip
-- Configuring incomplete, errors occurred!<== Failed to process package 'qt_gui_cpp':
Command '/home/username/ros_catkin_ws/install_isolated/env.sh cmake /home/username/ros_catkin_ws/src/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/home/username/ros_catkin_ws/devel_isolated/qt_gui_cpp -DCMAKE_INSTALL_PREFIX=/home/username/ros_catkin_ws/install_isolated' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/username/ros_catkin_ws/build_isolated/qt_gui_cpp && /home/username/ros_catkin_ws/install_isolated/env.sh cmake /home/username/ros_catkin_ws/src/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/home/username/ros_catkin_ws/devel_isolated/qt_gui_cpp -DCMAKE_INSTALL_PREFIX=/home/username/ros_catkin_ws/install_isolated
Command failed, exiting.
My version of python is 2.7.5+, not 3.3.
I have the following ShibokenConfig files: *.cpython-33m.cmake*, *-python2.7.cmake*, and *Version.cmake*
(Is this the source of the error? Should I update my python? Or, does the version comparison (in ShebrokenConfigVersion.cmake) fail because of the '+' sign in my version number?)
Before building, I ran the command: `rosdep install --from-paths src --ignore-src --rosdistro hydro -y` to make sure I had everything needed: `#All required rosdeps installed successfully`. I have also been keeping my Ubuntu install up to date and I am using Gnome Flashback as my GUI, not Unity.
Has anyone else faced this problem, and how were you able to resolve it?
Cheers,
Nap
↧
Recompile turtlebot from source problem
Hi Everyone,
I need to implement a multi-turtlebot application with Hydro ROS so that I installed the turtlebot from source using the instructions below:> mkdir ~/turtlebot> cd ~/turtlebot> wstool init src https/raw.github.com/turtlebot/turtlebot/hydro/turtlebot.rosinstall -j8> source /opt/ros/hydro/setup.bash> rosdep install --from-paths src -i -y> catkin_make
I spawned two turtlebots but I have problems with the “odom” topic that doesn’t resolve correctly. I am getting just one “/odom” topic instead of two like “robot1/odom” and “robot2/odom”
Since I have this problems, incorrect resolution of each robot prefix, I made some changes on the source file gazebo_ros_create.cpp located at HOME/turtlebot/src/turtlebot_create_desktop/create_gazebo_plugins/src
Then, I compiled the from ”/turtlebot” “folder” using “catkin_make” but I noticed that my changes didn’t take effect.
Am I doing something wrong? Or Do I need to do something else to see the effect of my changes?
Please any help would be very much appreciated!! Thanks
↧
Building TurtleBot from source and still having gazebo&gazebo-ros-pkgs from pre-compiled binaries
Hi Everyone,
I installed the TurtleBot from source since I need to rebuild some source files from the turtlebot and I have gazebo&gazebo-ros-pkgs installed from the pre-compiled binaries.
Is there any conflict to mix up source and binaries for gazebo&gazebo-ros-pkgs&turtlebot?
Do I need to install everything from source to avoid any conflict?
I just recompiled some source code from the turtlebot and I observed that there were no changes. It seems that gazebo ignores the new library file
Thanks for any help with this issue
↧
install system depencies of a ros hydro installation
Hello,
maybe someone can help me with my little problem regarding ROS.
Let's say we have a valid ros hydro installation from source in a none root / system directory (for e.g. installed to a mounted /home partition).
Now i want to use a freshly installed system (means root / partition) without any ros system depencies installed. The guide for installing ros from source only mentions how to install the depencies with rosdep which uses the list of packages in the src directory.
How can i resolve / install all the system-depencies the ros-installation have?
With best regards,
Torsten
↧
↧
Error building console_bridge while compiling Groovy from source
I've been working to build groovy desktop from source on RHEL 6.4 with limited success thus far. Ive been relying on the link:[Fedora installation instructions](http://wiki.ros.org/groovy/Installation/Fedora) for the most part.
After downloading the source and installing dependencies using rosdep, I am having an issue building the 'console_bridge' package.
Error message: "No rule to make target '/usr/lib64/lib64/libboost_system-mt.so.5', needed by '/home/username/ros_catkin_ws/devel_isolated/console_bridge/lib/libconsole_bridge.so'"
The library exists in /usr/lib64, but there is no /usr/lib64/lib64. How do I specify to catkin to look in /usr/lib64 and no /usr/lib64/lib64?
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
↧
What does source command actually do?
Hi,
I've read that $ source devel/setup.bash is the same as $ .devel/setup.bash and that it reads and executes setup.bash script in **the current shell**. Opposite to this $ ./devel/setup.bash what would run the same script but **launching new shell**.
So we want to run $ source command everytime we open new terminal.
Following questions are:
1. Its not clear to me what actually am I doing with the source command. Where can I find this bash file that contains these enviroment variables, so I can track what's going on?
2. Can I permanently add required enviromental variables so I don't have to do it manually every time I open a terminal? What are pros and cons of doing such.
3. I followed tutorial. Entered this:
$ source devel/setup.bash
$ echo $ROS_PACKAGE_PATH
Which gave me:
/home/username/Workspace/ros-workspace/tutorial_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
Then I entered this:
$ source /opt/ros/indigo/setup.bash
$ echo $ROS_PACKAGE_PATH
Which gave me:
/opt/ros/indigo/share:/opt/ros/indigo/stacks
Why such sequence erased my ~/home... path from bash??
↧