GithubHelp home page GithubHelp logo

nkuwenjian / slam_karto_ceres Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 7.0 73 KB

A ROS package for 2-D pose graph SLAM using open karto package for the front-end and Google's Ceres solver for the back-end

CMake 2.31% C++ 97.69%
slam ros ceres-solver pose-graph-optimization

slam_karto_ceres's Introduction

slam_karto_ceres

A ROS package for 2-D pose graph SLAM using open karto package for the front-end and Google's Ceres Solver for the back-end.

How to use

Please install Ceres Solver first following the official installation tutorial. The version of Ceres Solver we used is 2.1.0.

After that, please create and initialize a ROS workspace. We assume that your workspace is named catkin_ws. Then, run the following commands to clone and build open karto package:

$ cd ~/catkin_ws/src/
$ git clone https://github.com/ros-perception/open_karto.git
$ cd ../
$ catkin_make -DCMAKE_BUILD_TYPE=Release

After the above preparation, clone and build this package:

$ cd ~/catkin_ws/src/
$ git clone https://github.com/nkuwenjian/slam_karto_ceres.git
$ cd ../
$ catkin_make -DCMAKE_BUILD_TYPE=Release

Finally, run the following commands to launch Karto SLAM:

$ source ~/catkin_ws/devel/setup.bash
$ roslaunch slam_karto_ceres slam_karto_ceres.launch

Open a new terminal and play your rosbag:

$ rosbag play <rosbagfile> --clock

Remarks

The source code of the SLAM back-end in this package refers to the pose_graph_2d in Ceres Solver's examples. It is recommended to read this tutorial to learn more about the use of Ceres Solver.

slam_karto_ceres's People

Contributors

nkuwenjian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

slam_karto_ceres's Issues

scan_topic issue

Hi,

Your scan_topic in your launch file is not inserted as a variable in the slam_karto_ceres.cpp file. On the contrary, you have it as a fixed topic and it is misleading. It took me some-time to realize that I cannot use a different name for a scan topic by changing your .launch file.

I hope it helps to correct your code.

Best regards!

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.