Skip to content

Valkyrie Source Code

Kody Ensley edited this page Apr 8, 2016 · 34 revisions

Pre-requisites:

  • SSH keys - Ensure you have a ssh key with github

  • You will need vcstool. To install:

    sudo apt-get install python-vcstool


Setup

Create and init a catkin workspace:

mkdir -p ~/val_indigo/src && cd ~/val_indigo/src
catkin_init_workspace

Download the workspace repository to the home directory:

git clone -b develop [email protected]:NASA-JSC-Robotics/val_workspaces.git ~/val_workspaces

Download Code

Choose from one of the four workspaces below:

Developer or Testbed Workspace:

vcs import --input ~/val_workspaces/public_developer_workspace.yaml ~/val_indigo/src/  

Headless Realtime Robot Workspace:

vcs import --input ~/val_workspaces/public_robot_workspace.yaml ~/val_indigo/src/  

Headless Vision Robot Workspace:

vcs import --input ~/val_workspaces/public_vision_workspace.yaml ~/val_indigo/src/  

Operator Workstation Workspace:

vcs import --input ~/val_workspaces/public_operator_workspace.yaml ~/val_indigo/src/  

Source your completed environment.

source ~/.bashrc

Final Steps

Run the following line to ensure all dependencies have been resolved.

cd ~/val_indigo
vcs custom --args checkout develop
rosdep install --from-paths src -i -y

This step is only needed for robot processors and testbeds. Do NOT do this step for operator workstations.
Move the Vanguard init file.

sudo cp ~/val_indigo/src/val_vanguard_config/upstart/val-vanguard.conf /etc/init/val-vanguard.conf

Troubleshooting

Getting authentication errors? Try the following:

If that didn't come back successful, check the docs: Test the Connection.