Develop Leap Motion in ROS Kinetic: Hello World
来源:互联网 发布:淘宝策划做什么工作 编辑:程序博客网 时间:2024/04/18 08:58
OS: Ubuntu 16.04.02 LTS x64
ROS: Kinetic
LeapSDK: V2 Tracking
There is a simple way to make use of Leap Motion in ROS, namely the leap_motion package. Let me show you how to deploy it to your system.
Step 1 Download and install V2 Tracking. Click here for detailed process.
Step 2 Download leap_motion package.
cd YOUR_WORK_SPACE/srcgit clone https://github.com/qqfly/leap_motion.gitcd YOUR_WORK_SPACEcatkin_make
Step 3 Export python path.
You must make sure that python can find the essential modules.
source YOUR_WORK_SPACE/devel/setup.bashexport PYTHONPATH=$PYTHONPATH:$HOME/LeapSDK/lib:$HOME/LeapSDK/lib/x64
Step 4 Run the ROS driver. Connect the Leap Motion to your computer.
sudo leapd #A new terminalLeapControlPanel #A new terminalcd YOUR_WORK_SPACEroscore #A new terminalrosrun leap_motion send.py
Now you can see the data updating in the terminal window. Refer to here for more details.
In addition, if you encounter the following problem:
[Info] Tracking initialized
[Critical] Secure WebSocket server failed to start
[Critical] WebSocket server failed to start
[Critical] Have you tried running as root/Administrator?
after you type
sudo leapd
It’s due to the problem that more than one leapd service is runing. Then you can type
sudo service leapd stop
to stop the leapd service and restart it by leapd.
- Develop Leap Motion in ROS Kinetic: Hello World
- Develop Leap Motion in Ubuntu 16.04.02 LTS: SDK install
- Qt 加载Leap motion 手势识别软件 二次开发 hello world
- Leap Motion 开发——Ubuntu 16.04.02 LTS + Python 2.7: Hello World
- ROS - “hello world!”
- ros hello world 实现
- ros hello world 实现
- Playing Kinect 2 with ROS in Ubuntu 16.04: Hello World
- leap motion
- Leap Motion
- Leap Motion
- Hello world in Java
- Hello World in ODE
- LEAP MOTION与MYO
- Leap Motion概述
- Leap Motion架构
- Leap Motion触摸仿真
- Leap Motion架构
- 面向对象
- 使用Mysql 统计一周数据,若没有数据显示为0
- fedora21 执行make menuconfig 出错解决
- WEB前端学习笔记-HTML(中)
- 银行家算法
- Develop Leap Motion in ROS Kinetic: Hello World
- 内存管理
- SVN 项目文件加载失败
- ARP协议格式和实例分析
- springSecurity工作流程学习
- RTMP协议相关
- 记一次Waiting for table metadata lock
- mos文档索引
- “敏捷落地”方面的企业内训举行,感悟颇多!