Skip to content

Feat/traversability cleanup - #206

Merged
Aryan-Naveen merged 5 commits into
developfrom
feat/TRAVERSABILITY_CLEANUP
Oct 20, 2026
Merged

Aryan-Naveen merged 5 commits into
developfrom
feat/TRAVERSABILITY_CLEANUP

Conversation

@Aryan-Naveen

Copy link
Copy Markdown
Contributor

No description provided.

@nathanhhughes nathanhhughes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely need an archival mechanism for the footprint integrator, but otherwise LGTM! Would like to eventually clean up the TSDF / traversability layer interaction and how resetting works, but probably better in a follow-on PR (or might take a pass at this myself depending on timing)

protected:
TraversabilityEstimator::Ptr estimator_;
const TraversabilityProcessors postprocessing_;
//! Persistent traversability layer, allocated on the first update.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) protected members don't need documentation

Comment on lines +77 to +80
/**
* @brief Processor whose changes persist, i.e., applied to the stored traversability
* layer.
*/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) //! Docstring is shorthand for a single @brief entry (and I would prefer single line docstrings when possible)

Comment on lines +153 to +154
//! @brief Minimum corner of the robot footprint in body frame [m]. Only x/y are
//! used.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto for single line docstring

Comment thread hydra/include/hydra/places/traversability_postprocessing.h
Comment on lines 104 to 105
// TODO(lschmid): Find a nicer way than copying the layer here. Should not be too
// expensive though.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can drop the TODO now that the transient processors require copying the layer

Comment thread hydra/src/frontend/traversability_place_extractor.cpp
Comment on lines +155 to +158
Eigen::Vector3f bbox_min = Eigen::Vector3f::Zero();
//! @brief Maximum corner of the robot footprint in body frame [m]. Only x/y are
//! used.
Eigen::Vector3f bbox_max = Eigen::Vector3f::Zero();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer these to be Eigen::Vector2f given the usage inside the class

}
}
}
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this as an implementation as long as it archives indices from the footprint. Two concerns: (i) the memory grows without bound and (ii) old footprint indices would mark things as traversable that shouldn't be due to drift or multi-floor environments

Comment on lines +70 to +71
//! Latest received grid, guarded by mutex_. Copied into the extractor's layer on
//! every update.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) no protected docs needed

@Aryan-Naveen
Aryan-Naveen merged commit 1364fe1 into develop Oct 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants