KAnalogChannels, kAnalogModules, kDigitalChannels, kPwmChannels, kRela圜hannels, kSolenoidChannels, kSolenoidModules, kSystemClockTicksPerMicrosecondĬreate an instance of an Ultrasonic Sensor from a DigitalInput for the echo channel and a DigitalOutputĬreate an instance of the Ultrasonic Sensor using the default module.Ĭreate an instance of the Ultrasonic sensor using specified modules. The units to return when PIDGet is calledįields inherited from class. The time that the line is high determines the round trip distance A second line becomes high as the ping is transmitted and goes low when Requires a short pulse to be generated on a digital channel. A common ultrasonic sensor, the Daventech SRF04 These sensors use two transducers, a speaker andĪ microphone both tuned to the ultrasonic range. The Ultrasonic rangefinder measures absolute distance based on the round-trip time Public class Ultrasonic extends SensorBase implements PIDSource, ISensor, LiveWindowSendable SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass Ultrasonic .SensorBase .Ultrasonic All Implemented Interfaces: LiveWindowSendable, IDevice, ISensor, PIDSource, Sendable
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |