diff --git a/simulation/traffic_simulator/include/traffic_simulator/api/api.hpp b/simulation/traffic_simulator/include/traffic_simulator/api/api.hpp index 61a31608a7f..c4c72b76487 100644 --- a/simulation/traffic_simulator/include/traffic_simulator/api/api.hpp +++ b/simulation/traffic_simulator/include/traffic_simulator/api/api.hpp @@ -169,7 +169,7 @@ class API const geometry_msgs::msg::PoseStamped goal_pose) { if (name != "ego") { - throw std::runtime_error("Respawning entities other than EGO is not supported"); + throw std::runtime_error("Respawn of any entities other than EGO is not supported"); } simulation_api_schema::DespawnEntityRequest req; diff --git a/simulation/traffic_simulator/include/traffic_simulator/entity/misc_object_entity.hpp b/simulation/traffic_simulator/include/traffic_simulator/entity/misc_object_entity.hpp index a3452ac6d6c..7ecaf0bd538 100644 --- a/simulation/traffic_simulator/include/traffic_simulator/entity/misc_object_entity.hpp +++ b/simulation/traffic_simulator/include/traffic_simulator/entity/misc_object_entity.hpp @@ -104,7 +104,7 @@ class MiscObjectEntity : public EntityBase auto getVehicleParameters() const -> const traffic_simulator_msgs::msg::VehicleParameters override { - THROW_SEMANTIC_ERROR("getVehicleParametrs function cannot be used in MiscObjectEntity"); + THROW_SEMANTIC_ERROR("getVehicleParameters function cannot be used in MiscObjectEntity"); } void setBehaviorParameter(const traffic_simulator_msgs::msg::BehaviorParameter &) override; diff --git a/simulation/traffic_simulator/include/traffic_simulator/entity/pedestrian_entity.hpp b/simulation/traffic_simulator/include/traffic_simulator/entity/pedestrian_entity.hpp index f33d40c699b..fc3a89821ab 100644 --- a/simulation/traffic_simulator/include/traffic_simulator/entity/pedestrian_entity.hpp +++ b/simulation/traffic_simulator/include/traffic_simulator/entity/pedestrian_entity.hpp @@ -89,7 +89,7 @@ class PedestrianEntity : public EntityBase auto getVehicleParameters() const -> const traffic_simulator_msgs::msg::VehicleParameters override { - THROW_SEMANTIC_ERROR("getVehicleParametrs function cannot be used in PedestrianEntity"); + THROW_SEMANTIC_ERROR("getVehicleParameters function cannot be used in PedestrianEntity"); } void setAccelerationLimit(double acceleration) override;