scenario_simulator_v2 C++ API
Public Member Functions | Protected Attributes | List of all members
concealer::Autoware Class Referenceabstract

#include <autoware.hpp>

Inheritance diagram for concealer::Autoware:
Inheritance graph
[legend]
Collaboration diagram for concealer::Autoware:
Collaboration graph
[legend]

Public Member Functions

CONCEALER_PUBLIC Autoware ()
 
virtual auto getAcceleration () const -> double=0
 
virtual auto getGearCommand () const -> autoware_auto_vehicle_msgs::msg::GearCommand
 
virtual auto getSteeringAngle () const -> double=0
 
virtual auto getVelocity () const -> double=0
 
virtual auto getGearSign () const -> double=0
 
virtual auto getTurnIndicatorsCommand () const -> autoware_auto_vehicle_msgs::msg::TurnIndicatorsCommand
 
virtual auto getVehicleCommand () const -> std::tuple< autoware_auto_control_msgs::msg::AckermannControlCommand, autoware_auto_vehicle_msgs::msg::GearCommand >=0
 
virtual auto getRouteLanelets () const -> std::vector< std::int64_t >=0
 
auto set (const geometry_msgs::msg::Accel &) -> void
 
auto set (const geometry_msgs::msg::Twist &) -> void
 
auto set (const geometry_msgs::msg::Pose &) -> void
 
virtual auto rethrow () -> void
 
- Public Member Functions inherited from concealer::ContinuousTransformBroadcaster< Autoware >
const auto & setTransform (const geometry_msgs::msg::Pose &pose)
 
 ContinuousTransformBroadcaster ()
 

Protected Attributes

std::atomic< geometry_msgs::msg::Accel > current_acceleration
 
std::atomic< geometry_msgs::msg::Twist > current_twist
 
std::atomic< geometry_msgs::msg::Pose > current_pose
 

Detailed Description

Provides an abstraction to communicate with Autoware in order to:

Constructor & Destructor Documentation

◆ Autoware()

concealer::Autoware::Autoware ( )
explicit

Member Function Documentation

◆ getAcceleration()

virtual auto concealer::Autoware::getAcceleration ( ) const -> double
pure virtual

Implemented in concealer::AutowareUniverse.

◆ getGearCommand()

auto concealer::Autoware::getGearCommand ( ) const -> autoware_auto_vehicle_msgs::msg::GearCommand
virtual

Reimplemented in concealer::AutowareUniverse.

◆ getGearSign()

virtual auto concealer::Autoware::getGearSign ( ) const -> double
pure virtual

Implemented in concealer::AutowareUniverse.

◆ getRouteLanelets()

virtual auto concealer::Autoware::getRouteLanelets ( ) const -> std::vector< std::int64_t >
pure virtual

Implemented in concealer::AutowareUniverse.

◆ getSteeringAngle()

virtual auto concealer::Autoware::getSteeringAngle ( ) const -> double
pure virtual

Implemented in concealer::AutowareUniverse.

◆ getTurnIndicatorsCommand()

auto concealer::Autoware::getTurnIndicatorsCommand ( ) const -> autoware_auto_vehicle_msgs::msg::TurnIndicatorsCommand
virtual

◆ getVehicleCommand()

virtual auto concealer::Autoware::getVehicleCommand ( ) const -> std::tuple< autoware_auto_control_msgs::msg::AckermannControlCommand, autoware_auto_vehicle_msgs::msg::GearCommand >
pure virtual

Implemented in concealer::AutowareUniverse.

◆ getVelocity()

virtual auto concealer::Autoware::getVelocity ( ) const -> double
pure virtual

Implemented in concealer::AutowareUniverse.

◆ rethrow()

auto concealer::Autoware::rethrow ( ) -> void
virtual

Reimplemented in concealer::AutowareUniverse.

◆ set() [1/3]

auto concealer::Autoware::set ( const geometry_msgs::msg::Accel &  acceleration) -> void

◆ set() [2/3]

auto concealer::Autoware::set ( const geometry_msgs::msg::Pose &  pose) -> void

◆ set() [3/3]

auto concealer::Autoware::set ( const geometry_msgs::msg::Twist &  twist) -> void

Member Data Documentation

◆ current_acceleration

std::atomic<geometry_msgs::msg::Accel> concealer::Autoware::current_acceleration
protected

◆ current_pose

std::atomic<geometry_msgs::msg::Pose> concealer::Autoware::current_pose
protected

◆ current_twist

std::atomic<geometry_msgs::msg::Twist> concealer::Autoware::current_twist
protected

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