scenario_simulator_v2 C++ API
|
#include <field_operator_application_for_autoware_universe.hpp>
Public Member Functions | |
template<typename... Ts> | |
CONCEALER_PUBLIC | FieldOperatorApplicationFor (Ts &&... xs) |
~FieldOperatorApplicationFor () override | |
auto | engage () -> void override |
auto | engageable () const -> bool override |
auto | engaged () const -> bool override |
auto | getAutowareStateName () const -> std::string override |
auto | getWaypoints () const -> traffic_simulator_msgs::msg::WaypointsArray override |
auto | getTurnIndicatorsCommand () const -> autoware_auto_vehicle_msgs::msg::TurnIndicatorsCommand override |
auto | getEmergencyStateName () const -> std::string override |
auto | getMinimumRiskManeuverBehaviorName () const -> std::string override |
auto | getMinimumRiskManeuverStateName () const -> std::string override |
auto | initialize (const geometry_msgs::msg::Pose &) -> void override |
auto | plan (const std::vector< geometry_msgs::msg::PoseStamped > &) -> void override |
auto | clearRoute () -> void override |
auto | requestAutoModeForCooperation (const std::string &, bool) -> void override |
auto | restrictTargetSpeed (double) const -> double override |
auto | sendCooperateCommand (const std::string &, const std::string &) -> void override |
auto | setVelocityLimit (double) -> void override |
Public Member Functions inherited from concealer::FieldOperatorApplication | |
CONCEALER_PUBLIC | FieldOperatorApplication (const pid_t=0) |
template<typename... Ts> | |
CONCEALER_PUBLIC | FieldOperatorApplication (Ts &&... xs) |
~FieldOperatorApplication () override=default | |
auto | spinSome () -> void |
auto | initialized () const noexcept |
virtual auto | rethrow () const noexcept(false) -> void |
Public Member Functions inherited from concealer::TransitionAssertion< FieldOperatorApplicationFor< AutowareUniverse > > | |
TransitionAssertion () | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (Initializing) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (WaitingForRoute) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (Planning) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (WaitingForEngage) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (Driving) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (ArrivedGoal) | |
DEFINE_WAIT_FOR_AUTOWARE_STATE_TO_BE (Finalizing) | |
Public Attributes | |
SubscriberWrapper< autoware_auto_planning_msgs::msg::PathWithLaneId > | getPathWithLaneId |
Public Attributes inherited from concealer::TransitionAssertion< FieldOperatorApplicationFor< AutowareUniverse > > | |
const std::chrono::steady_clock::time_point | start |
const std::chrono::seconds | initialize_duration |
bool | have_never_been_engaged |
Protected Member Functions | |
template<typename T > | |
auto | getAutowareStateString (std::uint8_t state) const -> char const * |
auto | sendSIGINT () -> void override |
Protected Member Functions inherited from concealer::FieldOperatorApplication | |
auto | stopRequest () noexcept -> void |
auto | isStopRequested () const noexcept -> bool |
auto | shutdownAutoware () -> void |
Friends | |
struct | TransitionAssertion< FieldOperatorApplicationFor< AutowareUniverse > > |
Additional Inherited Members | |
Protected Attributes inherited from concealer::FieldOperatorApplication | |
const pid_t | process_id = 0 |
TaskQueue | task_queue |
bool | initialize_was_called = false |
|
inlineexplicit |
|
override |
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
inlineprotected |
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Reimplemented from concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
NOTE: Used cooperate statuses will be deleted correctly in Autoware side and provided via topic update. But, their update rate (typ. 10Hz) is lower than the one of scenario_simulator_v2. So, we need to check cooperate statuses if they are used or not in scenario_simulator_v2 side to avoid sending the same cooperate command when sending multiple commands between updates of cooperate statuses.
Implements concealer::FieldOperatorApplication.
|
overrideprotectedvirtual |
Implements concealer::FieldOperatorApplication.
|
overridevirtual |
Implements concealer::FieldOperatorApplication.
|
friend |
SubscriberWrapper<autoware_auto_planning_msgs::msg::PathWithLaneId> concealer::FieldOperatorApplicationFor< AutowareUniverse >::getPathWithLaneId |