wg-perception / object_recognition_ros

ROS components usable byt the object_recognition pipeline
16 stars 31 forks source link

add rosinstaller for installing all required packages #5

Closed bit-pirate closed 11 years ago

bit-pirate commented 11 years ago

Would make the installation progress easier.

vrabaud commented 11 years ago

you mean a .rosinstall file ? I removed it thinking the instructions here were easier: http://wg-perception.github.io/object_recognition_core/install.html#install (as it's just cut and paste). I never used .rosinstall. rosws is what I should look at right ?

bit-pirate commented 11 years ago

Well, since it's catkin it would be wstool, but it's nearly the same.

The installation instructions are okay. But for lazy people like me, a rosinstall file would be even better. ;-) What about this one:

- git: 
    local-name: object_recognition_core
    uri: 'https://github.com/wg-perception/object_recognition_core'
    version: master
- git:
    local-name: capture
    uri: 'https://github.com/wg-perception/capture'
    version: master
- git:
    local-name: reconstruction
    uri: 'https://github.com/wg-perception/reconstruction'
    version: master
- git: 
    local-name: linemod
    uri: 'https://github.com/wg-perception/linemod'
    version: master
- git: 
    local-name: ork_renderer
    uri: 'https://github.com/wg-perception/ork_renderer'
    version: master
- git: 
    local-name: tabletop
    uri: 'https://github.com/wg-perception/tabletop'
    version: master
- git:
    local-name: tod
    uri: 'https://github.com/wg-perception/tod'
    version: master
- git:
    local-name: transparent_objects
    uri: 'https://github.com/wg-perception/transparent_objects'
    version: master
- git:
    local-name: object_recognition_msgs
    uri: 'https://github.com/wg-perception/object_recognition_msgs'
    version: master
- git:
    local-name: object_recognition_ros
    uri: 'https://github.com/wg-perception/object_recognition_ros
    version: master
bit-pirate commented 11 years ago

PS: I had to install a few more packages then specified in the instructions. Maybe just add a *rosdep install --from-paths src -y -i. That will pull in all the system dependencies and (catkinized) ros packages needed.

I believe the whole process could look like this:

$ source /opt/ros/groovy/setup.bash
$ mkdir -p object_recognition_workspace/catkin_ws && cd object_recognition_workspace/catkin_ws
$ wstool init src http://raw.github.com/wg-perception/object_recognition/.../new_rosinstaller.rosinstall
$ cd src && wstool update -j8
$ cd .. && rosdep install --from-paths src -i -y
$ catkin_make
$ source devel/setup.bash

The above hasn't been tested. Just writing this out of my head.