turtle_teleop package install

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

turtle_teleop package install

ibwood
Hi all!

I am a new ROS user on Ubuntu Linux 10.04 and I am just running through the tutorials. I am having some trouble with turtlesim because I am missing the turtle_teleop package and contents.. I have tried to install it but here's what happens when I type the dependency install and the make package commands into the terminal:

Install:

$ rosdep install turtle_teleop rxtools
Warning: could not identify ['turtle_teleop'] as a package
executing this script:
 set -o errexit
#No Packages to install

Command:

$ rosmake turtle_teleop roscpp_tutorials rospy_tutorials rxtools
[ rosmake ] Packages requested are: ['turtle_teleop', 'roscpp_tutorials', 'rospy_tutorials', 'rxtools']
[ rosmake ] Logging to directory
[ rosmake ] /home/ian/.ros/rosmake/rosmake_output-20100527-143059
[ rosmake ] Expanded args ['turtle_teleop', 'roscpp_tutorials', 'rospy_tutorials', 'rxtools'] to:
['roscpp_tutorials', 'rospy_tutorials', 'rxtools']
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['turtle_teleop']
[ rosmake ] Checking rosdeps compliance for packages turtle_teleop, roscpp_tutorials, rospy_tutorials, rxtools.  This may take a few seconds.
[ rosmake ] rosdep check failed to find system dependencies: rosdep ABORTED: Cannot location installation of stack ros_tutorials. ROS_ROOT[/home/ian/ros/ros] ROS_PACKAGE_PATH[/home/ian/ros/stacks]
[ rosmake ] Prebuilding rospack
[ rosmake ] Prebuilding gtest
[ rosmake ] Prebuilding genmsg_cpp
[ rosmake ] [ 2 of 20  Completed ]
[rosmake-0] >>> roslang >>> [ make ]
[rosmake-0] <<< roslang <<<  No Makefile in package roslang

[ rosmake ] [ 2 of 20  Completed ]
[rosmake-1] >>> roslib >>> [ make ]
[ rosmake ] [ 3 of 20  Completed ]
[rosmake-0] >>> xmlrpcpp >>> [ make ]
[rosmake-0] <<< xmlrpcpp <<< [PASS] [ 0.48 seconds ]
[ rosmake ] [ 4 of 20  Completed ]
[rosmake-0] >>> std_srvs >>> [ make ]
[rosmake-0] <<< std_srvs <<< [PASS] [ 0.60 seconds ]
[ rosmake ] [ 5 of 20  Completed ]
[rosmake-0] >>> pycrypto >>> [ make ]
[rosmake-1] <<< roslib <<< [PASS] [ 1.14 seconds ]
[ rosmake ] [ 6 of 20  Completed ]
[rosmake-1] >>> rosconsole >>> [ make ]
[rosmake-0] <<< pycrypto <<< [PASS] [ 0.02 seconds ]
[ rosmake ] [ 7 of 20  Completed ]
[rosmake-0] >>> std_msgs >>> [ make ]
[rosmake-1] <<< rosconsole <<< [PASS] [ 0.66 seconds ]
[ rosmake ] [ 8 of 20  Completed ]
[rosmake-1] >>> roscpp >>> [ make ]
[rosmake-1] <<< roscpp <<< [PASS] [ 1.35 seconds ]
[ rosmake ] [ 9 of 20  Completed ]
[rosmake-1] >>> rospy >>> [ make ]
[rosmake-1] <<< rospy <<< [PASS] [ 0.38 seconds ]
[ rosmake ] [ 10 of 20  Completed ]
[rosmake-1] >>> paramiko >>> [ make ]
[rosmake-1] <<< paramiko <<< [PASS] [ 0.02 seconds ]
[ rosmake ] [ 11 of 20  Completed ]
[rosmake-1] >>> rosout >>> [ make ]
[rosmake-1] <<< rosout <<< [PASS] [ 0.47 seconds ]
[ rosmake ] [ 12 of 20  Completed ]
[rosmake-1] >>> roslaunch >>> [ make ]
[rosmake-1] <<< roslaunch <<<  No Makefile in package roslaunch

[ rosmake ] [ 13 of 20  Completed ]
[rosmake-1] >>> rostest >>> [ make ]
[rosmake-1] <<< rostest <<< [PASS] [ 0.41 seconds ]
[ rosmake ] [ 14 of 20  Completed ]
[rosmake-1] >>> wxswig >>> [ make ]
[rosmake-1] <<< wxswig <<< [PASS] [ 0.02 seconds ]
[ rosmake ] [ 15 of 20  Completed ]
[rosmake-1] >>> wxPython_swig_interface >>> [ make ]
[rosmake-1] <<< wxPython_swig_interface <<<  No Makefile in package wxPython_swig_interface

[ rosmake ] [ 16 of 20  Completed ]
[rosmake-1] >>> rxtools >>> [ make ]
[rosmake-0] <<< std_msgs <<< [PASS] [ 3.55 seconds ]
[ rosmake ] [ 17 of 20  Completed ]
[rosmake-0] >>> roscpp_tutorials >>> [ make ]
[rosmake-0] <<< roscpp_tutorials <<< [PASS] [ 1.20 seconds ]
[ rosmake ] [ 18 of 20  Completed ]
[rosmake-0] >>> rospy_tutorials >>> [ make ]
[rosmake-1] <<< rxtools <<< [PASS] [ 1.41 seconds ]
[rosmake-0] <<< rospy_tutorials <<< [PASS] [ 0.88 seconds ]
[ rosmake ] Summary output to directory
[ rosmake ] /home/ian/.ros/rosmake/rosmake_output-20100527-143059
[ rosmake ] WARNING: Rosdep did not detect the following system dependencies as installed: rosdep ABORTED: Cannot location installation of stack ros_tutorials. ROS_ROOT[/home/ian/ros/ros] ROS_PACKAGE_PATH[/home/ian/ros/stacks] Consider using --rosdep-install option or `rosdep install roscpp_tutorials rospy_tutorials rxtools`
[ rosmake ] WARNING: Skipped command line arguments: ['turtle_teleop'] because they could not be resolved to a stack name or a package name.

Any help on this matter would be strongly appreciated. Thanks!

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

Blaise Gassend
Hi Ian,

I have also bumped into that problem, and opened a ticket on it:
https://code.ros.org/trac/ros/ticket/2743

I expect that it will get fixed pretty quick, but in the meantime, you
could try to download ros_tutorials from svn and add it to your
ROS_PACKAGE_PATH:

svn co \
  https://code.ros.org/svn/ros/stacks/ros_tutorials/branches/boxturtle \
  ros_tutorials
export ROS_PACKAGE_PATH=`pwd`/ros_tutorials:$ROS_PACKAGE_PATH
rosmake turtle_teleop

(Not tested, but this should be a step in the right direction.)

On Thu, 2010-05-27 at 11:35 -0700, ibwood wrote:

> Hi all!
>
> I am a new ROS user on Ubuntu Linux 10.04 and I am just running through the
> tutorials. I am having some trouble with turtlesim because I am missing the
> turtle_teleop package and contents.. I have tried to install it but here's
> what happens when I type the dependency install and the make package
> commands into the terminal:
>
> Install:
>
> $ rosdep install turtle_teleop rxtools
> Warning: could not identify ['turtle_teleop'] as a package
> executing this script:
>  set -o errexit
> #No Packages to install
>
> Command:
>
> $ rosmake turtle_teleop roscpp_tutorials rospy_tutorials rxtools
> [ rosmake ] Packages requested are: ['turtle_teleop', 'roscpp_tutorials',
> 'rospy_tutorials', 'rxtools']
> [ rosmake ] Logging to directory
> [ rosmake ] /home/ian/.ros/rosmake/rosmake_output-20100527-143059
> [ rosmake ] Expanded args ['turtle_teleop', 'roscpp_tutorials',
> 'rospy_tutorials', 'rxtools'] to:
> ['roscpp_tutorials', 'rospy_tutorials', 'rxtools']
> [ rosmake ] WARNING: The following args could not be parsed as stacks or
> packages: ['turtle_teleop']
> [ rosmake ] Checking rosdeps compliance for packages turtle_teleop,
> roscpp_tutorials, rospy_tutorials, rxtools.  This may take a few seconds.
> [ rosmake ] rosdep check failed to find system dependencies: rosdep ABORTED:
> Cannot location installation of stack ros_tutorials.
> ROS_ROOT[/home/ian/ros/ros] ROS_PACKAGE_PATH[/home/ian/ros/stacks]
> [ rosmake ] Prebuilding rospack
> [ rosmake ] Prebuilding gtest
> [ rosmake ] Prebuilding genmsg_cpp
> [ rosmake ] [ 2 of 20  Completed ]
> [rosmake-0] >>> roslang >>> [ make ]
> [rosmake-0] <<< roslang <<<  No Makefile in package roslang
>
> [ rosmake ] [ 2 of 20  Completed ]
> [rosmake-1] >>> roslib >>> [ make ]
> [ rosmake ] [ 3 of 20  Completed ]
> [rosmake-0] >>> xmlrpcpp >>> [ make ]
> [rosmake-0] <<< xmlrpcpp <<< [PASS] [ 0.48 seconds ]
> [ rosmake ] [ 4 of 20  Completed ]
> [rosmake-0] >>> std_srvs >>> [ make ]
> [rosmake-0] <<< std_srvs <<< [PASS] [ 0.60 seconds ]
> [ rosmake ] [ 5 of 20  Completed ]
> [rosmake-0] >>> pycrypto >>> [ make ]
> [rosmake-1] <<< roslib <<< [PASS] [ 1.14 seconds ]
> [ rosmake ] [ 6 of 20  Completed ]
> [rosmake-1] >>> rosconsole >>> [ make ]
> [rosmake-0] <<< pycrypto <<< [PASS] [ 0.02 seconds ]
> [ rosmake ] [ 7 of 20  Completed ]
> [rosmake-0] >>> std_msgs >>> [ make ]
> [rosmake-1] <<< rosconsole <<< [PASS] [ 0.66 seconds ]
> [ rosmake ] [ 8 of 20  Completed ]
> [rosmake-1] >>> roscpp >>> [ make ]
> [rosmake-1] <<< roscpp <<< [PASS] [ 1.35 seconds ]
> [ rosmake ] [ 9 of 20  Completed ]
> [rosmake-1] >>> rospy >>> [ make ]
> [rosmake-1] <<< rospy <<< [PASS] [ 0.38 seconds ]
> [ rosmake ] [ 10 of 20  Completed ]
> [rosmake-1] >>> paramiko >>> [ make ]
> [rosmake-1] <<< paramiko <<< [PASS] [ 0.02 seconds ]
> [ rosmake ] [ 11 of 20  Completed ]
> [rosmake-1] >>> rosout >>> [ make ]
> [rosmake-1] <<< rosout <<< [PASS] [ 0.47 seconds ]
> [ rosmake ] [ 12 of 20  Completed ]
> [rosmake-1] >>> roslaunch >>> [ make ]
> [rosmake-1] <<< roslaunch <<<  No Makefile in package roslaunch
>
> [ rosmake ] [ 13 of 20  Completed ]
> [rosmake-1] >>> rostest >>> [ make ]
> [rosmake-1] <<< rostest <<< [PASS] [ 0.41 seconds ]
> [ rosmake ] [ 14 of 20  Completed ]
> [rosmake-1] >>> wxswig >>> [ make ]
> [rosmake-1] <<< wxswig <<< [PASS] [ 0.02 seconds ]
> [ rosmake ] [ 15 of 20  Completed ]
> [rosmake-1] >>> wxPython_swig_interface >>> [ make ]
> [rosmake-1] <<< wxPython_swig_interface <<<  No Makefile in package
> wxPython_swig_interface
>
> [ rosmake ] [ 16 of 20  Completed ]
> [rosmake-1] >>> rxtools >>> [ make ]
> [rosmake-0] <<< std_msgs <<< [PASS] [ 3.55 seconds ]
> [ rosmake ] [ 17 of 20  Completed ]
> [rosmake-0] >>> roscpp_tutorials >>> [ make ]
> [rosmake-0] <<< roscpp_tutorials <<< [PASS] [ 1.20 seconds ]
> [ rosmake ] [ 18 of 20  Completed ]
> [rosmake-0] >>> rospy_tutorials >>> [ make ]
> [rosmake-1] <<< rxtools <<< [PASS] [ 1.41 seconds ]
> [rosmake-0] <<< rospy_tutorials <<< [PASS] [ 0.88 seconds ]
> [ rosmake ] Summary output to directory
> [ rosmake ] /home/ian/.ros/rosmake/rosmake_output-20100527-143059
> [ rosmake ] WARNING: Rosdep did not detect the following system dependencies
> as installed: rosdep ABORTED: Cannot location installation of stack
> ros_tutorials. ROS_ROOT[/home/ian/ros/ros]
> ROS_PACKAGE_PATH[/home/ian/ros/stacks] Consider using --rosdep-install
> option or `rosdep install roscpp_tutorials rospy_tutorials rxtools`
> [ rosmake ] WARNING: Skipped command line arguments: ['turtle_teleop']
> because they could not be resolved to a stack name or a package name.
>
> Any help on this matter would be strongly appreciated. Thanks!
>
> -Ian


_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

ibwood
Thanks Blaise,

That fixed my turtle_teleop problem, but now i have an error with the turtle_teleop_key command (to control the turtle). It says it couldn't find an executable named turtle_teleop_key below the package path to turtle_teleop. This doesn't make sense because I have the turtle_teleop_key manifest in the turtle_teleop package (note: it is a cpp file).

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

tfoote
Ian, 
You probably need to compile turtle_teleop_key.  

To install the tutorials I recommend using the instructions at the end of the installation pages.  http://www.ros.org/wiki/ROS/Installation/Ubuntu/Deb#ROS.2BAC8-Installation.2BAC8-PostInstall.Tutorials  It's the same at the end of all the installation pages.  

Tully

On Thu, May 27, 2010 at 1:46 PM, ibwood <[hidden email]> wrote:

Thanks Blaise,

That fixed my turtle_teleop problem, but now i have an error with the
turtle_teleop_key command (to control the turtle). It says it couldn't find
an executable named turtle_teleop_key below the package path to
turtle_teleop. This doesn't make sense because I have the turtle_teleop_key
manifest in the turtle_teleop package (note: it is a cpp file).

-Ian
--
View this message in context: http://ros-users.122217.n3.nabble.com/turtle-teleop-package-install-tp849212p849578.html
Sent from the ROS-Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
ros-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ros-users
_______________________________________________



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
[hidden email]
(650) 475-2827

_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

ibwood
Yeah I have already downloaded the tutorials. Compiling the code makes sense but i'm missing a few header files. Velocity.h, signal.h, termios.h, and stdio.h. Without them the program will not compile properly but I'm not sure where to get these files.. one would think that they would install with the tutorials but i guess not.

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

tfoote
Ian, 
Velocity.h is an autogenerated file in the turtlesim package.  You need to make sure that turtlesim was compiled.  Did you rosmake whatever you're trying to compile?

The other headers are system headers in libc6-dev on debian systems.  Do you not have all the ROS prerequisites installed?
Tully

On Thu, May 27, 2010 at 2:41 PM, ibwood <[hidden email]> wrote:

Yeah I have already downloaded the tutorials. Compiling the code makes sense
but i'm missing a few header files. Velocity.h, signal.h, termios.h, and
stdio.h. Without them the program will not compile properly but I'm not sure
where to get these files.. one would think that they would install with the
tutorials but i guess not.

-Ian
--
View this message in context: http://ros-users.122217.n3.nabble.com/turtle-teleop-package-install-tp849212p849718.html
Sent from the ROS-Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
ros-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ros-users
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
[hidden email]
(650) 475-2827

_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

ibwood
Tully, I have responded inline.

Tully Foote wrote
Ian,
Velocity.h is an autogenerated file in the turtlesim package.  You need to
make sure that turtlesim was compiled.  Did you rosmake whatever you're
trying to compile?
I have tried to compile turtle_teleop using rosmake but these errors come up:

 CMake Error: The current CMakeCache.txt directory /home/ian/ros/ros/ros_tutorials/turtlesim/build/CMakeCache.txt is different than the directory /home/ian/ros/ros/ros-pkg/ros_tutorials/turtlesim/build where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
  CMake Error: The source "/home/ian/ros/ros/ros_tutorials/turtlesim/CMakeLists.txt" does not match the source "/home/ian/ros/ros/ros-pkg/ros_tutorials/turtlesim/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

Tully Foote wrote
The other headers are system headers in libc6-dev on debian systems.  Do you
not have all the ROS prerequisites installed?
It said in the tutorial to install boxturtle-base, but no directions were provided. I would assume I could get the Velocity.h header file from here? It was the only prerequisite to install.

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

Blaise Gassend
Just delete the offending CMakeCache.txt files and reboot.

On Thu, 2010-05-27 at 15:41 -0700, ibwood wrote:

> Tully, I have responded inline.
>
>
> Tully Foote wrote:
> >
> > Ian,
> > Velocity.h is an autogenerated file in the turtlesim package.  You need to
> > make sure that turtlesim was compiled.  Did you rosmake whatever you're
> > trying to compile?
> >
>
> I have tried to compile turtle_teleop using rosmake but these errors come
> up:
>
>  CMake Error: The current CMakeCache.txt directory
> /home/ian/ros/ros/ros_tutorials/turtlesim/build/CMakeCache.txt is different
> than the directory /home/ian/ros/ros/ros-pkg/ros_tutorials/turtlesim/build
> where CMackeCache.txt was created. This may result in binaries being created
> in the wrong place. If you are not sure, reedit the CMakeCache.txt
>   CMake Error: The source
> "/home/ian/ros/ros/ros_tutorials/turtlesim/CMakeLists.txt" does not match
> the source
> "/home/ian/ros/ros/ros-pkg/ros_tutorials/turtlesim/CMakeLists.txt" used to
> generate cache.  Re-run cmake with a different source directory.
>
>
> Tully Foote wrote:
> >
> > The other headers are system headers in libc6-dev on debian systems.  Do
> > you
> > not have all the ROS prerequisites installed?
> >
>
> It said in the tutorial to install boxturtle-base, but no directions were
> provided. I would assume I could get the Velocity.h header file from here?
> It was the only prerequisite to install.
>
> -Ian
>


_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

ibwood
Hmm.. there were too many of those files to tell which ones were unnecessary so i just started over. I'm seeing something different when I attempt to install the package dependencies for turtlesim:

$ rosdep install turtlesim
Traceback (most recent call last):
  File "/home/ian/ros/ros/bin/rosdep", line 35, in <module>
    sys.exit(rosdep.main())
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/main.py", line 141, in main
    r.install(options.include_duplicates, options.default_yes);
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/core.py", line 366, in install
    script = self.generate_script(include_duplicates, default_yes)
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/core.py", line 329, in generate_script
    native_packages, scripts = self.get_packages_and_scripts()
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/core.py", line 301, in get_packages_and_scripts
    rdlp = RosdepLookupPackage(self.osi.get_name(), self.osi.get_version(), p, yc)
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/core.py", line 166, in __init__
    self.load_for_package(package, yaml_cache.rp)
  File "/home/ian/ros/ros/tools/rosdep/src/rosdep/core.py", line 192, in load_for_package
    paths.add( os.path.join(roslib.stacks.get_stack_dir(stack), "rosdep.yaml"))
  File "/home/ian/ros/ros/core/roslib/src/roslib/stacks.py", line 152, in get_stack_dir
    raise InvalidROSStackException("Cannot location installation of stack %s. ROS_ROOT[%s] ROS_PACKAGE_PATH[%s]"%(stack, env[ROS_ROOT], env.get(ROS_PACKAGE_PATH, '')))
roslib.stacks.InvalidROSStackException: Cannot location installation of stack ros_tutorials. ROS_ROOT[/home/ian/ros/ros] ROS_PACKAGE_PATH[/home/ian/ros/stacks]

It looks like the location of the ros_tutorials stack is incorrect. I would assume I have to move it into the stacks folder. Am I right? Thanks for all the help so far Tully and Blaise :)

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

ibwood
Okay, so I did just that. I copied the file ros_tutorials into the stacks folder and everything is running smoothly. Thanks again guys!

-Ian
Reply | Threaded
Open this post in threaded view
|

Re: turtle_teleop package install

tfoote
Ian, 
Glad to hear you're working.  If you didn't want to do that, the other option is to add the directory into which you put ros_tutorials into your ROS_PACKAGE_PATH

like this:
export ROS_PACKAGE_PATH=/home/ian/ros/stacks:/path/to/ros_tutorials

Tully

On Fri, May 28, 2010 at 9:47 AM, ibwood <[hidden email]> wrote:

Okay, so I did just that. I copied the file ros_tutorials into the stacks
folder and everything is running smoothly. Thanks again guys!

-Ian
--
View this message in context: http://ros-users.122217.n3.nabble.com/turtle-teleop-package-install-tp849212p852428.html
Sent from the ROS-Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
ros-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ros-users
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
[hidden email]
(650) 475-2827

_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users