Skip to content

Conversation

@r0s4ngeles
Copy link

@r0s4ngeles r0s4ngeles commented Nov 13, 2025


Basic Info

Info Please fill out this column
Ticket(s) this addresses (add tickets here #5611 )
Primary OS tested on (Ubuntu)
Robotic platform tested on (Steve's Robot, gazebo simulation of Tally, hardware turtlebot)
Does this PR contain AI generated software? (No; Yes and it is marked inline in the code)
Was this PR description generated by AI software? Out of respect for maintainers, AI for human-to-human communications are banned

Description of contribution in a few bullet points

Description of documentation updates required from your changes

Description of how this change was tested


Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
  • Should this be backported to current distributions? If so, tag with backport-*.

@r0s4ngeles r0s4ngeles force-pushed the fix/covariance-validation-5611 branch from e060dde to 761c40e Compare November 13, 2025 12:21
}

const double MAX_COVARIANCE = 1e6;
const double MIN_COVARIANCE = 1e-4;
Copy link
Member

Choose a reason for hiding this comment

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

A zero-value is possible / valid

if (!validateMsg(element)) {return false;}

if (std::abs(element) > MAX_COVARIANCE || std::abs(element) < MIN_COVARIANCE) {
// Reject extreme values (security: prevent DoS attacks)
Copy link
Member

@SteveMacenski SteveMacenski Nov 14, 2025

Choose a reason for hiding this comment

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

How would this be a DoS? I think this should just mention checking for covar valid range

@mergify
Copy link
Contributor

mergify bot commented Nov 20, 2025

@r0s4ngeles, your PR has failed to build. Please check CI outputs and resolve issues.
You may need to rebase or pull in main due to API changes (or your contribution genuinely fails).

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