scenario_simulator_v2 C++ API
Public Member Functions | List of all members
traffic_simulator::entity_status::CanonicalizedEntityStatus Class Reference

#include <entity_status.hpp>

Public Member Functions

 CanonicalizedEntityStatus (const EntityStatus &may_non_canonicalized_entity_status, const std::optional< CanonicalizedLaneletPose > &canonicalized_lanelet_pose)
 
 CanonicalizedEntityStatus (const CanonicalizedEntityStatus &obj)
 
 operator EntityStatus () const noexcept
 
auto set (const CanonicalizedEntityStatus &status) -> void
 
auto set (const EntityStatus &status, const lanelet::Ids &lanelet_ids, const double matching_distance, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> void
 
auto set (const EntityStatus &status, const double matching_distance, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> void
 
auto setAction (const std::string &action) -> void
 
auto getActionStatus () const noexcept -> const traffic_simulator_msgs::msg::ActionStatus &
 
auto getTime () const noexcept -> double
 
auto setTime (double) -> void
 
auto getMapPose () const noexcept -> const geometry_msgs::msg::Pose &
 
auto setMapPose (const geometry_msgs::msg::Pose &pose) -> void
 
auto getTwist () const noexcept -> const geometry_msgs::msg::Twist &
 
auto setTwist (const geometry_msgs::msg::Twist &twist) -> void
 
auto setLinearVelocity (double linear_velocity) -> void
 
auto getAccel () const noexcept -> const geometry_msgs::msg::Accel &
 
auto setAccel (const geometry_msgs::msg::Accel &accel) -> void
 
auto setLinearAcceleration (double linear_acceleration) -> void
 
auto getLinearJerk () const noexcept -> double
 
auto setLinearJerk (double) -> void
 
auto laneMatchingSucceed () const noexcept -> bool
 
auto getLaneletId () const noexcept -> lanelet::Id
 
auto getLaneletIds () const noexcept -> lanelet::Ids
 
auto getLaneletPose () const noexcept -> const LaneletPose &
 
auto getCanonicalizedLaneletPose () const noexcept -> const std::optional< CanonicalizedLaneletPose > &
 
auto getName () const noexcept -> const std::string &
 
auto getType () const noexcept -> const EntityType &
 
auto getSubtype () const noexcept -> const EntitySubtype &
 
auto getBoundingBox () const noexcept -> const traffic_simulator_msgs::msg::BoundingBox &
 

Constructor & Destructor Documentation

◆ CanonicalizedEntityStatus() [1/2]

traffic_simulator::entity_status::CanonicalizedEntityStatus::CanonicalizedEntityStatus ( const EntityStatus may_non_canonicalized_entity_status,
const std::optional< CanonicalizedLaneletPose > &  canonicalized_lanelet_pose 
)
explicit

◆ CanonicalizedEntityStatus() [2/2]

traffic_simulator::entity_status::CanonicalizedEntityStatus::CanonicalizedEntityStatus ( const CanonicalizedEntityStatus obj)
explicit

Member Function Documentation

◆ getAccel()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getAccel ( ) const -> const geometry_msgs::msg::Accel &
noexcept

◆ getActionStatus()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getActionStatus ( ) const -> const traffic_simulator_msgs::msg::ActionStatus &
noexcept

◆ getBoundingBox()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getBoundingBox ( ) const -> const traffic_simulator_msgs::msg::BoundingBox &
noexcept

◆ getCanonicalizedLaneletPose()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getCanonicalizedLaneletPose ( ) const -> const std::optional<CanonicalizedLaneletPose> &
noexcept

◆ getLaneletId()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getLaneletId ( ) const -> lanelet::Id
noexcept

◆ getLaneletIds()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getLaneletIds ( ) const -> lanelet::Ids
noexcept

◆ getLaneletPose()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getLaneletPose ( ) const -> const LaneletPose &
noexcept

◆ getLinearJerk()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getLinearJerk ( ) const -> double
noexcept

◆ getMapPose()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getMapPose ( ) const -> const geometry_msgs::msg::Pose &
noexcept

◆ getName()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getName ( ) const -> const std::string &
inlinenoexcept

◆ getSubtype()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getSubtype ( ) const -> const EntitySubtype &
inlinenoexcept

◆ getTime()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getTime ( ) const -> double
noexcept

◆ getTwist()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getTwist ( ) const -> const geometry_msgs::msg::Twist &
noexcept

◆ getType()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::getType ( ) const -> const EntityType &
inlinenoexcept

◆ laneMatchingSucceed()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::laneMatchingSucceed ( ) const -> bool
noexcept

◆ operator EntityStatus()

traffic_simulator::entity_status::CanonicalizedEntityStatus::operator EntityStatus ( ) const
inlineexplicitnoexcept

◆ set() [1/3]

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::set ( const CanonicalizedEntityStatus status) -> void

◆ set() [2/3]

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::set ( const EntityStatus status,
const double  matching_distance,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils_ptr 
) -> void

◆ set() [3/3]

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::set ( const EntityStatus status,
const lanelet::Ids &  lanelet_ids,
const double  matching_distance,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils_ptr 
) -> void

◆ setAccel()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setAccel ( const geometry_msgs::msg::Accel &  accel) -> void

◆ setAction()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setAction ( const std::string &  action) -> void

◆ setLinearAcceleration()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setLinearAcceleration ( double  linear_acceleration) -> void

◆ setLinearJerk()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setLinearJerk ( double  linear_jerk) -> void

◆ setLinearVelocity()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setLinearVelocity ( double  linear_velocity) -> void

◆ setMapPose()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setMapPose ( const geometry_msgs::msg::Pose &  pose) -> void

◆ setTime()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setTime ( double  time) -> void

◆ setTwist()

auto traffic_simulator::entity_status::CanonicalizedEntityStatus::setTwist ( const geometry_msgs::msg::Twist &  twist) -> void

The documentation for this class was generated from the following files: