15 Sensor(port, ULTRASONIC_SENSOR)
17 (void)ev3_ultrasonic_sensor_get_distance(
getPort());
31 return ev3_ultrasonic_sensor_get_distance(
getPort());
38 return ev3_ultrasonic_sensor_listen(
getPort());
sensor_port_t getPort(void) const
virtual ~SonarSensor(void)
int16_t getDistance(void) const