Giter Site home page Giter Site logo

lego-loam-ros2-docker's Introduction

  1. Clone the repository
  2. cd into the repository
  3. Run ./docker_install.sh
  4. Run sudo docker build -t lego-loam-dashing:18.04 .
  5. Run xhost +
  6. Run sudo docker-compose run ros2-dashing-base

This will start a new container.

  1. After you are inside the docker, to verify if you have x-11 forwarding setup correctly, run xeyes

To launch a new terminal in this running container, in a new terminal on your host machine run sudo docker ps Make note of the container ID of the lego-loam container.

Then run sudo docker exec -it <container id> bash

The container has free communication with all topics from your host machine. All the topics running on your host will be visible inside the container.

To build LeGO LOAM, inside the container run the following

cd /home/lego/gtsam-4.0.0-alpha2
mkdir build && cd build
cmake ..
sudo make install -j6
cd /home/lego/dev_ws
colcon build --symlink-install
source /opt/ros/dashing/setup.bash
source /home/lego/dev_ws/install/setup.bash

To launch LeGO LOAM, edit the following files based on your preference.

1. /home/lego/dev_ws/src/LeGO-LOAM-SR/LeGO-LOAM/launch/run.launch.py
2. /home/lego/dev_ws/src/LeGO-LOAM-SR/LeGO-LOAM/config/loam_config.yaml

After you have done this, run ros2 launch lego_loam_sr run.launch.py

lego-loam-ros2-docker's People

Contributors

suchetanrs 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.