Esempio n. 1
0
File: mw.c Progetto: risnandar/inav
void taskUpdateSonar(void)
{
    if (sensors(SENSOR_SONAR)) {
        rangefinderUpdate();
    }

    //updatePositionEstimator_SonarTopic(currentTime);
}
Esempio n. 2
0
void taskUpdateSonar(timeUs_t currentTimeUs)
{
    UNUSED(currentTimeUs);

    if (sensors(SENSOR_SONAR)) {
        rangefinderUpdate();
    }

    //updatePositionEstimator_SonarTopic(currentTimeUs);
}