15 #ifndef TRAFFIC_SIMULATOR__ENTITY__MISC_OBJECT_ENTITY_HPP_
16 #define TRAFFIC_SIMULATOR__ENTITY__MISC_OBJECT_ENTITY_HPP_
20 #include <traffic_simulator_msgs/msg/misc_object_parameters.hpp>
31 const std::shared_ptr<hdmap_utils::HdMapUtils> &,
32 const traffic_simulator_msgs::msg::MiscObjectParameters &);
34 void onUpdate(
double,
double)
override;
39 ->
const traffic_simulator_msgs::msg::DynamicConstraints &
override;
43 static const std::string result =
"MiscObjectEntity";
49 auto getGoalPoses() -> std::vector<CanonicalizedLaneletPose>
override {
return {}; }
51 std::optional<traffic_simulator_msgs::msg::Obstacle>
getObstacle()
override
61 auto getWaypoints() ->
const traffic_simulator_msgs::msg::WaypointsArray
override
63 return traffic_simulator_msgs::msg::WaypointsArray();
Definition: entity_base.hpp:51
const std::string name
Definition: entity_base.hpp:255
Definition: misc_object_entity.hpp:27
void setAccelerationRateLimit(double) override
Definition: misc_object_entity.hpp:108
void requestAcquirePosition(const geometry_msgs::msg::Pose &) override
Definition: misc_object_entity.hpp:85
void setBehaviorParameter(const traffic_simulator_msgs::msg::BehaviorParameter &) override
Definition: misc_object_entity.cpp:49
void requestAcquirePosition(const CanonicalizedLaneletPose &) override
Definition: misc_object_entity.hpp:80
void requestSpeedChange(double, bool) override
Definition: misc_object_entity.cpp:70
void onUpdate(double, double) override
Definition: misc_object_entity.cpp:29
auto getMaxAcceleration() const -> double override
Definition: misc_object_entity.hpp:123
void setAccelerationLimit(double) override
Definition: misc_object_entity.hpp:103
void setVelocityLimit(double) override
Definition: misc_object_entity.hpp:98
std::optional< traffic_simulator_msgs::msg::Obstacle > getObstacle() override
Definition: misc_object_entity.hpp:51
void setDecelerationLimit(double) override
Definition: misc_object_entity.hpp:113
MiscObjectEntity(const std::string &name, const CanonicalizedEntityStatus &, const std::shared_ptr< hdmap_utils::HdMapUtils > &, const traffic_simulator_msgs::msg::MiscObjectParameters &)
Definition: misc_object_entity.cpp:21
auto getCurrentAction() const -> std::string override
Definition: misc_object_entity.cpp:38
void requestAssignRoute(const std::vector< CanonicalizedLaneletPose > &) override
Definition: misc_object_entity.hpp:70
auto getEntityTypename() const -> const std::string &override
Definition: misc_object_entity.hpp:41
~MiscObjectEntity() override=default
void requestAssignRoute(const std::vector< geometry_msgs::msg::Pose > &) override
Definition: misc_object_entity.hpp:75
auto getBehaviorParameter() const -> traffic_simulator_msgs::msg::BehaviorParameter override
Definition: misc_object_entity.cpp:43
auto getMaxDeceleration() const -> double override
Definition: misc_object_entity.hpp:128
auto getRouteLanelets(double) -> lanelet::Ids override
Definition: misc_object_entity.hpp:56
void setDecelerationRateLimit(double) override
Definition: misc_object_entity.hpp:118
auto getWaypoints() -> const traffic_simulator_msgs::msg::WaypointsArray override
Definition: misc_object_entity.hpp:61
auto getDefaultDynamicConstraints() const -> const traffic_simulator_msgs::msg::DynamicConstraints &override
Definition: misc_object_entity.cpp:54
auto getGoalPoses() -> std::vector< CanonicalizedLaneletPose > override
Definition: misc_object_entity.hpp:49
Definition: entity_status.hpp:32
Definition: lanelet_pose.hpp:27
#define THROW_SEMANTIC_ERROR(...)
Definition: exception.hpp:59
Transition
Definition: speed_change.hpp:26
std::string string
Definition: junit5.hpp:26
Definition: speed_change.hpp:35
Definition: speed_change.hpp:51