# Fiducial Follow - Camera Orientation

**URL:** <https://forum.ubiquityrobotics.com/t/fiducial-follow-camera-orientation/593>\
**Category:** Uncategorized\
**Created:** [July 24, 2020, 8:29pm UTC](https://forum.ubiquityrobotics.com/t/fiducial-follow-camera-orientation/593 "2020-07-24T20:29:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mjstn2011](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/mjstn2011/32/30_2.png) [@mjstn2011](https://forum.ubiquityrobotics.com/u/mjstn2011)\
**Post date:** [July 25, 2020, 12:30am UTC](https://forum.ubiquityrobotics.com/t/fiducial-follow-camera-orientation/593/2 "2020-07-25T00:30:21Z")

</div>

The main things that matter for use of fiducial follow is that the ROS level software knows the orientation of the camera and the sizes of the fiducials are also known.

The orientation of the raspicam is set relative to base\_link of the robot and is in a file called magni.urdf.xacro which is a heavy duty XML file found well under /opt/ros/kinetic on our images.

In our magni\_robot repository but not yet on our images we were starting to play around with a raspicam pose of ‘downward’ to do the sort of thing you are asking about, following fiducials on the floor. For a while I had a page discussing this sort of technique but since the software was not really official to do it we decided not to publish that page any longer.

Take a look at the ‘downward’ section near the end of magni.urdf.xacro in our floor\_follow branch of the magni\_robot repository which was where we were playing around with the sort of thing you describe. That is unsupported code just being messed with but you can look for some thoughts you may want to go after for your own needs.  
So select branch of floor\_follow then look in magni\_robot/magni\_description/urdf/magni.urdf.xacro for just some ideas.

Then in the demos repository there was a branch also called floor\_follow where I discussed what was involved to some extent and below that demos repository in branch floor\_follow was floor\_follow.py. All of that was put on hold and is not part of our product. Consider it a 'science experiment not very sound and certainly not a product at all. BUT you may find it interesting for ideas and so on.

It would not be a ‘slam dunk’ easy thing in any way to get all you are discussing working but above I offer some help in the way of code and urdf file that may help you get started.

---

_[View the full topic](https://forum.ubiquityrobotics.com/t/fiducial-follow-camera-orientation/593)._
