danieltmiles/echolocation — pull request #3 by darshan- (2011-11-13 04:38:08+00:00)
Title: Allow getting based on channel rather than receiving both channels at once.

Also cleaned things up a bit by

1) Using a method rather than repeating code for each channel
2) Only iterating over the azimuth/elevation pairs once.

Note that Lists can contain duplicates, so I added a test to getAzimuths() to only add an azimuth to the List if it's new. This was necessary due to (2) above.