Giter Club home page Giter Club logo

maplab_ws's Introduction

maplab_ws | Ubuntu 18 | ARM & Intel

Clone Repository

cd ~

git clone https://github.com/Abdob/maplab_ws

Install ROS Melodic

cd ~/maplab_ws

chmod +x ros_install.sh

./ros_install.sh

Install ROS required packages

sudo apt install -y software-properties-common

sudo add-apt-repository "deb http://packages.ros.org/ros/ubuntu bionic main"

wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -

sudo apt update

sudo apt install -y ros-melodic-desktop-full doxygen liblapack-dev libblas-dev autotools-dev dh-autoreconf libboost-all-dev python-setuptools git g++ cppcheck default-jre libgtest-dev libglew-dev clang-format-3.9 python-git pylint python-termcolor "ros-melodic-camera-info-manager*" protobuf-compiler protobuf-c-compiler python-wstool python-catkin-tools libssh2-1-dev libatlas3-base libnlopt-dev ccache ros-melodic-octomap ros-melodic-octomap-ros ros-melodic-gps-common "ros-melodic-tf2-*" python-pip python-autopep8 libreadline-dev ifstat ntpdate sysstat libv4l-0

Update ROS Environment

sudo rosdep init

rosdep update

echo ". /opt/ros/melodic/setup.bash" >> ~/.bashrc

source ~/.bashrc

sudo apt install -y ccache &&\

echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc &&\

source ~/.bashrc && echo $PATH

ccache --max-size=10G

Initialize the catkin workspace and build project

cd ~/maplab_ws

catkin init

catkin config --merge-devel

catkin config --extend /opt/ros/melodic

catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache

catkin build maplab -j2

If already built clean and make again

catkin clean # Necessary to clean up your workspace as your layout will change.

catkin config --merge-devel

catkin build maplab -j2

Run ROVIOLI in VIO mode

Download MH_01_easy.bag and place it in the maplab_ws directory

http://robotics.ethz.ch/~asl-datasets/ijrr_euroc_mav_dataset/machine_hall/MH_01_easy/MH_01_easy.bag

source ~/maplab_ws/devel/setup.bash

roscore&

rosrun rovioli tutorial_euroc save_folder MH_01_easy.bag

optimize the map

using methods a or b

a)

source ~/maplab_ws/devel/setup.bash

rosrun maplab_console maplab_console

create_new_map --map_key my_empty_key

load --map_key my_map_key --map_folder save_folder

rtl

b)

source ~/maplab_ws/devel/setup.bash

roscore&

rosrun rovioli tutorial_euroc save_folder_loc_map MH_01_easy.bag --optimize_map_to_localization_map

Run ROVIOLI in LOC mode

Download MH_03_easy.bag and place it in the maplab_ws directory

http://robotics.ethz.ch/~asl-datasets/ijrr_euroc_mav_dataset/machine_hall/MH_02_easy/MH_02_easy.bag

source ~/maplab_ws/devel/setup.bash # Make sure that your maplab workspace is sourced!

roscore&

rosrun rovioli tutorial_euroc_localization save_folder_loc_map_localization save_map_with_localization MH_02_easy.bag

maplab_ws's People

Contributors

abdob avatar

Watchers

James Cloos 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.