Python中的Graph SLAM解算器

graphslam的Python项目详细描述


https://travis-ci.com/JeffLIrion/python-graphslam.svg?branch=masterhttps://coveralls.io/repos/github/JeffLIrion/python-graphslam/badge.svg?branch=master

这个软件包的文档可以在https://python-graphslam.readthedocs.io/找到。在

这个包在Python中实现了一个Graph SLAM解算器。在

特点

  • 优化R^2R^3SE(2)SE(3)数据集
  • 分析雅可比
  • 支持里程计边缘
  • SE(2)SE(3)数据集导入和导出.g2o文件

安装

pip install graphslam

示例用法

SE(3)数据集

^{pr2}$

输出:

Iteration                chi^2        rel. change
---------                -----        -----------
        0           16720.0206
        1              26.5495          -0.998412
        2               1.2712          -0.952119
        3               1.2402          -0.024439
        4               1.2396          -0.000456
        5               1.2395          -0.000091
OriginalOptimized
https://raw.githubusercontent.com/JeffLIrion/python-graphslam/master/docs/source/images/parking-garage.pnghttps://raw.githubusercontent.com/JeffLIrion/python-graphslam/master/docs/source/images/parking-garage-optimized.png

SE(2)数据集

>>>fromgraphslam.loadimportload_g2o_se2>>>g=load_g2o_se2("input_INTEL.g2o")# https://lucacarlone.mit.edu/datasets/>>>g.plot()>>>g.calc_chi2()7191686.382493544>>>g.optimize()>>>g.plot()

输出:

Iteration                chi^2        rel. change
---------                -----        -----------
        0         7191686.3825
        1       319915276.1284          43.484042
        2       124894535.1749          -0.609601
        3          338185.8171          -0.997292
        4             734.5142          -0.997828
        5             215.8405          -0.706145
        6             215.8405          -0.000000
^{tb2}$

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
来自偏移量的java JavaPairInputStream流   gzip Java TarInputStream读取tar的文件名。包含另一个tar的gz文件。gz文件   如何在Linux shell脚本中确定和使用实际的java路径   java请求太多FirebaseError   java错误json解析   java在localserver上发送安卓应用程序的输出   JavaSpring:启动和停止webapplication时更新DBtable条目   java如何使用JavaFX在矩形处设置文本?   java SQL查询在Hibernate中出现异常   java我无法使用javamail代码通过outlook(hotmail帐户)配置发送邮件,但在gmail中工作正常   java是不同的持久性。测试运行/JPA装置的xml属性   无头Eclipse的java导出战   使用ContentVersionStrategy的java Spring引导缓存禁止使用gzip进行资源压缩   java如何获取计算机的设备令牌?   图像文件的java ImageInfo不包含有效值   继承强制在Java中使用基类方法