Skip to content
Open
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 @@ -923,6 +923,11 @@ bool ReedShepp::SetRSP(const int size, const double* lengths, const char* types,
bool ReedShepp::GenerateLocalConfigurations(
const std::shared_ptr<Node3d> start_node,
const std::shared_ptr<Node3d> end_node, ReedSheppPath* shortest_path) {
for (size_t i = 0; i < shortest_path->segs_lengths.size(); ++i) {
if (shortest_path->segs_lengths.at(i) == 0) {
shortest_path->segs_lengths.at(i) = 0.0001;
}
}
double step_scaled =
planner_open_space_config_.warm_start_config().step_size() * max_kappa_;

Expand Down