API review

Proposer: Tully Foote

Present at review:

  • List reviewers

Question / concerns / comments

This is focusing on the python install process: Please try out the new API below:

New Usage

Usage: rosinstall PATH [URI] [options]

Options:
  -h, --help            show this help message and exit
  -u, --update          (deprecated unused)
  -s SETUP_FILE, --setup_file=SETUP_FILE
                        create environment using an existing setup file
  -o, --overlay         (deprecated unused)
  -n, --nobuild         skip the build step for the ROS stack
  --rosdep-yes          Pass through --rosdep-yes to rosmake

Common Usage

  • Install boxturtle from source:

rosinstall ~/boxturtle http://www.ros.org/rosinstalls/boxturtle_base.rosinstall

This installs the boxturtle base variant.

  • Install pr2 varient over boxturtle

. ~/boxturtle/setup.sh
rosinstall ~/boxturtle_pr2 http://www.ros.org/rosinstalls/boxturtle_pr2_overlay.rosinstall

This overlays the pr2 variant of boxturtle on top of boxturtle base in ~/boxturtle

  • update the base boxturtle

rosinstall ~/boxturtle

This will update

  • Update the pr2 variant

rosinstall ~/boxturtle_pr2

This will update packages installed in the ~/boxturtle_pr2 directory

Installing

  • Install setuptools

sudo apt-get install python-setuptools
  • install rosinstall

sudo easy_install rosinstall
  • use rosinstall

rosinstall ~/rosinstall_test http://www.ros.org/rosinstalls/boxturtle_base.rosinstall

Updating

sudo easy_install -U rosinstall

Uninstalling rosinstall

Unfortunately there is no clean uninstall for easy_install. Below is karmic with python 2.6 it may need to change based on your version of python and distro.

As root:

rm /usr/local/bin/rosinstall

rm -rf /usr/local/lib/python2.6/dist-packages/ros*

cleanup: /usr/local/lib/python2.6/dist-packages/easy-install.pth

Meeting agenda

To be filled out by proposer based on comments gathered during API review period

Conclusion

Package status change mark change manifest)

  • /!\ Action items that need to be taken.

  • {X} Major issues that need to be resolved


Wiki: rosinstall/Reviews/2010-04-07_API_Review (last edited 2010-04-08 21:00:28 by TullyFoote)