Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 19

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 20

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 21

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 22

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/phxin.top/usr/themes/Joe/public/config.php on line 23
在ROS运行杉川Delta-1A雷达 - Hello World

在ROS运行杉川Delta-1A雷达

清歌
2022-10-17 / 0 评论 / 0 阅读 / 正在检测是否收录...

配置 lidar ros package

1.新建文件夹(自己定义文件夹名字)
mkdir  catkin
2.然后在catkin中新建src文件夹
   mkdir src
3.将你的Delta-1A-ros拷贝到src文件夹中
4.新建终端,进入创建的catkin文件夹
  cd lidar
5.在当前终端中,执行命令
catkin_make

请输入图片描述

6.配置工作环境
source devel/setup.bash

请输入图片描述

7.连接雷达
sudo chmod 777 /dev/ttyUSB0

请输入图片描述

8.修改配置文件,执行命令
gedit ~/.bashrc

请输入图片描述
在最后添加

source ~/catkin/devel/setup.bash

请输入图片描述

9.新建终端,输入命令
 roscore

请输入图片描述

运行lidar ros package

1.运行publish_node

新建终端,进入catkin/src/Delta_1A_ros/launch/文件夹,执行命令

roslaunch  delta_lidar.launch

请输入图片描述

2.运行subscribe_node

新建终端,执行命令

source devel/setup.bash
rosrun delta_lidar delta_lidar_node_client

请输入图片描述

运行lidar rviz

新建终端,执行命令

roslaunch  delta_lidar view_delta_lidar.launch

请输入图片描述

0

评论 (0)

取消