PIX-KIT自动驾驶使用手册PIXKIT Autonomous Driving Manual
PIX-KIT自动驾驶使用手册PIXKIT Autonomous Driving Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
目录 Catalog
1. 前言 Preface................................................................................................................................. 1
1.1 免责声明 Disclaimers........................................................................................................... 1
1.2 自动驾驶简介 Introduction to Autonomous Driving ........................................................... 2
1.3 产品清单 Product Inventory................................................................................................. 3
2. 支架、传感器及线束的安装 Installation of Sensor Bracket, Sensors and Sensor Harness ...... 4
2.1 支架安装 Sensor Bracket Installation .................................................................................. 4
2.2 激光雷达安装 Lidar Installation .......................................................................................... 5
2.3 相机安装 Camera Installation .............................................................................................. 7
2.4 组合惯导(CGI-410 华测惯导)安装 Installation of integrated inertial navigation
(CHCNAV Inertial Navigation CGI-410) .................................................................................... 8
2.5 显示屏与键鼠安装 Installation of Display Screen, Keyboard and Mouse........................ 10
2.6 工控机安装 Industrial Personal Computer(IPC) Installation ............................................. 11
2.7 交换机 Switch .................................................................................................................... 13
3.3 激光雷达 Lidar .................................................................................................................. 16
3.4 相机 Camera ...................................................................................................................... 17
4.1.组合导航数据连接和登录 RTK Integrated Inertial navigation data connection and login
RTK .......................................................................................................................................... 18
4.3. 导航和 IMU 的标定 Calibration of navigation and IMU ................................................ 22
4.4. Autoware-GNSS 定位 Autoware-GNSS Positioning ....................................................... 23
5. 底盘控制指令下发 Chassis Control Commands Issuing ......................................................... 30
5.1 准备事项 Preparations......................................................................................................... 30
5.2 加载终端 Terminal Loading .............................................................................................. 30
5.3 控制车辆 Chassis Control .................................................................................................. 31
6. 数据录制与回放 Data Recording and Playback ....................................................................... 34
6.1 Bag 数据录制 Bag Data Recording.................................................................................... 34
6.2 Bag 数据回放 Bag Data Playback...................................................................................... 35
7. 简单地图创建与加载 Simple Map Creation and Loading ....................................................... 38
7.1 PCD 点云地图的创建 Creation of PCD point cloud map ................................................. 38
7.2 PCD 点云地图的加载 Loading of PCD Point Cloud Map ................................................. 40
7.3 点云地图评价 Point Cloud Map Evaluation ...................................................................... 40
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
1. 前言 Preface
1. 在安装由第三方提供的任何软件、应用程序或组件之前,客户应确保它们与所用设备具
有兼容性和可互操作性,客户全权负责确保第三方产品的兼容性和互操作性。客户还应
全权负责确保其系统、软件和数据得到充分的备份,以防止可能出现的故障、变更或损
失。 有关硬件/软件兼容性的问题,客户应联系设备提供公司的销售代表或技术支持。
Before installing any software, applications or components provided by a third party, the
customer shall ensure that they are compatible and interoperable with the equipment used, and
the customer is fully responsible for ensuring the compatibility and interoperability of the third
party's products. The customer shall also be fully responsible for ensuring that its systems,
software and data are fully backed up to prevent possible failures, changes or losses. For
hardware/software compatibility issues, the customer should contact the sales representative or
technical support of the equipment provider.
2. 本手册在印刷时已尽可能的包含各项功能介绍和使用说明。但由于本手册由 PIX 团队根
据场内测试环境拟定,可能与客户实施环境略有区别,请以实际情况为准。This manual has
been printed with the introduction of various functions and instructions as much as possible.
However, since this manual is prepared by the PIX team according to its own on-site test
environment, it may be slightly different from the customer's implementation environment,
please take the actual situation as the basis.
3. 为保护用户的合法权益,请您在使用本产品前务必仔细阅读我们随附本产品提供的说明
书。套件提供商保留对上述文档进行更新的权利。请您使用前务必认真阅读此说明书并
按照说明书操作本产品。In order to protect the legitimate rights and interests of users, please
read the instructions provided with this product carefully before using this product. The kit
provider reserves the right to update the above documents. Please read this manual carefully
and operate the product according to the manual before use.
4. 本产品不适合不具备完全民事行为能力的人士使用,请您避免上述人士接触本产品,在
有上述人士出现的场合操作时请您格外注意。This product is not suitable for people who do
not have full civil capacity. Please avoid the above people from contacting this product. Please
pay special attention when operating in the presence of the above people.
5. 一旦开始使用本产品,即视为您已阅读、理解、认可和接受本产品的说明书、免责声明
的全部条款和内容。使用者承诺对自已的行为及因此而产生的所有后果负责。Once you
start to use this product, it is deemed that you have read, understood, approved and accepted all
the terms and contents of the manual and disclaimer of this product. The user promises to be
responsible for his own behavior and all consequences arising therefrom.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
6. 在使用本产品的过程中,请您务必严格遵守并执行包括但不限于说明书里的要求。对于
违反说明书所提示的使用行为或不可抗因素导致的一切人身伤害、事故、财产损失、法
律纠纷,及其他一切造成利益冲突的不利事件,均由用户自己承担相关责任和损失,产
品提供商将不承担任何责任。In the process of using this product, you must strictly comply
with and implement the requirements including but not limited to the instructions. For all
personal injuries, accidents, property losses, legal disputes, and other adverse events that cause
conflicts of interest caused by violation of the use behavior or force majeure factors indicated
in the instructions, the user shall bear the relevant responsibilities and losses, and the product
supplier will not bear any responsibility.
7. 用户使用本产品直接或间接发生的任何违反法律规定的行为,套件提供商将不承担任何
责任。The KIT provider will not assume any responsibility for any violation of laws and
regulations directly or indirectly occurred by users using this product.
8. 本产品目的是给客户搭建基础的自动驾驶实施环境,不对产品实现的效果进行保证。The
purpose of this product is to build a basic autonomous driving implementation environment for
customers, without guaranteeing the effect of product realization.
9. 本产品仅对 PIX 客户提供本产品相关服务,未经允许请勿擅自传播或转赠。This product is
only for PIX customers to provide services related to this product. Do not spread or transfer it
without permission.
Autoware is the world's first "integrated" open source software for autonomous vehicle.
Autoware's functions are mainly applicable to cities, but highways and non-municipal roads can
also be used. At the same time, it can provide rich development and use resources in the Autoware
open source software for automatic driving built on ROS.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
收到货物后,请按照装箱清单点检产品,核对型号和数量,确认无误后开始拆封使用。After
receiving the goods, please check the products according to the packing list, check the model and
quantity, and start to unpack after confirmation.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
安装流程:Installation process:
Install the sensor bracket Install the sensors Connect the sensor harness
Note: Please turn off the chassis power before connecting the harness, and turn on the power after
the connection is completed and checked.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
型号 Model
RS-Helios-16P
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
4) 线束连接完成以后检查电源线束插接正确,否则应当保持底盘电源开关处于关闭状态。
After the wiring harness is connected, check whether the power harness is inserted correctly,
otherwise the lidar will be burnt.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
相机安装示意图
2) 确定好位置后,将相机包装袋内的两颗弹片螺母倾斜安装到支架上,并用两颗 M6 螺栓将
相机与支架固定,推荐锁紧扭矩 13±1kgf.cm;After determining the position, install the two
spring nuts in the camera packaging bag on the bracket, and fix the camera and bracket with
two M6 bolts. The recommended locking torque is 13 ± 1kgf.cm
3) 按照图示连接数据线和电源线,数据线接交换机,电源线接底盘引出的 12V 直流电源接
口。Connect the data line and power line as shown in the figure. The data line is connected to
the switch, and the power line is connected to the 12V DC power interface from the chassis.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
相机连接示意图
4) 线束连接完成后,保持底盘电源开关处于关闭状态,参照教程检查电源线束插接正确。
After the harness connection is completed, keep the chassis power switch in the closed state,
and check the correct power harness plugging according to the manual.
3) 线束的功能定义:①C_RS232:可通过网页配置选择输出组合导航融合数据(包括 GPCHC、
GPGGA、GPRMC),最高输出频率 100HZ,默认波特率 230400; ②RJ45:可通过网页
配置往系统送差分数据以及选择输出组合导航融合数据(包括 GPCHC、GPGGA、
GPRMC),最高输出频率 100HZ; ③电源: 输出电源范围 9-32V,电源 2A。Function
definition of harness: ① C_ RS232: The integrated inertial navigation fusion data (including
GPCHC, GPGGA and GPRMC) can be selected and output through web configuration. The
maximum output frequency is 100HZ, and the default baud rate is 230400; ② RJ45: It can
send differential data to the system through web configuration and select to output integrated
inertial navigation fusion data (including GPCHC, GPGGA, GPRMC), with the maximum
output frequency of 100HZ; ③ Power supply: output power supply range 9-32V, power
supply 2A。
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
注意:由于显示屏和键盘固定方式为非刚性连接,当车辆测试时速较快或者路面颠簸时建议
将屏幕键盘取下,避免由于惯性造成显示器和键盘损坏。Note: Because the display screen and
keyboard are fixed in a non-rigid way, it is recommended to remove the screen keyboard when the
vehicle is tested at a fast speed or the road is bumpy to avoid damage to the display and keyboard.
2) 集合诚工控机∶底面用四颗 M6 螺栓及螺母安装,安装在底板的位置参照上图绿色孔位,
推荐锁紧扭矩 13±1kgf.cm;宸耀工控机∶底面用四颗 M5 螺栓及螺母安装,安装在底板
的位置参照上图蓝色孔位,推荐锁紧扭矩 13±1kgf.cm。
JHCTECH industrial computer: the bottom surface is installed with four M6 bolts and nuts.
The position of the installation on the bottom plate refers to the green hole position above. The
recommended locking torque is 13 ± 1kgf.cm; Nuvo industrial computer: the bottom is
installed with four M5 bolts and nuts, and the position of the installation on the bottom plate
refers to the blue hole position in the figure above. The recommended locking torque is 13 ±
1kgf.cm。
3) 按照安装示意图,将稳压器放置在稳压器底座上,并将稳压器安装孔对准底座安装孔固
定(仅集合诚工控机需安装稳压器)。According to the installation diagram, place the voltage
stabilizer on the base of the voltage stabilizer, and align the mounting hole of the voltage
stabilizer with the mounting hole of the base to fix it (only the JHCTECH IPC needs to install
the voltage stabilizer).
4) 工控机线束的连接:Connection of IPC harness:
a. 集合诚(JHCTECH BRAV-)工控机:按照图示将稳压器和底盘电源对插后,将稳压
器电源线接入工控机,连接 CAN 口。
JHTECH BRAV - IPC: plug the power supply of the voltage stabilizer and the chassis port
according to the figure connect the power cable of the voltage stabilizer to the IPC and connect
the CAN port。
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
线束连接示意图
The harness connection Schematic diagram of Neousys Nuvo-6108GC
5) 线束连接完成后检查电源线束插接正确,否则应该保持底盘电源开关处于关闭状态。
Check whether the power harness is correctly inserted after the wiring harness is connected,
otherwise keep the chassis power closed
注意:Attention:
所有线束不能带电插拔,工控机关机不能直接整车断电,断电时需要在控制系统中关机
后,再整车断电。 All wire harnesses cannot be plugged or unplugged with power, and the IPC
cannot be powered off directly through the whole vehicle. In case of power failure, the whole
vehicle needs to be powered off after the shutdown in the control system.
不能擅自更改或替换稳压器及其他原有线束,如发现线束松脱断裂,请联系我司售后处
理,因未按照原厂要求造成的后果我司概不负责。It is not allowed to change or replace the
voltage regulator and other original harnesses without authorization. If the harness is found to
be loose and broken, please contact our company for after-sales treatment. We will not be
responsible for the consequences caused by failure to comply with the original requirements.
交换机是工控机和激光雷达,相机等设备信息交流的枢纽。使用前需通过网线连接工控机和
交换机,并将底盘电源连接交换机的电源接口。The switch is the hub of information exchange
between industrial personal computer and laser radar, camera and other equipment. Before use,
connect the IPC and the switch through the network cable, and connect the chassis power supply to
the power interface of the switch.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Power interface
https://pan.baidu.com/s/12QMJeRCLDvSyyS34zgs6bQ?pwd=0exc
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
sudo ./start.sh ;
输入密码:11111111 ;input Password:11111111
将工控机 IP 设置为:192.168.1.102,设置后才能用网口和激光雷达通信,设置方法如下图。
Please refer to the picture below and set the industrial personal computer’s IP as 192.168.1.102.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
3.4 相机 Camera
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
联通、电信均可。After inserting network card, the Integrated inertial navigation could connect to
the Internet, also could connect to the base station and login RTK. (Notes: when insert the network
card please turn off the power, the users need to prepare the network card)
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
杆臂值只需要填写上图红框中的数值即可,设置方法如下:(1)定位天线到后轮中心杆臂:
分别为 xyz,左右方向为 x,前后方向为 y,上下方向为 z,单位为 m。例如:天线在后轮
中心的左边 0.3 米(一般放在车子中心线,则为 0),前面 0.5 米,上面 1 米,输入值则
为 0.3,-0.5,-1。(2)惯导到 GNSS 定位主天线杆臂:分别为 xyz,左右方向为 x,前后
方向为 y,上下方向为 z,单位为 m,定位天线在设备的右前上为正。The lever arm value only
needs to fill in the value in the red box in the above figure. The setting method is as follows: (1)
Locate the antenna to the center level arm of the rear wheel, which are xyz respectively, x in the left
and right direction, y in the front and back direction, z in the up and down direction, and the unit is
m.. For example, if the antenna is 0.3 meters left of the center of the rear wheel (generally placed on
the center line of the car, it is 0), 0.5 meters in front of it, and 1 meter above it, the input value is 0.3,
-0.5, -1. (2) The main antenna arm of inertial navigation to GNSS locating: xyz, x in the left and
right directions, y in the front and back directions, z in the up and down directions, unit is m, and
the locating antenna is positive on the upper right front of the equipment.
想要组合导航输出【融合信息】,需要对设备进行【标定】。参数设置完成,开始进行
行车标定,标定只需要一次,第一次标定好,以后都不需要标定,但是修改参数就需要重新
标定。大约 5 到 10 分钟。标定步骤:If you want to Integrated inertial navigation output [fused
information], you need to calibrate the device. After the parameter setting is completed, the running
calibration is started. The calibration only needs one time. If the first calibration is good, it does not
need to be calibrated in the future, but if the parameter is modified, it needs to be calibrated again.
About five to ten minutes. Calibration steps:
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Enter “autoware-xx/src/autoware/commonn/gnss/src” from the terminal
2) 在 201 行添加以下代码:
Add the following code to line 201:
else if (num == 100)
{ lon_deg = { Latitude (degree) of your location };
log_min = { Latitude (minute) of your location };
lat_deg = { Longitude (degree) of your location };
lat_deg = { Longitude(minute) of your location }; }
3) 回 到 autoware 根 目 录 使 用 colcon build
--packages-select gnss 重新编译这个 package;
Go back to the autoware root and recompile the package using colcon build --packages -- select
gnss
4) 输入 rosed runtime_manager computing.yaml 修改 autoware 图形界面的配置;Open the
autoware GUI management page and enter the command: rosed runtime_manager
computing.yaml to modify the configuration of the autoware GUI
5) 在 1405 行的 list 中添加{‘100’},
如图所示 。Add {' 100 '} to list on line 1405, as shown below
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
7) 找到[Computing]下的[ndt_matching]选项,打开[app],确保[topic:/config/ndt]选项处于
[Initial Pose]处,如果有 GPU 则把[Method Type]更改为[pcl_anh_gpu],退出并勾选
ndt_matching。Find [ndt_matching] in [Computing], open [app], and make sure that
[topic:/config/ndt] is in [Initial Pose]. If there is a GPU, change [Method Type] to
[pcl_anh_gpu], exit, and select ndt_matching.
8) 打开[Rviz],
默认显示或使用自编辑保存的 Rviz 均可。Open [Rviz], default display or use the
self-editing saved Rviz.
9) 打开配置文件后,会出现与用 Bag 文件模拟定位时的类似显示,但可能由于初始位置与
Map TF 有一定的距离,所以导致定位晃动而无法准确与地图匹配,这时需要借助 Rviz
中的[2D Pose Estimate]箭头进行辅助定位。 After opening the configuration file, the display
similar to that when simulating positioning with Bag file will appear. However, due to a certain
distance between the initial location and Map TF, the positioning will be shaken and cannot be
matched accurately with the map. In this case, the [2D Pose Estimate] arrow in Rviz is needed
for auxiliary positioning.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(4) 实车使用 GNSS 辅助定位 The real vehicle uses GNSS assisted positioning
1)在确保之前的配置全部取消的情况下(主要保证没有数据在回放),在[Setup]下点击[TF]
按钮,并确定 Localizer 选项位于[Velodyne]处,同时确保参数配置正确。Click the [TF] button
under [Setup], make sure the Localizer option is located at [Velodyne], and make sure the
parameters are configured correctly, while ensuring that all previous configurations are cancelled
(mainly to ensure that no data is being played back).
2)在[Map]中加载之前建立的 PCD 地图和 TF 文件并加载生效。 Load the PCD Map and TF file
created before in [Map] and load it into effect.
3)[Sensing]下点击[Velodyne VLP_16]启动 VLP16 Velodyne 激光雷达。 Click on [Velodyne
VLP_16] under [Sensing] to start the VLP16 Velodyne Lidar.
8)打开[Rviz],可看到使用 gnss pose 在辅助激光雷达进行定位。Open [Rviz] and you can see the
gnss pose used in the auxiliary Lidar for positioning.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
注意:Notice:
操作前需要把车架起来,保证车轮悬空,车体稳定,以防车轮着地窜出;Before operation,
the chassis needs to be framed to ensure that the wheels are suspended and the body is stable to
prevent the wheels from landing and jumping out;
测试车辆时不能有人或物靠近车辆,保证测试安全;When testing the vehicle, no one or
anything can approach the vehicle to ensure the safety of the test;
测试时,将遥控器开机放置在方便使用的地方,发生紧急情况下可以按下遥控器急停,
使车辆停下。During the test, turn on the remote control and place it in a convenient place. In
case of emergency, you can press the remote control to make an emergency stop to stop the
vehicle
使用前请了解命令的使用和解析,参考《PIX_自动驾驶 CAN 协议》。Please understand the
use and analysis of commands before use, refer to "PIX_Automatic Driving CAN Protocol".
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Topic -Add and tick the following topics: brake_command, gear_command, park_command,
throttle_command, vehicle_command, and change rate as 100.
(gear_en_ctrl)、
点击左侧三角展开,然后将(brake_en_ctrl)、 (park_en_ctrl)、
(steer_en_ctrl)、
(drive_mode_ctrl)赋值为 1,给车使能。Click on the left triangle to expand,
(throttle_en_ctrl)
then set the value of (brake_en_ctrl), (gear_en_ctrl), (park_en_ctrl), (steer_en_ctrl),
(throttle_en_ctrl) (drive_mode_ctrl) to 1 to activate the chassis.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(3) 输入速度值后,遥控器放权底盘即开始执行命令。举例:vel_target=1,周围安全,遥控
器切换[Self_driving]模式。After entering the speed value, the remote controller is
disconnected and the chassis begins to execute the command. Example: vel_target=1,
surrounding security, remote control switch [Self_driving] mode.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
注意:制动 Brake_Pedal_Target(0~100%制动力)较大值请求不能超过一分钟,容易损坏设
备。Note: Brake_Pedal_Target (0~100% braking force) large value request should not exceed one
minute, easy to damage the chassis.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
运用激光雷达录制点云地图目的是构建点云地图,为循迹做准备。开始操作前将车遥控
到地图录制的起点。The purpose of using LIDAR to collect data is to create point cloud maps,
making it ready for path following. Before getting started, please drive the vehicle to the starting
point for the map recording by using the remote control.
(1) 启动速腾激光雷达的节点(roslaunch rslidar_sdk start.launch),使用 Rviz 或 rostopic echo
验证激光雷达是否启动成功。
Start the LiDAR node (roslaunch rslidar_sdk start.launch), and use Rviz or rostopic echo to
verify whether the LiDAR is activated successfully.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
简单地图(小于 100 米)创建与加载。Simple map (less than 100 meters) creation and loading.
(1) 在 [Compulting] 点 击
ndt_mapping,开始建图。
在 [Compulting] 菜 单 栏 中
找到 [lidar_localizer]下的
[Ndt_Mapping] 选 项 , 设
置 [app] , 并 勾 选 。
Ndt_Mapping 会有一些设
置需要注意一下,如右图。
Click “ndt_mapping” in
[Computing] to start
mapping. Find the
[Ndt_Mapping] option
under [lidar_localizer] in
the [Computing] menu bar,
set [app], and check it. Ndt_Mapping will have some settings that need to pay attention to, as
shown on the right picture.
(2) Rosbag 播 放 : 回 到
[Simulaton]页面,然后再
点击 [Pause] 继续播放,
直至完成。
Playing Rosbag: Go back to the [Simulation] page, and then click [Pause] to continue playing
until it’s complete.
注意:右图中的(Process/Input): (1688
/ 1697),这两个数字前一个数字表示
正在处理的点云帧数,后一个表示加
载的点云帧数。如果两个数字相差过
大,会出现运行错误。如果前后两个
数 字 相 差 1000 以 上 , 就 要 按
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Export PCD, open [app] of [Ndt_Mapping] option under [Computing], if pcl_anh_gpu cannot
be used, replace [pcl_generic] as follows:
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
ndt mapping。
The coordinate system conversion from “world” to “map” and the coordinate system
conversion from “base_link” to “velodyne” are fixed, using TF of ROS will work. The mapping
from “map” to “base_link” requires a scan-to-map algorithm, and Autoware uses “ndt mapping” for
map creation.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Enter Unity, the language can be selected under the settings page. Click to install the compiler
version (recommended version 2020.3.36f1)
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(2) 点击 add package from disk 。Click “Add package from disk”
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(4) 进入以下界面则表示正常,开始导入地图。
If the following interface shows up, it indicates no errors. Get started to load the map.
Load the recorded pcd map into the compiler, drag and drop, or click to add.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Drag the map to the sampleScene directory, and the point cloud information will be displayed.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Click the “ADASGoLane” option on the left side of the list to start drawing the path in the map.
Click on the coordinate system on the right side to view the map in different angles.
“Before” is the starting point, “After” is the direction pointed by the arrow. X, Y, Z can be dragged,
adjust X and Y to draw the path, click “AddAfter” to add lane at the turning point, and Z should be
close to the ground.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
坐标里。在重点闭合时也是同样的方法。
When running a closed-loop trajectory in Autoware, it is usually necessary to draw two sets of
lane segments to form a closed loop. In this case, click “collectionlane”, then click “Add lane”
on the right to add a new ADASGoSlicesLane, and click ADASGoLane under the new
ADASGoSlicesLane to continue drawing the path. Please note that the starting point of the new
path is connected/overlapped with the end point of the previous path. The connection method is
to copy the X, Y, and Z coordinates of the end point of the previous path to the new starting
point coordinates of the new path. The same method is used to close the map joints.
(6) 拐角处的曲线绘制。在实际地图中拐弯的地方一般都比较圆滑,所以我们需要将直角切
割画弧已得到较好的路线。一般的方法是我们在绘制路线时在路线拐角的地方先绘制一
条类似于上面长方形的一条边的直线,然后一一处理,处理的方法如下:
Curve drawing at the turning corner. In the physical environment, the turning corners of the
roads are generally smooth, in the vector map building process, we need to cut the right angle
to make it arc-shaped so the map corner will be smooth, aligning with the physical environment.
The common practise is to draw a straight line at the corner of the path, and then trim the lane
step by step.The detailed steps are as follows:
选中拐角的线段,点击 Subdivision,线的中间出现两个小坐标系,拖动形成弧线后点击
右侧 Normal Way。
Select the line segment at the corner, click “Subdivision”, two small coordinate systems appear
in the middle of the line, drag to form an arc and click “Normal Way” on the right.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
Please process other corner line segments in the same way. For non-corner lines, they should
also be selected, then click “Subdivision”, then click “Normal Way”, and the path drawing is
completed.
Save the file. Click AutowareADASMap, click Save, and select a folder to save the file.
简单地图绘制完成导出文件,接下来进行实车测试。
The simple map drawing is completed and the file export is completed. The next step is running
the physical vehicle under the vector map.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
点云滤波:启动点云下采样 voxel_grid_filter。
Point Cloud Filtering: Start point cloud down sampling “voxel_grid_filter”
(1) 点击 sensing 下的【voxel_grid_filter】。对激光雷达的原始点云进行降采样,⽬的是为了
提取特征, 减少 ndt_matching 的计算量,点击[app],设置[Voxel Leaf Size] 参数值为 2,
意义是 2 米的立方体内的全部点近似用 1 个质心代替,
[Measurement Range]的参数值为 2,
意义是点云的有效的距离为 200 米。
(1) Click [voxel_grid_filter] under sensing. Down sampling the original point cloud of the lidar is to
extract features and reduce the calculation amount of ndt_matching. Click [app] and set the
parameter value of [Voxel Leaf Size] to 2, which means all points within a 2-meter cube It is
approximately replaced by 1 centroid, and the parameter value of [Measurement Range] is 2, which
means that the effective distance of the point cloud is 200 meters.
(2) 点击 voxel_grid_filter 后,在 rviz 里更换 Fixed Frame 为 velodyne,并在 rviz 里 sensing 下
更换 topic 为/filtered_points。
(2) After clicking “voxel_grid_filter”, replace “Fixed Frame” with “velodyne” in rviz, and replace
topic with “/filtered_points” under sensing in rviz.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
启动 ray_ground_filter。是对降采样后的点云进行点云地面过滤,将地面点和非地面点
进行分离。没有启动地面过滤之前的点云图像如下。
Start “ray_ground_filter”. It is to perform point cloud ground filtering on the point cloud after
downsampling, and separate ground points and non-ground points. The point cloud image without
ground filtering is as follows.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
https://blog.csdn.net/m0_57579469/article/details/122159235?spm=1001.2014.3001.5502
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
10.1 定位 Positioning
可以这样来做一个通俗的理解:NDT 把我们所处的三维世界按照一定长度的立方体(比如
30cm*30cm*30cm)进行了划分,类似于一个魔方,每个立方体内并不是存储一个或一些确切的
点,而且存储这个立方体被占据的概率密度,当接收到需要匹配的点云时,也按照这样的划分
方式进行划分,然后进行配准。
A popular understanding can be done like this: NDT divides the three-dimensional world we
live in into cubes of a certain length (such as 30cm*30cm*30cm), similar to a Rubik's cube, each
cube does not store one or some exact points, and The probability density of the cube being
occupied is stored, and when the point cloud to be matched is received, it is also divided according
to this division method, and then registered.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
基于激光雷达的目标检测 Demo(只展示流程和功能,不对性能进行承诺或保证)。
Demo of target detection based on lidar (only shows the process and function, no promise or
guarantee of performance).
(1) 跟随前一章节继续,点击 computing 下的[lidar_euclidean_cluster_detect](对非地面点进行
聚 类 , 目 标 检 测 ) 。 Continue following the previous chapter, click
[lidar_euclidean_cluster_detect] under computing (clustering non-ground points, target
detection).
https://www.opticsjournal.net/Articles/OJ1279646d92f5b1ba/FullText
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
推荐资料:Recommended information:
https://autoware.readthedocs.io/en/feature-documentation_rtd/DevelopersGuide/PackagesAPI/
detection/lidar_imm_ukf_pda_track.html
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
使用前务必阅读并清楚 13.安全使用注意事项。
Be sure to read and understand Chapter 13. “Precautions for safe use" before use.
运行流程:Running process:
(1) 参照 3.传感器的数据获取(基于 ROS)检查基础硬件是否正常。
(1) Refer to Chapter 3. “Sensor data acquisition (based on ROS)” to check whether the basic
hardware is normal.
(2) 启动雷达和 autoware。车放在录制地图的起点,方便初始定位。启动雷达(roslaunch
rslidar_sdk start.launch),通过输入指令 rviz 打开(可视化界面),启动 autoware(roslaunch
runtime_ manager runtime_ manager . launch)。
(2) Start the Lidar and autoware. The chassis is placed at the starting point of the recorded map to
facilitate initial positioning. Start the radar (roslaunch rslidar_sdk start.launch), open it by entering
the command rviz (visual interface), and start Autoware (roslaunch runtime_ manager runtime_
manager . launch).
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(2) Click [2D Nav Goal] in rviz and click to give an end goal, and the blue trajectory line will
appear to indicate that the planning is successful.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
(2) Chassis control and pure tracking: Start [pix autoware bridge], [pix driver], and [pix socketcan
bridge] chassis control nodes in order under Computing; then click [pure pursuit] pure tracking
node to set the running speed; then click [ Twist filter], perform low-pass filtering on the vehicle
speed output by the pure_suit node, to eliminate clutter and make the speed smoother.
可以看到规划的局部路径(红线部分),前方无障碍物会规划线变绿表示可通行。
You can see the planned local path (the part of the red line), and if there are no obstacles ahead,
the planned line will turn green to indicate that it is passable.
遥控器放权。切换自动驾驶模式,即可行驶。如果速度太快,在【pure pursuit】下更改
速度。Release the remote control. Switch the automatic driving mode to drive. If the speed is too
fast, change the speed under 【pure pursuit】.
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
第二步:Second Step:
如果做完以上两步之后并没有出现下图的安装进度条,这证明你的软件下载并没有激活,必
须先进行软件激活,需要进行如下操作激活软件。If the installation progress bar as shown in the
figure below does not appear after completing the above two steps, it proves that your software
download has not been activated. You must activate the software first, and you need to perform the
following operations to activate the software.
警告/Warning
3、在使用本产品之前请详细阅读产品使用说明书或参加相关培训,严禁将车辆交予未经
操作培训的人员独自操作使用。Before using this product, please read the product instruction
manual in detail or participate in relevant training. It is strictly forbidden to hand over the
vehicle to those who have not been trained to operate it alone.
4、如需在人员密集的街道、超市、商场等场所开展测试工作,应保证有安全措施条件下
进行。如:应在有人员及其它车辆出入的路段设置显眼的提示标志,必要情况下将车辆
运行路段进行封闭管理等。If it is necessary to carry out testing work in crowded streets,
supermarkets, shopping malls and other places, it should be carried out under the condition of
ensuring safety measures. For example, conspicuous reminder signs should be set up on the
road sections where people and other vehicles enter and exit, and the road sections where
vehicles are running should be closed for management if necessary.
6、车辆正常运行的过程中禁止任何人员进入车辆行驶前方 15 米内区域。人工驾驶模式
下操作者请时刻保持车辆处于视线范围以内, 同时密切关注车辆运行环境变化,及时提
醒过往行人注意避让车辆或者停车让行;车辆处于自动驾驶模式时请务必提前确认运行
We live we move
PIXKIT-自动驾驶使用教程
PIX-KIT-HOOKE Autonomous Driving User Manual
7、车辆在出厂前已经过检验测试,并对其最高车速进行限制,严禁私自更改车辆基本结
构或控制软件,若因车辆运行实际情况必须要对车辆结构参数进行更改,必须经过本公
司进行技术确认,并在本公司专业工程师指导下进行相关操作。若因私自更改车辆导致
车辆受损或因此引发安全事故,本公司概不承担相关责任。The vehicle has been inspected
and tested before leaving the factory, and its maximum speed is limited. It is strictly forbidden
to change the basic structure or control software of the chassis without permission. If the
chassis structure parameters must be changed due to the actual operation of the chassis, it must
be technically confirmed by our company. And carry out relevant operations under the guidance
of our professional engineers. If the chassis is damaged due to unauthorized modification of the
vehicle or a safety accident is caused by it, the company will not be responsible for it.
8、如果车辆出现任何异常问题,如制动失效、转向失效等故障必须立即停止车辆使用,
严禁车辆带故障运行,以保证人员和财产不至于受到威胁。If the chassis has any abnormal
problems, such as brake failure, steering failure and other failures, the chassis must be stopped
immediately. It is strictly forbidden to run the chassis with failures to ensure that people and
property will not be threatened.
We live we move