Install Ubuntu 16.04 Xenial on the Pi
Ok, lets do this. First we need to download the image for the Pi. I am betting this will work with the Pi 2 as well but I only tested it on the Pi 3.Here are some links to some of the Pi images:
- Raspberry Pi 2
- Raspberry Pi 3 - Thanks to Ryan Finnie
I used an Ubuntu Laptop to format the SD card and write the image to it. But here is the tutorials from the Raspberry Pi foundation:
Now boot up the raspberry pi. If you used the image from Ryan Finnie, the username/password is ubuntu. You will be prompted to change the password so remember what you change it to.
Install ROS (Kinetic Distro)
We have some updates first
Then install ROS and setup your work space
Install Some ROS Packages
ROS has some packages that you can now install via apt. Here are the ones that I installed to work with the kinect and a few others that are useful as well
I had to reboot after this as well.
Using Your Kinect With ROS
Here is how you start the core ROS process which will be the "master"
I like to run the process in the foreground and just open a new terminal but that is up to you. In a new terminal you can start the node for the kinect by running
ROS should be publishing topics now. A topic is like a data object or an endpoint of an API. You can see the topics by running You will notice that one of the endpoints is /camera/rgb/image_color. We can look at the RGB image with image_view like so
That should bring up a small window in which you can see what your Kinect sees in RGB. Now you can mess with it and see some other cool stuff as well since the Kinect node publishes several different data types.
I will be doing these in the following in the future:
- Dumb ROS Explaination
- Master/Slave ROS setup
- Recording Data published on ROS
- Visualizing Data in RViz
- Using python to access ROS programmatically
Bill of Materials
- Raspberry Pi 3
- Kinect for Xbox 360 - I got mine at GameStop for ~$35 w/ the AC adapter
- AC Adapter
- If you don't already have a bunch of Micro USB Cables, you will need one for the raspberry pi
- Keyboard & Mouse for working on the pi
Works Cited
- https://www.youtube.com/watch?v=OqOkpZBOpxY
- http://stackoverflow.com/questions/23901220/how-do-i-get-kinect-depth-image-data-in-centimeters-using-the-libfreenect-python
- http://mathnathan.com/2011/02/depthvsdistance/
- https://groups.google.com/forum/#!topic/openkinect/k6exs5hDyQ4
- http://wiki.ros.org/rosbag/Code%20API
- http://www.cs.bham.ac.uk/internal/courses/int-robot/2015/notes/map.php
- http://wiki.ros.org/kinetic/Installation/Ubuntu
TITOR OD MULTIMUM CONSTITUTE DUTY TATON IN
ReplyDeleteThe TATON IN titanium fidget spinner MULTIMUM CONSTITUTE black titanium fallout 76 DUTY TATON titanium automatic watch IN ford fiesta titanium MULTIMUM CONSTITUTE DUTY TATON IN MULTIMUM CONSTITUTE DUTY TATON IN MULTIMUM CONSTITUTE DEBUTS titanium or ceramic flat iron
o290r3xoyfc795 bulk sex dolls,horse dildo,dildos,wolf dildo,women sexy toys,couples sexy toys,women sexy toys,sex toys,dog dildo z153n8qpzfr649
ReplyDelete