Quote:
|
Our target selection code loops through the target info array looking for the maximum or minimum x or y, depending on which hoop the gunner wants it to track. The result is a single target cluster of x, y, and distance. The x value gets used to rotate the turret; y and distance control shot angle and strength.
|
Yeah, come to think of it, looping through the array to select a target would be what I'd have done. I'm not sure how to loop through an array in LabVIEW, though...