drexel_darwin_walkthrough
This is an old revision of the document!
Table of Contents
Sample Darwin Tutorial Walkthrough
In Darwin, there are many in-built tutorials that will guide you through the basics of various functions. I will go through only some of them.
Head Tracking
Get to the “head_tracking” folder in the directory darwin→Linux→project→tutorial→head_tracking.
$ cd /darwin/Linux/project/tutorial/head_tracking $ sudo su # make # ./head_tracking
The command make creates compiles the head_tracking.cpp that is already in the folder and produces the executable file that can be run by keying ./head_tracking.
Colour of the item tracked by the Darwin can be calibrated as such.
- Open a firefox browser.
- Type in the correct IP address in the address bar.
- Change the ball hue to dictate the colour of the item you want Darwin to track.
- 60 - Yellow
- 170 - Green
- 210 - Blue
- The object that bears the colour is tracked will be shaded in red in the feed from the camera.
- There are other options to play around with to further narrow down the range of hue that Darwin will recognize.
Ball Following
Get to the “ball_following” folder in the directory darwin→Linux→project→tutorial→ball_following.
# cd /darwin/Linux/project/tutorial/ball_following # make # ./ball_following
drexel_darwin_walkthrough.1478488071.txt.gz · Last modified: 2016/11/06 19:07 by dwallace