All Projects → TurtleZhong → PoseGraph-Ceres

TurtleZhong / PoseGraph-Ceres

Licence: other
An offline tool for pose-graph-optimization.

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to PoseGraph-Ceres

ba demo ceres
Bundle adjustment demo using Ceres Solver, with customized cost function and local parameterization on SE(3)
Stars: ✭ 150 (+163.16%)
Mutual labels:  slam, ceres-solver
the-Cooper-Mapper
An open source autonomous driving research platform for Active SLAM & Multisensor Data Fusion
Stars: ✭ 38 (-33.33%)
Mutual labels:  slam, pose-graph-optimization
maks
Motion Averaging
Stars: ✭ 52 (-8.77%)
Mutual labels:  slam, pose-graph-optimization
dpgo ros
ROS wrapper for distributed pose graph optimization
Stars: ✭ 29 (-49.12%)
Mutual labels:  slam, pose-graph-optimization
microstrain inertial
ROS driver for all of MicroStrain's current G and C series products. To learn more visit
Stars: ✭ 44 (-22.81%)
Mutual labels:  slam
python-graphslam
Graph SLAM solver in Python
Stars: ✭ 118 (+107.02%)
Mutual labels:  slam
Perception-of-Autonomous-mobile-robot
Perception of Autonomous mobile robot,Using ROS,rs-lidar-16,By SLAM,Object Detection with Yolov5 Based DNN
Stars: ✭ 40 (-29.82%)
Mutual labels:  slam
cv-arxiv-daily
🎓Automatically Update CV Papers Daily using Github Actions (Update Every 12th hours)
Stars: ✭ 216 (+278.95%)
Mutual labels:  slam
Tonic
An autonomous vehicle written in python
Stars: ✭ 85 (+49.12%)
Mutual labels:  slam
slamkit
SLAM Kit
Stars: ✭ 28 (-50.88%)
Mutual labels:  slam
zed-ros2-wrapper
ROS 2 wrapper beta for the ZED SDK
Stars: ✭ 61 (+7.02%)
Mutual labels:  slam
RGB-D-SLAM
Work in Progress. A SLAM implementation based on plane and superquadric tracking.
Stars: ✭ 23 (-59.65%)
Mutual labels:  slam
vision-based estimations
Vision-based Robot 3D Pose and Velocities Estimations
Stars: ✭ 32 (-43.86%)
Mutual labels:  pnp
mola-fe-lidar
MOLA module: Front-end for point-cloud sensors based on generic ICP algorithms. LiDAR odometry and loop closure.
Stars: ✭ 16 (-71.93%)
Mutual labels:  slam
roskinectic src
This ROS kinectic workspace src folder, which was created on Ubuntu 16.04. Here I worked on ROS1 projects like 2d & 3D SLAM, Motion Planning, SWARM of drone, RL based drone, Surveilling Robot etc.
Stars: ✭ 44 (-22.81%)
Mutual labels:  slam
O365 SPO PowerShellScripts
PowerShell scripts related to SharePoint Online in Microsoft 365
Stars: ✭ 22 (-61.4%)
Mutual labels:  pnp
codac
Codac is a library for constraint programming over reals, trajectories and sets.
Stars: ✭ 31 (-45.61%)
Mutual labels:  slam
ros-vrep-slam
ROS and V-REP for Robot Mapping and Localization
Stars: ✭ 39 (-31.58%)
Mutual labels:  slam
RGBD-Slam-Semantic-Seg-DeepLab
The package is common Slam combined with DeepLab-V2-CRF Library.
Stars: ✭ 61 (+7.02%)
Mutual labels:  slam
GA SLAM
🚀 SLAM for autonomous planetary rovers with global localization
Stars: ✭ 40 (-29.82%)
Mutual labels:  slam

A general tool for Pose Graph.

Authors: Xinliang Zhong. ([email protected])

1.Description

This is an offline tool for Pose-Graph. You will get an trajectory file (usually with x,y,z) after you have run the SLAM and VO algorithm. If the datasets contains a loop, This tool can optimize the pose and eliminate the cumulative error.

Note: This repo contains some other test files. All the useful file is POSE_GRAPH_CERES_PLUS folder.

Videos: Youtube, Local Demo

Gif: pose_graph_results

2. Prerequisites

We have tested the library in 16.04, but it should be easy to compile in other platforms.

OpenCV

We use OpenCV to manipulate images and features. Dowload and install instructions can be found at: http://opencv.org. Required at leat 2.4.3. Tested with OpenCV 2.4.11 and OpenCV 3.2.

Eigen3

Download and install instructions can be found at: http://eigen.tuxfamily.org. Required at least 3.1.0.

Ceres

Download and install instructions can be found at: http://www.ceres-solver.org/installation.html.

3. How to build

mkdir build
cd build
cmake ..
make

4. How to run

All the executable files are in bin/ folder.

Then go the bin folder and run:

generate_edges_from_trajectory_origion.cpp

Useage: ./motionestimate currentFrame.id lastFrame.id (eg:)
input: config/config.yaml
output: config/Edge_Candidates_index.txt
Edge_Candidates_index.txt Format

currentFrame.id lastFrame.id loopFrameCandidatesIndex.id... (eg:) 4477 4476 24 25 26 27 28


motionestimate.cpp

Useage: ./motionestimate currentFrame.id lastFrame.id (eg:) KITTI sequence 00

./motionestimate 4477 28 you will see: 蓝色点为上一帧的keypoints 绿色点为当前帧的keypoints。 红色点为groundtruth投影到当前帧的点,红色连线是用groundtruth将上一帧2D点投影到当前帧与当前帧KeyPoints的连线,蓝色线为pnp或者ceres估计的位姿的连线。

Matches

matches

Reprojection-ceres

reprojection-ceres

Reprojection-pnp

repprojection-pnp

motionestimate_wholesequence.cpp

对整个序列做两帧之间的motionestimate


pose_graph_ceres_plus.cpp

回环帧之间的T计算方式改变,首先pnp获得inliers,然后用本质矩阵E从inliers里边恢复R,然后固定R和3D点,只优化t.


pose_graph_ceres_plus_final.cpp

从config/Edge_Candidates_index.txt中读取Edge,但务必记得先生成该文件,生成该文件的方式见generate_edges_from_trajectory_origion.cpp


After you run the pose_graph_ceres*.cpp.

You can get result in the result/ folder. And you can run ./.sh or ./.py to see some results! Please see result/PlotShow/README

then you will get result in result/ folder.


5. Show the results

get into the result/PlotShow folder run: ./plot*.sh then you will get: Pose_Graph and trajectory x_z

Good Luck to You!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].