scenario_simulator_v2 C++ API
Functions
utils Namespace Reference

Functions

constexpr auto degToRad (const double deg) -> double
 
auto makePoint (const double px, const double py, const double pz) -> geometry_msgs::msg::Point
 
auto makePose (const double px, const double py, const double pz, const double ox, const double oy, const double oz, const double ow) -> geometry_msgs::msg::Pose
 
auto makeDimensions (const double x, const double y, const double z) -> geometry_msgs::msg::Vector3
 
auto constructLidarConfiguration (const std::string &entity, const std::string &architecture_type, const double lidar_sensor_delay, const double horizontal_resolution) -> const simulation_api_schema::LidarConfiguration
 
auto createEntityStatus (const std::string &name, const EntityType::Enum type, const std::optional< EntitySubtype::Enum > &subtype, const geometry_msgs::msg::Pose &pose, const geometry_msgs::msg::Vector3 &dimensions) -> EntityStatus
 
auto makeEntity (const std::string &name, const EntityType::Enum type, const EntitySubtype::Enum subtype, const geometry_msgs::msg::Pose &pose, const geometry_msgs::msg::Vector3 &dimensions) -> EntityStatus
 
auto makeEntity (const std::string &name, const EntityType::Enum type, const geometry_msgs::msg::Pose &pose, const geometry_msgs::msg::Vector3 &dimensions) -> EntityStatus
 

Function Documentation

◆ constructLidarConfiguration()

auto utils::constructLidarConfiguration ( const std::string &  entity,
const std::string &  architecture_type,
const double  lidar_sensor_delay,
const double  horizontal_resolution 
) -> const simulation_api_schema::LidarConfiguration
inline

◆ createEntityStatus()

auto utils::createEntityStatus ( const std::string &  name,
const EntityType::Enum  type,
const std::optional< EntitySubtype::Enum > &  subtype,
const geometry_msgs::msg::Pose &  pose,
const geometry_msgs::msg::Vector3 &  dimensions 
) -> EntityStatus
inline

◆ degToRad()

constexpr auto utils::degToRad ( const double  deg) -> double
constexpr

◆ makeDimensions()

auto utils::makeDimensions ( const double  x,
const double  y,
const double  z 
) -> geometry_msgs::msg::Vector3
inline

◆ makeEntity() [1/2]

auto utils::makeEntity ( const std::string &  name,
const EntityType::Enum  type,
const EntitySubtype::Enum  subtype,
const geometry_msgs::msg::Pose &  pose,
const geometry_msgs::msg::Vector3 &  dimensions 
) -> EntityStatus
inline

◆ makeEntity() [2/2]

auto utils::makeEntity ( const std::string &  name,
const EntityType::Enum  type,
const geometry_msgs::msg::Pose &  pose,
const geometry_msgs::msg::Vector3 &  dimensions 
) -> EntityStatus
inline

◆ makePoint()

auto utils::makePoint ( const double  px,
const double  py,
const double  pz 
) -> geometry_msgs::msg::Point
inline

◆ makePose()

auto utils::makePose ( const double  px,
const double  py,
const double  pz,
const double  ox,
const double  oy,
const double  oz,
const double  ow 
) -> geometry_msgs::msg::Pose
inline