CARLA
Public Member Functions | Private Attributes | List of all members
ActorROS2Handler Class Reference

visitor class More...

#include <ActorROS2Handler.h>

+ Collaboration diagram for ActorROS2Handler:

Public Member Functions

 ActorROS2Handler ()=delete
 
 ActorROS2Handler (AActor *Actor, std::string RosName)
 
void operator() (carla::ros2::VehicleControl &Source)
 

Private Attributes

AActor_Actor {nullptr}
 
std::string _RosName
 

Detailed Description

visitor class

Definition at line 14 of file ActorROS2Handler.h.

Constructor & Destructor Documentation

◆ ActorROS2Handler() [1/2]

ActorROS2Handler::ActorROS2Handler ( )
delete

◆ ActorROS2Handler() [2/2]

ActorROS2Handler::ActorROS2Handler ( AActor Actor,
std::string  RosName 
)
inline

Definition at line 18 of file ActorROS2Handler.h.

References operator()().

+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

void ActorROS2Handler::operator() ( carla::ros2::VehicleControl Source)

Definition at line 12 of file ActorROS2Handler.cpp.

References _Actor, ACarlaWheeledVehicle::ApplyVehicleControl(), FVehicleControl::bHandBrake, FVehicleControl::bManualGearShift, FVehicleControl::Brake, carla::ros2::VehicleControl::brake, FVehicleControl::bReverse, carla::ros2::VehicleControl::gear, FVehicleControl::Gear, carla::ros2::VehicleControl::hand_brake, carla::ros2::VehicleControl::manual_gear_shift, carla::ros2::VehicleControl::reverse, FVehicleControl::Steer, carla::ros2::VehicleControl::steer, FVehicleControl::Throttle, carla::ros2::VehicleControl::throttle, and Vehicle.

Referenced by ActorROS2Handler().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _Actor

AActor* ActorROS2Handler::_Actor {nullptr}
private

Definition at line 23 of file ActorROS2Handler.h.

Referenced by operator()().

◆ _RosName

std::string ActorROS2Handler::_RosName
private

Definition at line 24 of file ActorROS2Handler.h.


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