Problems starting Rviz

asked 2014-07-31 02:28:59 -0500

schultza gravatar image

Hey,

i tried to follow this Using A URDF In Gazebo Tutorial, but in the beginning i couldnt continue because my rviz crashes all the time. I postet as code all the steps which are leading to the error incl. creating a new plain workspace and so on can you to tell me where my problem is?

schultza@Andreas:~$ source /opt/ros/indigo/setup.bash
schultza@Andreas:~$ mkdir -p ~/catkin_ws_new/src
schultza@Andreas:~$ cd ~/catkin_ws_new/src
schultza@Andreas:~/catkin_ws_new/src$ catkin_init_workspace
Creating symlink "/home/schultza/catkin_ws_new/src/CMakeLists.txt" pointing to "/opt/ros/indigo/share/catkin/cmake/toplevel.cmake"
schultza@Andreas:~/catkin_ws_new/src$ cd ..
schultza@Andreas:~/catkin_ws_new$ catkin_make
Base path: /home/schultza/catkin_ws_new
Source space: /home/schultza/catkin_ws_new/src
Build space: /home/schultza/catkin_ws_new/build
Devel space: /home/schultza/catkin_ws_new/devel
Install space: /home/schultza/catkin_ws_new/install
####
#### Running command: "cmake /home/schultza/catkin_ws_new/src -DCATKIN_DEVEL_PREFIX=/home/schultza/catkin_ws_new/devel -DCMAKE_INSTALL_PREFIX=/home/schultza/catkin_ws_new/install" in "/home/schultza/catkin_ws_new/build"
####
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- 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/schultza/catkin_ws_new/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/schultza/catkin_ws_new/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.9
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/schultza/catkin_ws_new/build
####
#### Running command: "make -j4 -l4" in "/home/schultza/catkin_ws_new/build"
####
schultza@Andreas:~/catkin_ws_new$ source devel/setup.bash
schultza@Andreas:~/catkin_ws_new$ cd src
schultza@Andreas:~/catkin_ws_new/src$ git clone https://github.com/ros-simulation/gazebo_ros_demos.git
Cloning into 'gazebo_ros_demos'...
remote: Counting objects: 193, done.
remote: Total 193 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (193/193), 57.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (86/86), done.
Checking connectivity... done.
schultza@Andreas:~/catkin_ws_new/src$ cd ..
schultza@Andreas:~/catkin_ws_new$ catkin_make
Base path: /home/schultza/catkin_ws_new
Source space: /home/schultza/catkin_ws_new/src
Build space: /home/schultza/catkin_ws_new/build
Devel space: /home/schultza/catkin_ws_new/devel
Install space: /home/schultza/catkin_ws_new/install
####
#### Running command: "cmake /home/schultza/catkin_ws_new/src -DCATKIN_DEVEL_PREFIX=/home/schultza/catkin_ws_new/devel -DCMAKE_INSTALL_PREFIX=/home/schultza/catkin_ws_new/install ...
(more)
edit retag flag offensive close merge delete

Comments

Is your joint_state_publisher up-tp-date? Did you install latest updates?

BennyRe gravatar image BennyRe  ( 2014-07-31 03:57:05 -0500 )edit

Sry but how can I check this? pretty new to everything :(

schultza gravatar image schultza  ( 2014-07-31 04:37:02 -0500 )edit

sudo apt-get upgrade

BennyRe gravatar image BennyRe  ( 2014-07-31 05:13:01 -0500 )edit

ah ok, I thought i should update especially the joint_state_publisher, but yes i did this already

schultza gravatar image schultza  ( 2014-07-31 05:29:55 -0500 )edit