数据集来源:https://oxford-robotics-institute.github.io/radar-robotcar-dataset/documentation
简介
雷达是 Navtech CTS350-X 调频连续波 (FMCW) 扫描雷达,在所使用的配置中提供 4.38 cm 的距离分辨率和 0.9 度的旋转分辨率,范围高达 163 m,同时提供对天气条件的稳健性这可能会给其他传感器模式带来麻烦。在其他配置中,Navtech CTS350-X 可以提供超过 650 m 的范围和更高的旋转速度。然而,对于城市环境,更高的分辨率是更可取的。
车辆传感器示意图
车辆传感器所在位置示意图如下
车顶一个Bumblebee XB3相机,一个毫米波雷达CTS350,雷达左右各一个HDL-32E激光雷达;
车前后各一个LMS-151激光雷达,车尾三个Grasshopper相机(紫色),一个SPAN-CPT GPS。
Cameras:
1 x Point Grey Bumblebee XB3
3 x Point Grey Grasshopper2
LIDAR:
2 x SICK LMS-151 2D LIDAR
GPS/INS:
1 x NovAtel SPAN-CPT ALIGN inertial and GPS navigation system
As well as additionally collecting:
Radar:
1 x Navtech CTS350-X - Mounted in the centre of the roof aligned with the vehicles axes.
LIDAR
2 x Velodyne HDL-32E - Mounted to the left and right of the Navtech CTS350-X radar.
雷达数据集介绍
雷达数据以极坐标格式的无损 PNG 文件形式发布,每行代表每个方位角的传感器读数(在程序中azimuth为一个(400,1)的矩阵),每列代表特定范围内的原始功率返回(在程序中fft_data是(400,3768,1))。在使用的配置中,每次扫描有 400 个方位角(行)和 3768 个距离区间(列)。这些文件的结构为radar/.png,其中 是捕获的起始UNIX 时间戳,以微秒为单位。
为了向用户提供他们可能需要的所有原始数据,我们还将以下每个方位角元数据嵌入到 PNG 文件的前 11 列中:
UNIX 时间戳在第 1-8 列中为 int64
在第 9-10 列中作为 uint16 的扫描计数器 - 转换为具有方位角的角度(弧度)=扫描计数器 / 编码器大小 * 2 * pi,其中我们的配置编码器大小固定为 5600。
在第 11 列中作为 uint8 的有效标志 - 很少会从 Navtech 雷达中丢弃极少量携带方位角回波的数据包。为了简化用户的使用,我们对相邻回波进行了插值,以便提供的每个雷达扫描具有 400 个方位角。如果这是不可取的,只需删除有效标志设置为零的任何行。
雷达数据可视化程序
学习重点:
- .png格式的雷达数据怎么读取信息?得到的信息有哪些?
- 了解opencv-python的应用
- 将极坐标雷达数据转换为笛卡尔坐标雷达数据,来可视化,原理是什么?
官方给的程序代码
################################################################################
#
# Copyright (c) 2017 University of Oxford
# Authors:
# Dan Barnes (dbarnes@robots.ox.ac.uk)
#
# This work is licensed under the Creative Commons
# Attribution-NonCommercial-ShareAlike 4.0 International License.
# To view a copy of this license, visit
# http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to
# Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
#
################################################################################
import argparse
import os
from radar import load_radar, radar_polar_to_cartesian ##定义的radar.py中的函数,见下一段代码
import numpy as np
import cv2
##找需要显示的radar数据文件
parser = argparse.ArgumentParser(description='Play back radar data from a given directory')
parser.add_argument('dir', type=str, help='Directory containing radar data.')
args = parser.parse_args()
timestamps_path = os.path.join(os.path.join(args.dir, os.pardir, 'radar.timestamps'))
if not os.path.isfile(timestamps_path):
raise IOError("Could not find timestamps file")
#设置笛卡尔可视化参数,分辨率以及显示的长宽
# Cartesian Visualsation Setup
# Resolution of the cartesian form of the radar scan in metres per pixel
cart_resolution = .25
# Cartesian visualisation size (used for both height and width)
cart_pixel_width = 501 # pixels
interpolate_crossover = True
title = "Radar Visualisation Example"
radar_timestamps = np.loadtxt(timestamps_path, delimiter=' ', usecols=[0], dtype=np.int64)
for radar_timestamp in radar_timestamps:
filename
263



被折叠的 条评论
为什么被折叠?



