Giter Club home page Giter Club logo

basalt_ros2's Introduction

Basalt VIO ROS2 wrapper

This is a ROS2 wrapper around the Basalt VIO library.

Note that the wrapper is split into two parts: frontend and backend. The frontend performs the image feature extraction, the backend runs the graph optimizer etc. The front end publishes messages that contain the extracted features. These messages can be recorded in a rosbag and played back, such that there is no need to store the images to test the backend.

For efficiency reasons, front- and backend are fused together into a single exectuable as well, avoiding the overhead of serializing and de-serializing ROS messages from the Basalt data structures.

Supported systems

Only tested on Ubuntu 18.04LTS with ROS2 Eloquent

Building

This package depends on the Basalt VIO package, which must be installed first by following the instructions for the basalt_ros repository. Failing to do so will give you an error about a missing basaltConfig.cmake. If you don't like the ROS1 packages that come with the basalt_ros repo remove them afterwards, then build by doing this at the root of your workspace:

cd path_to_top_of_your_workspace
colcon build --symlink-install --cmake-args	-DCMAKE_BUILD_TYPE=Release

Testing

Overlay your workspace:

cd path_to_top_of_your_workspace
. install/setup.bash   # activate this workspace

Launch the unified front/backend as a node:

ros2 launch basalt_ros2 basalt_vio.launch.py

Now you need supply data from the realsense T265.

How to get the RealSense calibration

To get the calibration file, do this:

ros2 run basalt_ros2 get_calibration  -o my_calib_file.json

If you want to overwrite the imu noise with your own idea of covariance:

ros2 run basalt_ros2 get_calibration  -o my_calib_file.json -a 0.5

basalt_ros2's People

Contributors

rdeb36342 avatar berndpfrommer 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.