Git Product home page Git Product logo

cartographer_2d_demo's Introduction

cartographer_2d_demo

Use google cartographer 2D SLAM without ROS.
在非ROS环境下使用cartographer进行2D激光SLAM的测试。


Replay files containing imu and radar datas will be uploaded soon...
之后会上传包含传感器数据的回放文件...


Build

Install cartographer libary

Compile and install abseil, ceres-solver, proto-buf and cartographer followed the document below:
根据cartographer官方文档编译安装Cartographer及其依赖库:
Cartographer Document

Build

Enter directory cartographer_2d_demo

mkdir build
cd build
cmake ..
make

Run

After building, excutable file map_test will be generated.
Run this project by:

./map_test ../configuration_files mapping_imu.lua ../data/imu_radar_replay ./map_output

cartographer_2d_demo's People

Contributors

dahogn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cartographer_2d_demo's Issues

Check failed: HasKey(key) Key 'intensity_threshold' not in dictionary:

build$ ./map_test ../configuration_files mapping_imu.lua ../data/imu_radar_replay ./map_output
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0707 18:23:59.730149 38017 carto.cpp:20] Initialize cartographer with configuration file ../configuration_files/mapping_imu.lua
I0707 18:23:59.830819 38017 configuration_file_resolver.cc:41] Found '../configuration_files/mapping_imu.lua' for 'mapping_imu.lua'.
I0707 18:23:59.831053 38017 configuration_file_resolver.cc:41] Found '../configuration_files/map_builder.lua' for 'map_builder.lua'.
I0707 18:23:59.831105 38017 configuration_file_resolver.cc:41] Found '../configuration_files/map_builder.lua' for 'map_builder.lua'.
I0707 18:23:59.831148 38017 configuration_file_resolver.cc:41] Found '../configuration_files/pose_graph.lua' for 'pose_graph.lua'.
I0707 18:23:59.831159 38017 configuration_file_resolver.cc:41] Found '../configuration_files/pose_graph.lua' for 'pose_graph.lua'.
I0707 18:23:59.831281 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'.
I0707 18:23:59.831324 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder.lua' for 'trajectory_builder.lua'.
I0707 18:23:59.831358 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'.
I0707 18:23:59.831369 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder_2d.lua' for 'trajectory_builder_2d.lua'.
I0707 18:23:59.831476 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'.
I0707 18:23:59.831511 38017 configuration_file_resolver.cc:41] Found '../configuration_files/trajectory_builder_3d.lua' for 'trajectory_builder_3d.lua'.
F0707 18:23:59.831945 38017 lua_parameter_dictionary.cc:399] Check failed: HasKey(key) Key 'intensity_threshold' not in dictionary:
{
hit_probability = 0.550000,
miss_probability = 0.490000,
num_free_space_voxels = 2.000000,
}
*** Check failure stack trace: ***
Aborted (core dumped)

Can Lidar data be used?

Hi!

Can I somehow use Lidar data instead of radar data to use this? Also, do I need the imu data because the only thing I have is raw Lidar data.

Thanks!

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.