scenario_simulator_v2 C++ API
Classes | Functions
concealer Namespace Reference

Classes

class  AutowareUniverse
 
class  ContinuousTransformBroadcaster
 
struct  FieldOperatorApplication
 
class  PublisherWrapper
 
class  ServiceWithValidation
 
class  SubscriberWrapper
 
class  TaskQueue
 
struct  TransitionAssertion
 

Functions

auto execute (const std::vector< std::string > &) -> int
 
auto dollar (const std::string &command) -> std::string
 
auto isPackageExists (const std::string &package_name) noexcept -> bool
 
template<typename Parameters >
auto ros2_launch (const std::string &package, const std::string &file, const Parameters &parameters)
 
 DEFINE_MEMBER_DETECTOR (allow_goal_modification)
 
 DEFINE_MEMBER_DETECTOR (distance)
 
 DEFINE_MEMBER_DETECTOR (option)
 
 DEFINE_MEMBER_DETECTOR (status)
 
 DEFINE_MEMBER_DETECTOR (success)
 
 DEFINE_STATIC_MEMBER_DETECTOR (AVOIDANCE_BY_LC_LEFT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (AVOIDANCE_BY_LC_RIGHT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (AVOIDANCE_LEFT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (AVOIDANCE_RIGHT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (BLIND_SPOT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (COMFORTABLE_STOP)
 
 DEFINE_STATIC_MEMBER_DETECTOR (CROSSWALK)
 
 DEFINE_STATIC_MEMBER_DETECTOR (DETECTION_AREA)
 
 DEFINE_STATIC_MEMBER_DETECTOR (EMERGENCY_STOP)
 
 DEFINE_STATIC_MEMBER_DETECTOR (EXT_REQUEST_LANE_CHANGE_LEFT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (EXT_REQUEST_LANE_CHANGE_RIGHT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (GOAL_PLANNER)
 
 DEFINE_STATIC_MEMBER_DETECTOR (INTERSECTION)
 
 DEFINE_STATIC_MEMBER_DETECTOR (INTERSECTION_OCCLUSION)
 
 DEFINE_STATIC_MEMBER_DETECTOR (LANE_CHANGE_LEFT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (LANE_CHANGE_RIGHT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (NONE)
 
 DEFINE_STATIC_MEMBER_DETECTOR (NO_DRIVABLE_LANE)
 
 DEFINE_STATIC_MEMBER_DETECTOR (NO_STOPPING_AREA)
 
 DEFINE_STATIC_MEMBER_DETECTOR (OCCLUSION_SPOT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (PULL_OUT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (PULL_OVER)
 
 DEFINE_STATIC_MEMBER_DETECTOR (START_PLANNER)
 
 DEFINE_STATIC_MEMBER_DETECTOR (TRAFFIC_LIGHT)
 
 DEFINE_STATIC_MEMBER_DETECTOR (UNKNOWN)
 
template<typename T >
auto toModuleType (const std::string &module_name)
 
template<typename CooperateStatusType >
bool isValidCooperateStatus (const CooperateStatusType &cooperate_status, std::uint8_t command_type, std::uint8_t module_type)
 

Detailed Description

Todo:
: pzyskowski : use conditional variables to wait for new messages instead of sleep_for

Function Documentation

◆ DEFINE_MEMBER_DETECTOR() [1/5]

concealer::DEFINE_MEMBER_DETECTOR ( allow_goal_modification  )

◆ DEFINE_MEMBER_DETECTOR() [2/5]

concealer::DEFINE_MEMBER_DETECTOR ( distance  )

◆ DEFINE_MEMBER_DETECTOR() [3/5]

concealer::DEFINE_MEMBER_DETECTOR ( option  )

◆ DEFINE_MEMBER_DETECTOR() [4/5]

concealer::DEFINE_MEMBER_DETECTOR ( status  )

◆ DEFINE_MEMBER_DETECTOR() [5/5]

concealer::DEFINE_MEMBER_DETECTOR ( success  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [1/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( AVOIDANCE_BY_LC_LEFT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [2/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( AVOIDANCE_BY_LC_RIGHT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [3/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( AVOIDANCE_LEFT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [4/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( AVOIDANCE_RIGHT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [5/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( BLIND_SPOT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [6/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( COMFORTABLE_STOP  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [7/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( CROSSWALK  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [8/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( DETECTION_AREA  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [9/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( EMERGENCY_STOP  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [10/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( EXT_REQUEST_LANE_CHANGE_LEFT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [11/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( EXT_REQUEST_LANE_CHANGE_RIGHT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [12/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( GOAL_PLANNER  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [13/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( INTERSECTION  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [14/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( INTERSECTION_OCCLUSION  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [15/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( LANE_CHANGE_LEFT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [16/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( LANE_CHANGE_RIGHT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [17/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( NO_DRIVABLE_LANE  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [18/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( NO_STOPPING_AREA  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [19/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( NONE  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [20/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( OCCLUSION_SPOT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [21/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( PULL_OUT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [22/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( PULL_OVER  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [23/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( START_PLANNER  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [24/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( TRAFFIC_LIGHT  )

◆ DEFINE_STATIC_MEMBER_DETECTOR() [25/25]

concealer::DEFINE_STATIC_MEMBER_DETECTOR ( UNKNOWN  )

◆ dollar()

auto concealer::dollar ( const std::string &  command) -> std::string

◆ execute()

auto concealer::execute ( const std::vector< std::string > &  f_xs) -> int

◆ isPackageExists()

auto concealer::isPackageExists ( const std::string &  package_name) -> bool
noexcept

◆ isValidCooperateStatus()

template<typename CooperateStatusType >
bool concealer::isValidCooperateStatus ( const CooperateStatusType &  cooperate_status,
std::uint8_t  command_type,
std::uint8_t  module_type 
)

NOTE1: the finish_distance filter is set to over -20.0, because some valid rtc statuses has negative finish_distance due to the errors of localization or numerical calculation. This threshold is advised by a member of TIER IV planning and control team.

NOTE2: The difference in the variable referred as a distance is the impact of the message specification changes in the following URL. This was also decided after consulting with a member of TIER IV planning and control team. ref: https://github.com/tier4/tier4_autoware_msgs/commit/8b85e6e43aa48cf4a439c77bf4bf6aee2e70c3ef

◆ ros2_launch()

template<typename Parameters >
auto concealer::ros2_launch ( const std::string &  package,
const std::string &  file,
const Parameters &  parameters 
)

◆ toModuleType()

template<typename T >
auto concealer::toModuleType ( const std::string &  module_name)