a/{tracking,util}: Improve comments

This commit is contained in:
Rylie Pavlik 2024-05-03 14:20:15 -05:00
parent e6149902de
commit 2a34c8abf9
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ namespace {
if (out_relation == NULL) {
return;
}
// Clear to sane values
// Clear to identity values
U_ZERO(out_relation);
out_relation->pose.orientation.w = 1;
if (!tracked || filter_time_ns == 0) {

View file

@ -128,7 +128,7 @@ u_system_devices_static_finalize(struct u_system_devices_static *usysds,
left_index, (void *)left, //
right_index, (void *)right); //
// Sanity checking.
// Consistency checking.
assert(usysds->cached.generation_id == 0);
assert(left_index < 0 || left != NULL);
assert(left_index >= 0 || left == NULL);