# Fiducials with a depth camera

**URL:** <https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294>\
**Category:** General Questions\
**Created:** [April 15, 2019, 9:32pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294 "2019-04-15T21:32:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 15, 2019, 9:32pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/1 "2019-04-15T21:32:57Z")

</div>

Can the aruco markers be used with a depth camera like a Kinect or Asus? What kind of camera calibration is needed?

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [April 17, 2019, 5:56pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/2 "2019-04-17T17:56:04Z")

</div>

If the depth camera has a RGB camera you can use that, but we don’t make any use of the depth information.

You will need to calibrate the RGB camera with a checkerboard.

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 17, 2019, 6:51pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/3 "2019-04-17T18:51:16Z")

</div>

#### Running command: “make -j8 -l8” in “/home/jackrabbot/catkin\_ws/build/fiducials/fiducials”

#### 

make[1]: \*\*\* No rule to make target ‘fiducials/fiducials/all’. Stop.  
Makefile:138: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2  
Invoking “make -j8 -l8” failed

I just failed to make the package.

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [April 17, 2019, 6:53pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/4 "2019-04-17T18:53:27Z")

</div>

Ok, that is not enough information to debug.

Please list every step you took. What did you run?

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 17, 2019, 7:00pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/5 "2019-04-17T19:00:20Z")

</div>

I did a catkin\_make --pkg fiducials.

I also deleted the catkin and tried apt install then I get:

ODES  
/  
fiducial\_slam (fiducial\_slam/fiducial\_slam)

ROS\_MASTER\_URI=http://192.168.1.8:11311

ERROR: cannot launch node of type [fiducial\_slam/fiducial\_slam]: can’t locate node [fiducial\_slam] in package [fiducial\_slam]  
No processes to monitor

---

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [April 17, 2019, 7:01pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/6 "2019-04-17T19:01:52Z")

</div>

@anfederman

Please tell me every command that you ran to build, as well as what you did for the apt install and what you did to launch.

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 17, 2019, 8:05pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/7 "2019-04-17T20:05:52Z")

</div>

I did a sudo apt install ros-kinetic-fiducials

rosdep update  
then  
$ roslaunch openni2\_launch openni2.launch &  
$ roslaunch fiducial\_slam fiducial\_slam.launch

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 17, 2019, 8:07pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/8 "2019-04-17T20:07:18Z")

</div>

Trying to get a ASUS depth camera to work. openni2 loads and I see images. Still need to calibrate the camera.

---

<div class="post-metadata">

**Author:** ![anfederman](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/anfederman/32/141_2.png) [@anfederman](https://forum.ubiquityrobotics.com/u/anfederman)\
**Post date:** [April 22, 2019, 6:24pm UTC](https://forum.ubiquityrobotics.com/t/fiducials-with-a-depth-camera/294/9 "2019-04-22T18:24:56Z")

</div>

I got it working up to the point of camera calibration. When I try to run the Openni2 launch with my rgb calibration file it Barfs because it conflicts with the depth camera. With no calibration file fiduciary image topics are echoed, but nothing is being detected.
