Giter Club home page Giter Club logo

avc-ros's Introduction

AVC-ROS

ROS packages required to control a Swarmie for the SparkFun AVC

Initial configuration:

If connecting to hardware (Pololu A-Star microcontroller, MIKROE-1032 GPS, or Scanse Sweep LiDAR (discontinued)), add the following rules to /etc/udev/rules.d/99-usb-serial.rules:

SUBSYSTEM=="tty", ATTRS{idVendor}=="1ffb", ATTRS{idProduct}=="2300", SYMLINK+="swarmie/arduino"
SUBSYSTEM=="tty", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a6", SYMLINK+="swarmie/ublox"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", SYMLINK+="swarmie/scanse"

The AVC-Arduino repo provides an interface to access lower-level sensors (Pololu AltIMU-10 v4, Pololu quadrature wheel encoders, and PING))) ultrasonic distance sensors), as well as Pololu metal gearmotors through the Pololu A-Star.

Setup w/ Docker:

Prerequisites:

Building:

# clone the AVC-ROS repository
git clone https://github.com/jhecker/AVC-ROS.git

# add yourself to the docker group
sudo usermod -a -G docker $USER

# build the Docker image
docker build -t avc-ros AVC-ROS

Running:

# derive and run the Docker container from the Docker image
docker run -it --rm --name avc-ros --hostname swarmie --privileged -v /dev/swarmie:/dev/swarmie --net=host --add-host swarmie:127.0.1.1 avc-ros

# run main script from inside the interactive Docker shell
roslaunch AVC-ROS/launch/avc.launch

Setup w/o Docker:

Prerequisites:

  • Ubuntu 16.04 (Xenial Xerus) (Desktop or Server)

  • ROS Kinetic Kame (either the perception ROS metapackage, or a superset of this metapackage)

  • The following ROS packages (available through APT) in addition to the perception metapackage:

    python-catkin-tools
    ros-kinetic-gmapping
    ros-kinetic-move-base
    ros-kinetic-pointcloud-to-laserscan
    ros-kinetic-robot-localization
    ros-kinetic-urg-node
    
  • Sweep SDK to provide API support to the Sweep ROS package

Building:

# clone the AVC-ROS repository
git clone https://github.com/jhecker/AVC-ROS.git

# enter the main directory
cd AVC-ROS

# setup sweep-ros submodule
git submodule init
git submodule update

# build project
catkin build

Running:

# enter main directory
cd /path/to/AVC-ROS

# source project
source install/setup.bash

# run main script
roslaunch launch/avc.launch

avc-ros's People

Contributors

jhecker avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.