ROBOTC.net forums
http://robotc.net/forums/

How to set sonar threshold?
http://robotc.net/forums/viewtopic.php?f=69&t=9921
Page 1 of 1

Author:  johnslai [ Mon Dec 01, 2014 4:30 am ]
Post subject:  How to set sonar threshold?

Can you provide the definition of the sonar threshold functions, and how they affect distance measurement accuracy?
I am trying to detect some 3x3x3 inches colored red/blue/green cubes and their distance. These blocks are used in this year's Vex IQ high rise challenge.

setDistanceSNRThreshold(tSensors nDeviceIndex, const unsigned short nSNRValue)
setDistanceBrightnessThreshold(tSensors nDeviceIndex, const unsigned short nBrightnessValue)
setDistanceFilterFactor(tSensors nDeviceIndex, const unsigned short nFilterFactor)

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/