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

Revision history [back]

Hi,

If you don't need the latest version of our stacks, you can always use the available electric packages.

If you need something up to date, you'll have to do a source install using rosinstall or rosws. Here is a rosinstall file you can use:

- bzr:
    uri: 'lp:sr-ros-interface'
    local-name: shadow_robot

- bzr:
    uri: 'lp:sr-ros-interface-ethercat'
    local-name: shadow_robot_ethercat

- bzr:
    uri: 'lp:sr-config'
    local-name: sr_config

- bzr:
    uri: 'lp:sr-visualization'
    local-name: sr_visualization

- bzr:
    uri: 'lp:sr-teleop'
    local-name: sr_teleop

Hi,

If you don't need the latest version of our stacks, you can always use the available electric packages.

If you need something up to date, you'll have to do a source install using rosinstall or rosws. Here is a rosinstall file you can use:

- bzr:
    uri: 'lp:sr-ros-interface'
    local-name: shadow_robot

- bzr:
    uri: 'lp:sr-ros-interface-ethercat'
    local-name: shadow_robot_ethercat

- bzr:
    uri: 'lp:sr-config'
    local-name: sr_config

- bzr:
    uri: 'lp:sr-visualization'
    local-name: sr_visualization

- bzr:
    uri: 'lp:sr-teleop'
    local-name: sr_teleop

Here are a few commands to get you started with this rosinstall file. Copy the code above into a file (let's say /tmp/shadow_robot.rosinstall).

Now let's initialise a ROS workspace (we'll create it in ~/shadow):

mkdir ~/shadow
source /opt/ros/electric/setup.bash
rosws init ~/shadow /opt/ros/electric

You now have an empty workspace, we'll add the rosinstall file to it and fetch the latest revision of the code:

source ~/shadow/setup.bash
rosws merge /tmp/shadow_robot.rosinstall
rosws up

You should now have a workspace containing the different stacks you need. Don't forget to source the correct setup.bash (you should probably add the line below to the ~/.bashrc)

source ~/shadow/setup.bash