diff --git a/.cspell-partial.json b/.cspell-partial.json
index e231eddd712ea..3a6ad2df8e60e 100644
--- a/.cspell-partial.json
+++ b/.cspell-partial.json
@@ -5,5 +5,5 @@
"perception/bytetrack/lib/**"
],
"ignoreRegExpList": [],
- "words": ["dltype", "tvmgen", "quantizer", "imageio", "mimsave"]
+ "words": ["dltype", "tvmgen", "quantizer", "imageio", "mimsave", "routable"]
}
diff --git a/perception/map_based_prediction/README.md b/perception/map_based_prediction/README.md
index bb70db1bb0fbf..a58e19db70304 100644
--- a/perception/map_based_prediction/README.md
+++ b/perception/map_based_prediction/README.md
@@ -193,7 +193,7 @@ If there are a reachable crosswalk entry points within the `prediction_time_hori
This module takes into account the corresponding traffic light information.
When RED signal is indicated, we assume the target object will not walk across.
-In additon, if the target object is stopping (not moving) against GREEN signal, we assume the target object will not walk across either.
+In addition, if the target object is stopping (not moving) against GREEN signal, we assume the target object will not walk across either.
This prediction comes from the assumption that the object should move if the traffic light is green and the object is intended to cross.
diff --git a/perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp b/perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
index 954d0dde0f2bb..321342c3d8367 100644
--- a/perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
+++ b/perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
@@ -268,7 +268,7 @@ class MapBasedPredictionNode : public rclcpp::Node
const PredictedPath & predicted_path, const std::vector
& predicted_paths);
std::optional getTrafficSignalId(const lanelet::ConstLanelet & way_lanelet);
std::optional getTrafficSignalElement(const lanelet::Id & id);
- bool calcIntentionToCrossWithTrafficSgnal(
+ bool calcIntentionToCrossWithTrafficSignal(
const TrackedObject & object, const lanelet::ConstLanelet & crosswalk,
const lanelet::Id & signal_id);
diff --git a/perception/map_based_prediction/src/map_based_prediction_node.cpp b/perception/map_based_prediction/src/map_based_prediction_node.cpp
index 2436da9925254..21697bb1b5f1a 100644
--- a/perception/map_based_prediction/src/map_based_prediction_node.cpp
+++ b/perception/map_based_prediction/src/map_based_prediction_node.cpp
@@ -1240,7 +1240,7 @@ PredictedObject MapBasedPredictionNode::getPredictedObjectAsCrosswalkUser(
for (const auto & crosswalk : crosswalks_) {
const auto crosswalk_signal_id_opt = getTrafficSignalId(crosswalk);
if (crosswalk_signal_id_opt.has_value() && use_crosswalk_signal_) {
- if (!calcIntentionToCrossWithTrafficSgnal(
+ if (!calcIntentionToCrossWithTrafficSignal(
object, crosswalk, crosswalk_signal_id_opt.value())) {
continue;
}
@@ -2292,7 +2292,7 @@ std::optional MapBasedPredictionNode::getTrafficSignalElem
return std::nullopt;
}
-bool MapBasedPredictionNode::calcIntentionToCrossWithTrafficSgnal(
+bool MapBasedPredictionNode::calcIntentionToCrossWithTrafficSignal(
const TrackedObject & object, const lanelet::ConstLanelet & crosswalk,
const lanelet::Id & signal_id)
{