Git Product home page Git Product logo

robotics_spot's Introduction

robotics_spot

Reinforced Spot Mini

Install

Install docker: Install Docker-CE using these instructions

Install nvidia-docker

curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
  sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
  sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
sudo apt-get install nvidia-docker2
sudo systemctl restart docker

Now we should build Spot container:

Spot:

Init workspace

mkdir -p spot_ws/src
cd spot_ws/src
git clone https://github.com/clearpathrobotics/spot_ros.git
git clone https://github.com/tarasborov/robotics_spot.git

Build docker images

cd robotics_spot/docker/ros_melodic
chmod a+x build.bash
sudo ./build.bash 

Run docker container

chmod a+x run.bash
sudo ./run.bash

Inside docker container

cd /root/ws
rosdep check --from-paths . --ignore-src --rosdistro melodic
catkin config --init --extend /opt/ros/melodic   
catkin build

Use state machine

All following commands should be executed in specified containers:

cd ~/ws/src/robotics_spot/scripts
chmod a+x start.sh
chmod a+x session.yml
./start.sh

Now tmux session will start with all required tabs. All required commandsmay be added to the history, in order to simplify their usage.

robotics_spot's People

Contributors

tarasborov avatar ldemk 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.