|
Re: Ultrasonic Sensors?
If you are using the MaxBotix ultrasonic sensor that came in the 2012 Kit, then you do not program it through the LabVIEW FRC Ultrasonic vi's.
The LV ultrasonic vi's are for a different make/model of sensor.
The MaxBotix sensor can get wired for analog and plugged into the analog bumper, then accessed as a standard analog input. The analog value has a direct correlation to inches-to-target.
It can also be wired for digital and plugged into the sidecar.
There are code examples for both analog and digital from the LV Start page under Support -> Find FRC Examples..., then Sensors->EZ1...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 25-01-2012 at 11:23.
|