grudolph
unread,Jul 29, 2008, 2:04:53 PM7/29/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Systronix TrackBot
In a previous post, I had described that when running the
TrackbotCommonV2 demo code, and WarmBodyHunterTest on a SunSPOT
Trackbot, that WarmBodyHunterTest ran as expected, but Avoider and
Wanderer did not run as expected. The latter two applications would
make the robot go forward and backward, or do nothing, in little
chaotic fits, with no apparent pattern.
Since the hardware seemed to be running fine (other applications run
fine), I surmised from watching the LEDs that the sensor ranges must
be too long, as readings were very chaotic even when the robot was
sitting still. Reflected signals must be giving false readings...
Once I figured out where the sensor ranges are being set, I compared
WarmBodyHunterTest settings to Avoider settings. Sure enough,
WarmBodyHunter sets the corner, side and cliff sensors to short range
(1), while Avoider sets the corner sensors to 3 (long), the side
sensors to medium (2), and the cliff sensors to short (1).
After setting the sensor ranges to short range in Avoider, both
Avoider and Wanderer demos work as expected in long, 9-foot wide
hallways.