small fixes

This commit is contained in:
Simon Pirkelmann 2019-08-12 12:10:52 +02:00
parent 609a890572
commit db615af775

View File

@ -121,7 +121,7 @@ $ roscore
- Plug in the camera and start the camera node: - Plug in the camera and start the camera node:
``` ```
$ rosparam set cv_camera/device_id 0 # make sure to set the correct device id for your camera! $ rosparam set cv_camera/device_id 0 # make sure to set the correct device id for your camera!
$ roslauch cv_camera cv_camera_node $ rosrun cv_camera cv_camera_node
``` ```
- Optional: Check if the camera works correctly; - Optional: Check if the camera works correctly;
@ -142,6 +142,7 @@ $ roslaunch aruco_detect aruco_detect.launch camera:=cv_camera image:=image_raw
$ rosrun image_view image_view image:=/fiducial_images $ rosrun image_view image_view image:=/fiducial_images
``` ```
Place a marker in the field of view of the camera and check if it gets correctly detected by the image detection, i.e. there is a border around the square of the marker and arrows indicating its orientation. Place a marker in the field of view of the camera and check if it gets correctly detected by the image detection, i.e. there is a border around the square of the marker and arrows indicating its orientation.
![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_3.jpg) ![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_3.jpg)
![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_4.jpg) ![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_4.jpg)
If the marker is not detected correctly, please check that you are using the correct dictionary, that you camera was calibrated and that you are launching the `aruco_detect` node with the correct parameters If the marker is not detected correctly, please check that you are using the correct dictionary, that you camera was calibrated and that you are launching the `aruco_detect` node with the correct parameters