iai_kinect2 | Tools for using the Kinect One in ROS | Robotics library
kandi X-RAY | iai_kinect2 Summary
kandi X-RAY | iai_kinect2 Summary
Please read this README and the ones of the individual components throughly before asking questions. We get a lot of repeated questions, so when you have a problem, we urge everyone to check the github issues (including closed ones). Your issue is very likely discussed there already. The goal of this project is to give you a driver and the tools needed to receive data from the Kinect-2 sensor, in a way useful for robotics. You will still need to know how to use ROS to make use of it. Please follow the ROS tutorials. You will also need to learn how to work with point-clouds, or depth-clouds, or images (computer vision) to do useful things with the data.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of iai_kinect2
iai_kinect2 Key Features
iai_kinect2 Examples and Code Snippets
Community Discussions
Trending Discussions on iai_kinect2
QUESTION
I don't have much knowledge about cmake. I installed a package libfreenect2 following the instructions on their github page. The instructions were as follows-
Clone the repository. And follow the cmake step:
...ANSWER
Answered 2017-Jan-23 at 20:17My warm suggestion would be to repeat the process with that option ON
.
First you should delete what was previously generated.
The sequence of commands to follow is the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iai_kinect2
Install the ROS. Instructions for Ubuntu 14.04
Setup your ROS environment
Install libfreenect2: Follow the instructions and enable C++11 by using cmake .. -DENABLE_CXX11=ON instead of cmake ... If you are compiling libfreenect2 with CUDA, use cmake .. -DENABLE_CXX11=ON -DCUDA_PROPAGATE_HOST_FLAGS=off. If something is not working, check out the latest stable release, for example git checkout v0.2.0.
Clone this repository into your catkin workspace, install the dependencies and build it: cd ~/catkin_ws/src/ git clone https://github.com/code-iai/iai_kinect2.git cd iai_kinect2 rosdep install -r --from-paths . cd ~/catkin_ws catkin_make -DCMAKE_BUILD_TYPE="Release" Note: rosdep will output errors on not being able to locate [kinect2_bridge] and [depth_registration]. That is fine because they are all part of the iai_kinect2 package and rosdep does not know these packages. Note: If you installed libfreenect2 somewhere else than in $HOME/freenect2 or a standard location like /usr/local you have to specify the path to it by adding -Dfreenect2_DIR=path_to_freenect2/lib/cmake/freenect2 to catkin_make.
Connect your sensor and run kinect2_bridge: roslaunch kinect2_bridge kinect2_bridge.launch
Calibrate your sensor using the kinect2_calibration. Further details
Add the calibration files to the kinect2_bridge/data/<serialnumber> folder. Further details
Restart kinect2_bridge and view the results using rosrun kinect2_viewer kinect2_viewer kinect2 sd cloud.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page