Skip to content

Conversation

@Cynosure-null
Copy link

#1100 added logging, however a non-crashing outcome would be ideal as the exception won't be handled

@github-actions github-actions bot added the PathPlannerLib Changes to PathPlannerLib label Apr 10, 2025
Comment on lines +932 to +935
if (!m_waypoints.at(i+1).nextControl) {
throw std::runtime_error(
"PathPlannerPath::samplePath: Waypoint " + std::to_string(i+1)+ " .nextControl is null");
}
Copy link
Owner

Choose a reason for hiding this comment

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

This would always fail for every path. The end waypoint does not have a nextControl point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PathPlannerLib Changes to PathPlannerLib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants