Closed harshilgarg closed 10 years ago
This issue was resolved here by creating a MaxbotixUltrasonic class.
Actually the MaxShootDistance is a property of the shooter, not the sensor.
Alright, I will edit the code to reassign that value to the Launcher class then.
Two values need to be removed from the Launcher class, and placed in an MaxbotixUltrasonic class that extends AnalogChannel, in order to improve object-oriented programming and standardize all ultrasonic rangefinders.