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

pr2rp's profile - activity

2014-07-21 14:25:35 -0500 received badge  Famous Question (source)
2014-06-24 08:24:03 -0500 received badge  Famous Question (source)
2013-12-10 00:40:55 -0500 received badge  Notable Question (source)
2013-11-11 19:44:22 -0500 received badge  Popular Question (source)
2013-11-06 12:12:06 -0500 asked a question ar_pose : interprete output of 'ar_pose_marker' && transform

Hello.

I want to track a object that is moving inside a room and color the pixel in the cam-image, where the object has moved to. Instead of detect colors etc. I want to do this with markers from ar_pose.

My setup is a simple web_cam and one printed marker. I can start tracking and I do get values on the topic "ar_pose_marker". My problem is that I do not understand what the values "ar_pose_marker" is publishing to me. Yes, I did read that "The current pose of the marker relative to the camera." My interpretation is that the cam is located at (0,0.0) and the values are the offset to that origin (in world coordinates). Is that correct?

One example: Lets say my setup is running with a 640x480px image. When i move the marker to the most left: {ar_pose_marker}.x = -1.16 The the rightmost place {ar_pose_marker}.x = -0.75

This values change when i increase/decrease the distance: marker<->camera. Whay?

  • What does the values ^^ tell me?
  • How do I transform a detected marker position to a specific pixel position in the cam-image?

Thanks for any hints

2013-10-10 09:39:31 -0500 received badge  Notable Question (source)
2013-10-10 09:39:31 -0500 received badge  Popular Question (source)
2013-08-18 03:43:15 -0500 received badge  Student (source)
2013-08-06 12:48:14 -0500 commented question ERRORs: cannot create target "rosbuild_premsgsrvgen" and roslang package cannot be found

okay. The problem seems to be fixxed in the latest ros updates. For now everything seems working now. I'll keep investigating.

2013-07-24 13:09:00 -0500 received badge  Famous Question (source)
2013-07-21 02:09:01 -0500 received badge  Popular Question (source)
2013-07-21 02:09:01 -0500 received badge  Notable Question (source)
2013-07-20 03:37:25 -0500 asked a question ERRORs: cannot create target "rosbuild_premsgsrvgen" and roslang package cannot be found

Hello everybody.

I try to get fome openSource code I got from the Internet to work. I use "ros groovy" and I always get the error (when triing "rosmake" or "make eclipse-project"):

"CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target): add_custom_target cannot create target "rosbuild_premsgsrvgen" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/pr2rpVirt/code/ratslam_ros". See documentation for policy CMP0002 for more details."

[....]

"[rosbuild] WARNING: rosbuild_genmsg() was called, but the roslang package cannot be found. Message generation will NOT occur"

For finding the error I set up 2 VMs with ubuntu 12.10 (x64) with ros-fuerte and ros-groovy for the other. When using fuerte I do not get this error and everything works fine. With groovy this error occurs.

The code can be found here: http:// code.google.com/p/ratslam/wiki/RatSLAMROS (please delete space after http:// first)

Here is a trace:

1.) downloading source:

pr2rpVirt@ubuntu:~/code$ svn checkout http:// ratslam.googlecode.com/svn/branches/ratslam_ros ratslam_ros
A    ratslam_ros/license.txt
....
A    ratslam_ros/oxford_newcollege.launch
checked out, Revision 38.

2.) make eclipse-project

pr2rpVirt@ubuntu:~/code$ cd ratslam_ros/
pr2rpVirt@ubuntu:~/code/ratslam_ros$ make eclipse-project 
mv Makefile Makefile.ros
if ! (cmake -G"Eclipse CDT4 - Unix Makefiles" -Wno-dev . && rm Makefile && rm CMakeCache.txt && rm -rf CMakeFiles); then mv Makefile.ros Makefile && echo "**ERROR building Eclipse project!**" && false; fi
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Action Files:
[rosbuild] Building package ratslam_ros
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
-- Using CATKIN_DEVEL_PREFIX: /home/pr2rpVirt/code/ratslam_ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Using CATKIN_TEST_RESULTS_DIR: /home/pr2rpVirt/code/ratslam_ros/test_results
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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.70
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target):
  add_custom_target cannot create target "rosbuild_premsgsrvgen" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pr2rpVirt/code/ratslam_ros".  See documentation for policy
  CMP0002 for more details.
Call Stack (most recent call first):
  CMakeLists.txt:18 (rosbuild_init)


-- IRRLICHT_INCLUDE_DIR = /usr/include
-- IRRLICHT_LIBRARY ...
(more)
2013-07-20 03:35:49 -0500 asked a question ERRORs: cannot create target "rosbuild_premsgsrvgen" and roslang package cannot be found

Hello everybody.

I try to get fome openSource code I got from the Internet to work. I use "ros groovy" and I always get the error (when triing "rosmake" or "make eclipse-project"):

"CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target): add_custom_target cannot create target "rosbuild_premsgsrvgen" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/pr2rpVirt/code/ratslam_ros". See documentation for policy CMP0002 for more details."

[....]

"[rosbuild] WARNING: rosbuild_genmsg() was called, but the roslang package cannot be found. Message generation will NOT occur"

For finding the error I set up 2 VMs with ubuntu 12.10 (x64) with ros-fuerte and ros-groovy for the other. When using fuerte I do not get this error and everything works fine. With groovy this error occurs.

The code can be found here: http:// code.google.com/p/ratslam/wiki/RatSLAMROS (please delete space after http:// first)

Here is a trace:

1.) downloading source:

pr2rpVirt@ubuntu:~/code$ svn checkout http:// ratslam.googlecode.com/svn/branches/ratslam_ros ratslam_ros
A    ratslam_ros/license.txt
....
A    ratslam_ros/oxford_newcollege.launch
checked out, Revision 38.

2.) make eclipse-project

pr2rpVirt@ubuntu:~/code$ cd ratslam_ros/
pr2rpVirt@ubuntu:~/code/ratslam_ros$ make eclipse-project 
mv Makefile Makefile.ros
if ! (cmake -G"Eclipse CDT4 - Unix Makefiles" -Wno-dev . && rm Makefile && rm CMakeCache.txt && rm -rf CMakeFiles); then mv Makefile.ros Makefile && echo "**ERROR building Eclipse project!**" && false; fi
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Action Files:
[rosbuild] Building package ratslam_ros
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
-- Using CATKIN_DEVEL_PREFIX: /home/pr2rpVirt/code/ratslam_ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Using CATKIN_TEST_RESULTS_DIR: /home/pr2rpVirt/code/ratslam_ros/test_results
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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.70
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target):
  add_custom_target cannot create target "rosbuild_premsgsrvgen" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pr2rpVirt/code/ratslam_ros".  See documentation for policy
  CMP0002 for more details.
Call Stack (most recent call first):
  CMakeLists.txt:18 (rosbuild_init)


-- IRRLICHT_INCLUDE_DIR = /usr/include
-- IRRLICHT_LIBRARY ...
(more)
2013-07-20 03:32:34 -0500 asked a question ERRORs: cannot create target "rosbuild_premsgsrvgen" and roslang package cannot be found.

Hello everybody.

I try to get fome openSource code I got from the Internet to work. I use "ros groovy" and I always get the error (when triing "rosmake" or "make eclipse-project"):

"CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target): add_custom_target cannot create target "rosbuild_premsgsrvgen" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/pr2rpVirt/code/ratslam_ros". See documentation for policy CMP0002 for more details."

[....]

"[rosbuild] WARNING: rosbuild_genmsg() was called, but the roslang package cannot be found. Message generation will NOT occur"

For finding the error I set up 2 VMs with ubuntu 12.10 (x64) with ros-fuerte and ros-groovy for the other. When using fuerte I do not get this error and everything works fine. With groovy this error occurs.

The code can be found here: http:// code.google.com/p/ratslam/wiki/RatSLAMROS (delete space after http://

Here is a trace:

1.) downloading source:

pr2rpVirt@ubuntu:~/code$ svn checkout http:// ratslam.googlecode.com/svn/branches/ratslam_ros ratslam_ros
A    ratslam_ros/license.txt
....
A    ratslam_ros/oxford_newcollege.launch
checked out, Revision 38.

2.) make eclipse-project

pr2rpVirt@ubuntu:~/code$ cd ratslam_ros/
pr2rpVirt@ubuntu:~/code/ratslam_ros$ make eclipse-project 
mv Makefile Makefile.ros
if ! (cmake -G"Eclipse CDT4 - Unix Makefiles" -Wno-dev . && rm Makefile && rm CMakeCache.txt && rm -rf CMakeFiles); then mv Makefile.ros Makefile && echo "**ERROR building Eclipse project!**" && false; fi
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Action Files:
[rosbuild] Building package ratslam_ros
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
-- Using CATKIN_DEVEL_PREFIX: /home/pr2rpVirt/code/ratslam_ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Using CATKIN_TEST_RESULTS_DIR: /home/pr2rpVirt/code/ratslam_ros/test_results
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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.70
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:369 (add_custom_target):
  add_custom_target cannot create target "rosbuild_premsgsrvgen" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/home/pr2rpVirt/code/ratslam_ros".  See documentation for policy
  CMP0002 for more details.
Call Stack (most recent call first):
  CMakeLists.txt:18 (rosbuild_init)


-- IRRLICHT_INCLUDE_DIR = /usr/include
-- IRRLICHT_LIBRARY = /usr/lib ...
(more)
2013-07-16 11:32:00 -0500 received badge  Editor (source)
2013-07-16 11:26:51 -0500 asked a question roslang package cannot be found

Hi.

i try to complile some source code, but i always get an error:

-- IRRLICHT_INCLUDE_DIR = /usr/include
  -- IRRLICHT_LIBRARY = /usr/lib/x86_64-linux-gnu/libIrrlicht.so
  -- Found IRRLICHT: /usr/lib/x86_64-linux-gnu/libIrrlicht.so  
  -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
  -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
  -- Looking for gethostbyname
  -- Looking for gethostbyname - found
  -- Looking for connect
  -- Looking for connect - found
  -- Looking for remove
  -- Looking for remove - found
  -- Looking for shmat
  -- Looking for shmat - found
  -- Looking for IceConnectionNumber in ICE
  -- Looking for IceConnectionNumber in ICE - found
  -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
  [rosbuild] WARNING: rosbuild_genmsg() was called, but the roslang package cannot be found.  Message generation will NOT occur
  CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:790 (add_dependencies):
    add_dependencies Adding dependency to non-existent target:
    rosbuild_precompile
  Call Stack (most recent call first):
    CMakeLists.txt:30 (rosbuild_genmsg)

How can I fix that problem?

Thx!

NB.:

When i run "rosmake" a second time i get this error:

pr2rp@pr2rp-lx:~/code/rats_ros$ rosmake
[ rosmake ] rosmake starting...                                                                                                                                                                                                                                                      
[ rosmake ] No package or stack specified.  And current directory 'rats_ros' is not a package name or stack name.                                                                                                                                                                 
[ rosmake ] Packages requested are: []                                                                                                                                                                                                                                               
[ rosmake ] Logging to directory /home/pr2rp/.ros/rosmake/rosmake_output-20130716-232713                                                                                                                                                                                            
[ rosmake ] Expanded args [] to:
[]                                                                                                                                                                                                                                                  
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.                                                                                                                                                                                                   
pr2rp@robot-lx:~/code/rats_ros$ rosmake
[ rosmake ] rosmake starting...                                                                                                                                                                                                                                                      
[ rosmake ] No package or stack specified.  And current directory 'rats_ros' is not a package name or stack name.                                                                                                                                                                 
[ rosmake ] Packages requested are: []                                                                                                                                                                                                                                               
[ rosmake ] Logging to directory /home/pr2rp/.ros/rosmake/rosmake_output-20130716-232719                                                                                                                                                                                            
[ rosmake ] Expanded args [] to:
[]                                                                                                                                                                                                                                                  
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

When i do a "rospack find" i get the correct path /home/pr2rp/code/rats_ros