ubuntu16.04安装turtlebot2,kinect v1说明 - Something TO DO

ubuntu16.04安装turtlebot2,kinect v1说明

Something TO DO posted @ 2018年1月25日 14:23 in ROS with tags ubuntu16.04 turtlebot2 kinect v1 , 3772 阅读

 

2018-1-10 系统安装

 

安装教程:参考http://wiki.ros.org/kinetic/Installation/Ubuntu安装即可

 

1,安装linux16.04系统

2,安装ROS Kinetic

 

2018-1-11 Turtlebot安装

 

Turtlebot安装

1)硬件连接示意图,硬件连接接口都有防误插,连接到kobuki上的如图所示,一个为kinect12V 5A供电接口,一个为与计算机通信的USB接口。

 

2)需要安装相应的源,可以参考indigo版本的安装说明,http://wiki.ros.org/turtlebot/Tutorials/indigo/Turtlebot%20Installation,操作基本类似,名称需要相应的改为kinetic版本,还有安装的依赖项不同。


 

3)打开终端,运行如下命令:

sudo apt-get update

sudo apt-get install ros-kinetic-turtlebot ros-kinetic-turtlebot-apps ros-kinetic-turtlebot-interactions ros-kinetic-kobuki-ftdi 
ros-kinetic-ar-track-alvar-msgs ros-kinetic-turtlebot-simulator

以上为indigo版本安装参考中的大部分kinetic版本对应的软件源,还有ros-kinetic-rocon-remocon ros-kinetic-rocon-qt-library没有安装,如果尝试安装会提示无法定位软件源,因此需要手动安装。

 

4ros-kinetic-rocon-remocon ros-kinetic-rocon-qt-library无法定位软件源,手动安装,使用git下载软件源码到ros工作目录catkin_ws/src/下(创建方法参考http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment),等待编译。

git clone https://github.com/robotics-in-concert/rocon_qt_gui.git

 

 

5)下载完成,在编译之前需要添加编译依赖资源,pyrcc5,pyrcc4,因此手动安装这两个依赖项,

 

sudo apt-get install pyqt4-dev-tools

sudo apt-get install pyqt5-dev-tools

然后编译该工作目录

cd ~/catkin_ws/

catkin_make

至此,Turtlebot就成功安装。

 

6检查别名:

 

  • 启动ros

roscore

 

  • 输入检测命令:

ls /dev/kobuki 
  • 会显示有对应的设备/dev/kobuki

  • 如果没有,添加别名:

rosrun kobuki_ftdi create_udev_rules
  • 重插USB线,在进行上述的检测命令

 

7通过遥控移动(仅TurtleBot,通过Turtlebot的上网本操作)

  1. 打开Turtlebot开关,状态点亮。

  2. 启动Turtlebot,在上网本,打开一个新终端,运行如下命令:

roslaunch turtlebot_bringup minimal.launch 
  1. 启动键盘遥控,在上网本,打开另一个新终端,运行如下命令:

roslaunch turtlebot_teleop keyboard_teleop.launch
  1. 点击键盘“i”前进。

8)安装Kinect驱动

sudo apt-get install ros-kinetic-openni-* ros-kinetic-openni2-* ros-kinetic-freenect-*

运行kinect

roslaunch freenect_launch freenect.launch

运行image_view

rosrun image_view image_view image:=/camera/rgb/image_raw

,这样应该就能看到kinect显示的图像。

Avatar_small
IRDA Online Payment 说:
2022年8月08日 00:29

The Insurance Institute of India is a very well known Institution that has two branches in India. It considered as one of the finest educational institutes when it comes to learning about Insurance. If you are a student from NSE IT then you might already know that the payment can also made online now. This guide will help you through the same process to make hassle free online payment. IRDA Online Payment In this article we will help you understand about the process through which you can make NSEIT exam payment easily from online. You can follow this method to either book your exam slots or else you can also book your batch accordingly if required.

Avatar_small
UK Board Question Pa 说:
2022年8月16日 19:37

Uttarakhand Board Model Paper 2023 Class 7 Pdf Download with Answers for English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams

Avatar_small
Patna 1st Inter Prev 说:
2022年8月17日 19:10

BSEB 11th Class Question Paper 2023, In this webpage we provide some useful link to download your Patna 1st Inter Class 11th Important Question Paper 2023 . Patna 1st Inter Previous Paper 2023 BSEB 11th Class Question Paper 2023 in ancient times Bihar was known for its education. Most of the people of the world used to come to Nalanda to study.

Avatar_small
Gujarat STD-2 Model 说:
2022年9月10日 22:20

GSEB STD-2 Model Paper 2023 Pdf Download for Gujarat State Elementary Level Primary School 2nd Class Question Paper Pdf for Gujarati Medium, Hindi Medium, English Medium & Urdu Medium Students of Gandhinagar Board at Gujarat STD-2 Model Paper. Various institutional experts have designed and suggested the GSEB 2nd Class Model Paper 2023 with sample answers Set wide as SET-A, SET-B, SET-C and SET-D to practice with regular mock tests and revisions, which helps you to get better scores in all kinds of exams held in board or school level.

Avatar_small
PSEB 7th Class Text 说:
2023年8月23日 18:25

PSEB 7th Class Book 2024 is Available here on the official web portal High School Book in pdf format are Available in Online mode. Punjab Board Class Textbook 2024 are the most Important Study Materials for the Students. Punjab High School Students can Download the E-Books and Study Materials for the Final Exam Preparation process.Here we are Providing PSEB 7th Class Textbook 2024 the Facility to Download Latest Edition PSEB Class Textbook 2024, Students You can Download for Hindi, English and Urdu Medium Schools.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee