felixge / node-ar-drone

A node.js client for controlling Parrot AR Drone 2.0 quad-copters.
http://nodecopter.com/
MIT License
1.76k stars 428 forks source link

how to configure the drone to be able to detect more than one tag? #97

Open lu-x opened 10 years ago

lu-x commented 10 years ago

the drone should be able to detect up to four tags (http://www.msh-tools.com/ardrone/ARDrone_Developer_Guide.pdf). without further configuration the drone only gives back information (distance, position etc. for one tag)

Flolagale commented 10 years ago

Hey @kas70, did you manage to detect the stripped colored tags with the horizontal camera? What configuration do you use? I was only able to detect the oriented roundel from the vertical camera and would appreciate any input, thanks.

lu-x commented 10 years ago

yes, i configured the drone to detect the orange/green stripped tags with the front camera. my configuration: client.config('detect:detect_type', 2) //take a look at https://github.com/felixge/node-ar-drone/blob/master/lib/constants.js. Tag-Types are defined under constants.TAG_TYPE.

i think video channel (camera) should be 0 (front camera) by default. if not use client.config('video:video_channel', 0).

sorry for answering so late!

Flolagale commented 10 years ago

Thanks a lot, I'll try this asap! Le 27 juil. 2014 11:30, "kas70" notifications@github.com a écrit :

yes, i configured the drone to detect the orange/green stripped tags with the front camera. my configuration: client.config('detect:detect_type', 2) //take a look at https://github.com/felixge/node-ar-drone/blob/master/lib/constants.js. Tag-Types are defined under constants.TAG_TYPE.

i think video channel (camera) should be 0 (front camera) by default. if not use client.config('video:video_channel', 0).

sorry for answering so late!

— Reply to this email directly or view it on GitHub https://github.com/felixge/node-ar-drone/issues/97#issuecomment-50259946 .