|
| VehicleEntity (const std::string &name, const CanonicalizedEntityStatus &, const std::shared_ptr< hdmap_utils::HdMapUtils > &, const traffic_simulator_msgs::msg::VehicleParameters &, const std::string &plugin_name=BuiltinBehavior::defaultBehavior()) |
|
| ~VehicleEntity () override=default |
|
void | appendDebugMarker (visualization_msgs::msg::MarkerArray &marker_array) override |
|
void | cancelRequest () override |
|
auto | getCurrentAction () const -> std::string override |
|
auto | getDefaultDynamicConstraints () const -> const traffic_simulator_msgs::msg::DynamicConstraints &override |
|
auto | getDefaultMatchingDistanceForLaneletPoseCalculation () const -> double override |
|
auto | getBehaviorParameter () const -> traffic_simulator_msgs::msg::BehaviorParameter override |
|
auto | getMaxAcceleration () const -> double override |
|
auto | getMaxDeceleration () const -> double override |
|
auto | getEntityType () const -> const traffic_simulator_msgs::msg::EntityType &override |
|
auto | getEntityTypename () const -> const std::string &override |
|
auto | getGoalPoses () -> std::vector< CanonicalizedLaneletPose > override |
|
auto | getObstacle () -> std::optional< traffic_simulator_msgs::msg::Obstacle > override |
|
auto | getRouteLanelets (double horizon=100) -> lanelet::Ids override |
|
auto | getWaypoints () -> const traffic_simulator_msgs::msg::WaypointsArray override |
|
void | onUpdate (double current_time, double step_time) override |
|
void | requestAcquirePosition (const CanonicalizedLaneletPose &) |
|
void | requestAcquirePosition (const geometry_msgs::msg::Pose &map_pose) override |
|
void | requestAssignRoute (const std::vector< geometry_msgs::msg::Pose > &) override |
|
void | requestAssignRoute (const std::vector< CanonicalizedLaneletPose > &) override |
|
auto | requestFollowTrajectory (const std::shared_ptr< traffic_simulator_msgs::msg::PolylineTrajectory > &) -> void override |
|
void | requestLaneChange (const lanelet::Id to_lanelet_id) override |
|
void | requestLaneChange (const traffic_simulator::lane_change::Parameter &) override |
|
void | setVelocityLimit (double linear_velocity) override |
|
void | setAccelerationLimit (double acceleration) override |
|
void | setAccelerationRateLimit (double acceleration_rate) override |
|
void | setDecelerationLimit (double deceleration) override |
|
void | setDecelerationRateLimit (double deceleration_rate) override |
|
void | setBehaviorParameter (const traffic_simulator_msgs::msg::BehaviorParameter &) override |
|
void | setTrafficLightManager (const std::shared_ptr< traffic_simulator::TrafficLightManager > &) override |
|
auto | fillLaneletPose (CanonicalizedEntityStatus &status) -> void override |
|
| EntityBase (const std::string &name, const CanonicalizedEntityStatus &, const std::shared_ptr< hdmap_utils::HdMapUtils > &) |
|
virtual | ~EntityBase ()=default |
|
virtual auto | asFieldOperatorApplication () const -> concealer::FieldOperatorApplication & |
|
auto | getBoundingBox () const noexcept -> traffic_simulator_msgs::msg::BoundingBox |
| Get BoundingBox of the entity. More...
|
|
auto | getCurrentAccel () const noexcept -> geometry_msgs::msg::Accel |
| Get CurrentAccel of the entity. More...
|
|
auto | getCurrentTwist () const noexcept -> geometry_msgs::msg::Twist |
| Get CurrentTwist of the entity. More...
|
|
auto | getDynamicConstraints () const noexcept -> traffic_simulator_msgs::msg::DynamicConstraints |
| Get DynamicConstraints of the entity. More...
|
|
auto | getEntityStatusBeforeUpdate () const noexcept -> const CanonicalizedEntityStatus & |
| Get EntityStatusBeforeUpdate of the entity. More...
|
|
auto | getEntitySubtype () const noexcept -> traffic_simulator_msgs::msg::EntitySubtype |
| Get EntitySubtype of the entity. More...
|
|
auto | getLinearJerk () const noexcept -> double |
| Get LinearJerk of the entity. More...
|
|
auto | getMapPose () const noexcept -> geometry_msgs::msg::Pose |
| Get MapPose of the entity. More...
|
|
auto | getStandStillDuration () const noexcept -> double |
| Get StandStillDuration of the entity. More...
|
|
auto | getStatus () const noexcept -> const CanonicalizedEntityStatus & |
| Get Status of the entity. More...
|
|
auto | getTraveledDistance () const noexcept -> double |
| Get TraveledDistance of the entity. More...
|
|
auto | isNpcLogicStarted () const -> bool |
|
auto | laneMatchingSucceed () const -> bool |
|
auto | get2DPolygon () const -> std::vector< geometry_msgs::msg::Point > |
|
auto | getLaneletPose () const -> std::optional< CanonicalizedLaneletPose > |
|
auto | getLaneletPose (double matching_distance) const -> std::optional< CanonicalizedLaneletPose > |
|
auto | getMapPoseFromRelativePose (const geometry_msgs::msg::Pose &) const -> geometry_msgs::msg::Pose |
|
virtual void | onPostUpdate (double current_time, double step_time) |
|
void | resetDynamicConstraints () |
|
void | requestLaneChange (const lane_change::AbsoluteTarget &, const lane_change::TrajectoryShape, const lane_change::Constraint &) |
|
void | requestLaneChange (const lane_change::RelativeTarget &, const lane_change::TrajectoryShape, const lane_change::Constraint &) |
|
virtual void | requestSpeedChange (const double, const speed_change::Transition, const speed_change::Constraint, const bool) |
|
virtual void | requestSpeedChange (const speed_change::RelativeTargetSpeed &, const speed_change::Transition, const speed_change::Constraint, const bool) |
|
virtual void | requestSpeedChange (double, bool) |
|
virtual void | requestSpeedChange (const speed_change::RelativeTargetSpeed &, bool) |
|
virtual void | requestClearRoute () |
|
virtual auto | isControlledBySimulator () const -> bool |
|
virtual auto | setControlledBySimulator (bool) -> void |
|
virtual void | requestWalkStraight () |
|
void | setDynamicConstraints (const traffic_simulator_msgs::msg::DynamicConstraints &) |
|
void | setOtherStatus (const std::unordered_map< std::string, CanonicalizedEntityStatus > &) |
|
virtual auto | setStatus (const CanonicalizedEntityStatus &) -> void |
|
virtual auto | setLinearAcceleration (const double linear_acceleration) -> void |
|
virtual auto | setLinearVelocity (const double linear_velocity) -> void |
|
virtual auto | activateOutOfRangeJob (double min_velocity, double max_velocity, double min_acceleration, double max_acceleration, double min_jerk, double max_jerk) -> void |
|
virtual auto | setMapPose (const geometry_msgs::msg::Pose &map_pose) -> void |
|
auto | setTwist (const geometry_msgs::msg::Twist &twist) -> void |
|
auto | setAcceleration (const geometry_msgs::msg::Accel &accel) -> void |
|
auto | setLinearJerk (const double liner_jerk) -> void |
|
virtual void | startNpcLogic (const double current_time) |
|
void | stopAtCurrentPosition () |
|
void | updateEntityStatusTimestamp (const double current_time) |
|
auto | updateStandStillDuration (const double step_time) -> double |
|
auto | updateTraveledDistance (const double step_time) -> double |
|
bool | reachPosition (const geometry_msgs::msg::Pose &target_pose, const double tolerance) const |
|
bool | reachPosition (const CanonicalizedLaneletPose &lanelet_pose, const double tolerance) const |
|
bool | reachPosition (const std::string &target_name, const double tolerance) const |
|
auto | requestSynchronize (const std::string &target_name, const CanonicalizedLaneletPose &target_sync_pose, const CanonicalizedLaneletPose &entity_target, const double target_speed, const double tolerance) -> bool |
|
virtual auto | fillLaneletPose (CanonicalizedEntityStatus &status, bool include_crosswalk) -> void final |
|