KITTI数据集转化为ROS bag包(解决各种类型数据集,实测有效)

news/2025/2/22 10:52:55

KITTIROS_bag_0">KITTI数据集转化为ROS bag包(解决各种类型数据集,实测有效)

1.raw data数据集转化

raw data数据集的转化可以参考我之前的博客
KITTI数据集转化为ROS bag包——kitti2bag使用教程

2.其他数据集转化

除了上面kitti2bag数据集转化工具外,我们再介绍另一个非常好用的工具
这里阿里员工在github上开源的工具包,大家可以通过下面的链接进行访问
lidar2rosbag_KITTI
工具非常好用,建议star或者fork方便下次使用

下面介绍lidatr2rosbag工具包的使用方法:

编译工具包

$ cd ~/catkin_ws/src/
$ git clone  git@github.com:AbnerCSZ/lidar2rosbag_KITTI.git
$ cd ~/catkin_ws
$ catkin_make -DCMAKE_BUILD_TYPE=Release 
$ source ~/catkin_ws/devel/setup.bash

运行:

rosrun lidar2rosbag lidar2rosbag KITTI_input_dir output_name

Please confirm that the input path contains the file times.txt and the folder 	velodyne.

└── dataset
   └── sequences
    └── 04
        ├── calib.txt
        ├── image_0 [271 entries exceeds filelimit, not opening dir]
        ├── image_1 [271 entries exceeds filelimit, not opening dir]
        ├── times.txt
        └── velodyne [271 entries exceeds filelimit, not opening dir]

示例:

rosrun lidar2rosbag lidar2rosbag /data/KITTI/dataset/sequences/04/ 04

or

rosrun lidar2rosbag lidar2rosbag /data/KITTI/dataset/sequences/01/ bag01

and so on...

特别提示:
如果遇到LZ4_stream_t, LZ4_streamDecode_t build error错误可以通过下面链接中的方法解决
救命稻草


http://www.niftyadmin.cn/n/1363240.html

相关文章

图---BFS

BFS是继DFS后对图的又一种遍历方法。大家注意比较BFS算法与DFS的迭代算法,会有惊人的发现~ BFS(G,v)Init queueAdd start point v into queuevisited[v]truewhile queue is not emptyt ← deQueue()for each u connected to tif u not visitedadd u into queuevisi…

USACO contact

题目意思是给你一个01串&#xff0c; 让你找出其中长度为A-B的串的频率&#xff0c; 输出频率最高的N个&#xff0c; 直接用map搞定&#xff0c; 代码如下&#xff1a; /*ID: m1500293LANG: CPROG: contact */#include <cstdio> #include <cstring> #include <s…

紫书学习笔记(1)

这几天杂七杂八的事情太多&#xff0c;再加上进入了考试周&#xff0c;所以很难有时间安安静静的敲敲代码&#xff0c;看看书&#xff0c;写写博客了。最近写了一些oj的题目&#xff0c;但是写到这个份上&#xff0c;发现有些做不动了。因为自己没有很系统的看过一些算法竞赛书…

关于SSH框架的基础知识点总结

关键字: spring, hibernate, struts的常用面试题Spring,hibernate,struts的面试笔试题(含答案) Hibernate工作原理及为什么要用&#xff1f; 原理&#xff1a; 1.读取并解析配置文件 2.读取并解析映射信息&#xff0c;创建SessionFactory 3.打开Sesssion 4.创建事务Transation…

Redis源码解析:01简单动态字符串SDS

Redis没有直接使用C字符串&#xff08;以’\0’结尾的字符数组&#xff09;&#xff0c;而是构建了一种名为简单动态字符串( simple dynamic string, SDS)的抽象类型&#xff0c;并将SDS用作Redis的默认字符串表示。在Redis里面&#xff0c;C字符串只会作常量值&#xff0c;比…

Chapter 1 Securing Your Server and Network(12):保护链接server

原文出处&#xff1a;http://blog.csdn.net/dba_huangzj/article/details/38438363。专题文件夹&#xff1a;http://blog.csdn.net/dba_huangzj/article/details/37906349 未经作者允许。不论什么人不得以“原创”形式公布&#xff0c;也不得已用于商业用途。本人不负责不论什么…

《MySQL》对表进行操作(DDL语句)

文章目录 &#x1f4a1;创建表&#x1f4a1;修改表&#x1f4a1;删除表 在了解下列语句前&#xff0c;先掌握一下指令 # 查看表内容 desc [表名] # 详细查看表内容 show create table [表名] \G&#x1f4a1;创建表 # 创建表 create table [表名] ([字段1] [类型1],[字段2] […

jQuery 二级联动

<html> <head><meta http-equiv"Content-Type" content"text/html; charsetgb2312" /><title>jQuery 二级联动</title><script src"~/Scripts/jquery-1.8.2.js"></script><script type"text/…