Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robustify Ulanding Radar #24333

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,15 @@ int AerotennaULanding::collect()

index--;
}

} else {
return -EAGAIN;
}

if (!checksum_passed) {
return -EAGAIN;
perf_count(_comms_errors);
perf_end(_sample_perf);
return -EBADMSG;
}

_px4_rangefinder.update(timestamp_sample, distance_m);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

using namespace time_literals;

#define ULANDING_MEASURE_INTERVAL 10_ms
#define ULANDING_MEASURE_INTERVAL 12_ms
#define ULANDING_MAX_DISTANCE 50.0f
#define ULANDING_MIN_DISTANCE 0.315f
#define ULANDING_VERSION 1
Expand Down
Loading