Skip to content

uf-mil-archive/getting-started

Repository files navigation

  1. Before you start

request to join the mailing list, put your possible meeting times in the poll, and request access to the to-do list.

If anything is unclear or you run into a problem following this tutorial, ask a question on the mailing list. If you find a problem with this documentation, submit a bug report using the issue tracker on this page.

  1. Install Ubuntu

Only Ubuntu 14.04.1 (Trusty) is supported. The 64-bit version is strongly recommended.

Upgrade an existing install of Ubuntu or download a CD image from http://releases.ubuntu.com/trusty/.

Using a VM is not recommended - it requires a much more powerful system and causes problems with 3D graphics.

  1. Install ROS Indigo

Follow all the instructions at http://wiki.ros.org/indigo/Installation/Ubuntu. Make sure to do the "Desktop-Full Install," as opposed to the "Desktop Install" or "ROS-Base."

  1. Make workspace

Follow all the instructions at http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment.

The linked tutorial omits this, but you have to add the following to your .bashrc, after source /opt/ros/indigo/setup.bash (which was added during the tutorial) in order to finish setting up your workspace:

source ~/catkin_ws/devel/setup.bash

After adding those lines to your .bashrc file, open a new shell so the settings take effect.

  1. Install required packages and add required repositories

Read the README in each of the ROS package repositories at https://github.com/uf-mil.

  1. https://github.com/uf-mil/rawgps-tools
  2. https://github.com/uf-mil/software-common
  3. https://github.com/uf-mil/hardware-common
  4. https://github.com/uf-mil/SubjuGator
  5. https://github.com/uf-mil/PropaGator
  6. https://github.com/txros/txros

The repositories have several dependencies and provide the commands you need to run to install them.

  1. Add uf-mil repositories

Run:

roscd && cd ../src && git clone git@github.com:uf-mil/uf-mil.git

If this fails with a "Permission denied" error, you need to create an SSH key and add it to your GitHub account.

Then, go into the uf-mil directory and type ./pull to pull the newest commits.

Add source ~/catkin_ws/src/uf-mil/bashrc to the end of ~/.bashrc and open a new shell so the settings take effect.

  1. Run catkin_make

cm

This command is defined in ~/catkin_ws/src/uf-mil/bashrc and should complete without any errors if everything works.

  1. Complete

At this point, you can start a roscore and try running the SubjuGator simulator with:

roscore &
rosrun subsim sim

The simulator's user interface is documented in the README file in its package directory.

Look at the to-do list (linked at the top) to find something to work on.

  1. Modemmanager

Modemmanager can cause issues with using the usb ports so remove it with the following command:

sudo apt-get remove modemmanager
  1. gitconfig

Running git config --global merge.conflictstyle diff3 before looking at a merge conflict shows the changes relative to the common ancestor, making it possible to resolve conflicts more easily. If you already started a merge, you can run git merge --abort to abort it and then try again.

Updating uf-mil repositories

Go into ~/catkin_ws/src/uf-mil and type ./pull

About

Tutorials for starting to work with ROS and uf-mil software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published