Writing /var/lib/dokuwiki/data/meta/tutorials/ar_ros.meta failed
tutorials:ar_ros
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:ar_ros [2019/09/10 02:38] – Add usb_cam info dgarcia | tutorials:ar_ros [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Using AR tracking in ROS ==== | + | ====== Using AR tracking in ROS ====== |
First you will need '' | First you will need '' | ||
Line 7: | Line 7: | ||
sudo apt install ros-melodic-ar-track-alvar usb-cam | sudo apt install ros-melodic-ar-track-alvar usb-cam | ||
| | ||
- | === usb cameras === | + | ===== usb cameras |
| | ||
The first thing that we need to try is to get images from your computer and send them through ROS nodes. For this we can use the test provided by usb_cam. | The first thing that we need to try is to get images from your computer and send them through ROS nodes. For this we can use the test provided by usb_cam. | ||
- | roslaunch | + | roslaunch |
| | ||
if you have multiple video devices you can choose which one to use with the '' | if you have multiple video devices you can choose which one to use with the '' | ||
- | roslaunch | + | roslaunch |
+ | |||
+ | For more information about usb_cam node options visit [[https:// | ||
+ | |||
+ | ===== Generating our own AR tags ===== | ||
+ | |||
+ | The AR tags are black and white images with a certain pattern. The computer can use this tags to know from a 2D image the 3D position and orientation of the tag (within reasonable limits). | ||
+ | To create your own tags: | ||
+ | |||
+ | cd ~/ | ||
+ | rosrun ar_track_alvar createMarker | ||
+ | |||
+ | If you do not want your markers inside your Pictures directory, '' | ||
tutorials/ar_ros.1568083097.txt.gz · Last modified: 2022/09/20 00:08 (external edit)