小R科技-WIFI机器人网·机器人创意工作室

 找回密码
 立即注册
查看: 7573|回复: 0

小R ROS SLAM激光雷达小车命令运行笔记

[复制链接]
发表于 2019-11-5 23:13:28 | 显示全部楼层 |阅读模式
本文链接:https://blog.csdn.net/zhqh100/article/details/97245317原作者: zhqh100

单独操作的话,每步前都需要执行如下指令

ssh xrrobot@192.168.3.170
123456
roslaunch xrrobot bringup.launch


1. IMU校准命令

roscd xrrobot
cd param/imu/
rostopic echo /imu/data
rosrun imu_calib do_calib


2. 角速度校准
上位机需要修改/etc/hosts,把ip地址修改正确

rosrun rikirobot_nav calibrate_angular.py
--------------------------------------------
# PC上执行
rosrun rqt_reconfigure rqt_reconfigure
--------------------------------------------
roscd xrrobot/launch/
vim bringup.launch        #"angular_scale"


3. 线速度校准

rosrun rikirobot_nav calibrate_linear.py
-----------------------------------------
# PC端执行
rosrun rqt_reconfigure rqt_reconfigure
-----------------------------------------
roscd xrrobot/launch/
vim bringup.launch    #"linear_scale"


4. PID校准

rosrun riki_pid pid_configure
---------------------------------
# PC端执行
rosrun rqt_reconfigure rqt_reconfigure
---------------------------------
rosrun teleop_twist_keyboard teleop_twist_keyboard.py
---------------------------------
catkin_ws/src/xrrobot_project/riki_pid/cfg/rikiPID.cfg
catkin_ws/src/xrrobot_project/riki_pid/src/pid_configure.cpp


5. 键盘地图建立

roslaunch xrrobot lidar_slam.launch
--------------------------------------
# PC端执行
rosrun rviz rviz
--------------------------------------
# PC端执行
rosrun teleop_twist_keyboard teleop_twist_keyboard.py
--------------------------------------
roscd xrrobot/maps/
./map.sh


6. 机器人自主导航与动态避障

roslaunch xrrobot navigate.launch
-------------------------------------
# PC端执行
rosrun rviz rviz


7. 鼠标建图自主规避障碍物

roslaunch xrrobot lidar_slam.launch
---------------------------------------
# PC上运行
rosrun rviz rviz
---------------------------------------
roscd xrrobot/maps/
./map.sh


8.机器人选择区域自动构建地图

roslaunch xrrobot auto_slam.launch
-------------------------------------
# PC端执行
rosrun rviz rviz
---------------------------------------
roscd xrrobot/maps/
./map.sh


9. 多点导航

roslaunch xrrobot navigate_multi.launch
-------------------------------------
# PC端执行
rosrun rviz rviz
---------------------------------------
roscd xrrobot/maps/
./map.sh


10. 安卓手机建图

roslaunch xrrobot lidar_slam.launch
Android运行Make Map.apk

11. 安卓手机导航

roslaunch xrrobot navigate.launch
应该是运行 ROS Map Navigation Kinetic_v1.0.0.apk

12. 激光雷达跟随

roslaunch riki_lidar_follower laser_follower.launch



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

新品特惠推荐上一条 /2 下一条

QQ|QQ技术咨询1|QQ技术咨询2|商务合作微信1:xiaorgeek001|商务合作微信2:XiaoRGEEK|诚聘英才|Archiver|手机版|小R科技-WIFI机器人网·机器人创意工作室 ( 粤ICP备15000788号-6 )

GMT+8, 2024-11-23 00:07 , Processed in 1.132112 second(s), 18 queries .

Powered by XiaoR GEEK X3.4

© 2014-2021 XiaoR GEEK

快速回复 返回顶部 返回列表