uf-mil-archive / PropaGator

ROS packages specific to the PropaGator robot
9 stars 11 forks source link

PropaGator

This is the repository for the University of Florida's Propagator Autonomous Robot. You need Ubuntu 14.04, and ROS Indigo. For some installation instructions, see github.com/uf-mil/getting_started

Install

This repository contains ROS packages specific to the PropaGator robot. This repository depends on uf-mil's software-common and hardware-common repositories.

This repository also depends on socat, installable with:

sudo apt-get install socat

and autoreconf, installable with:

sudo apt-get install autoconf

This repository also depends on the lms1xx package, installable with:

roscd && cd ~/catkin_ws/src && git clone https://github.com/RCPRG-ros-pkg/RCPRG_laser_drivers && cd RCPRG_laser_drivers && git submodule init && git submodule update

Source the PropaGator bashrc file into your .bashrc

sudo echo "source ~/catkin_ws/src/uf-mil/PropaGator/bashrc" >> ~/.bashrc

Getting Started

All of this is written for Ubuntu 14.04 (Trusty Tahr) and ROS Indigo (ros.org/install) - get the desktop-full version. First, follow this tutorial for setting up git. Then follow the first three ROS tutorials, and make your catkin workspace. A good linux tutorial is here

If you would like to see the ROS commands these terminal commands correspond to look in the PropaGator bashrc file

Everything below this point assumes you have sourced the bashrc file above

Simulators

To start the PropaGator simulator run 'sim' from your terminal If you get an error it is typically a problem that happens everytime you update Ubuntu. Fix with:

rm -fr /tmp/pyode-build && mkdir -p /tmp/pyode-build && cd /tmp/pyode-build && sudo apt-get build-dep -y python-pyode && sudo apt-get remove -y python-pyode && apt-get source --compile python-pyode && sudo dpkg -i python-pyode_*.deb

Run PropaGator

To start servos and actuators that must be started for movement run 'run' from your terminal

To start Azi Drive thruster mapper, visualizer, and azi drive waypoint handler run 'azi' from your terminal

To start the position controller that uses Azi Drive run 'controller' from your terminal (this is the part of the control system that controls and send a position and orientation to azi drive for the boat as it moves from one point to another)

To start the odometry and gps run 'nav' from you terminal

Kill Handling

TODO