RapyutaSimulationPlugins
Protected Member Functions | Protected Attributes | List of all members
ARRBaseRobotROSController Class Reference

Base Robot ROS controller class. Other robot controller class should inherit from this class. More...

#include <RRBaseRobotROSController.h>

Inheritance diagram for ARRBaseRobotROSController:
Inheritance graph
[legend]
Collaboration diagram for ARRBaseRobotROSController:
Collaboration graph
[legend]

Protected Member Functions

virtual void OnPossess (APawn *InPawn) override
 Initialize robot pawn by calling URRBaseROS2Interface::Initialize or ARRBaseRobot::InitROS2Interface. More...
 
virtual void OnUnPossess () override
 Deinitialize robot pawn by calling URRBaseROS2Interface::DeInitialize or ARRBaseRobot::DeInitROS2Interface. More...
 

Protected Attributes

URRBaseROS2InterfaceROS2Interface = nullptr
 

Detailed Description

Base Robot ROS controller class. Other robot controller class should inherit from this class.

This class has authority to start ROS 2 Component in pausses robot.

See also
AAIController
https://answers.unrealengine.com/questions/871116/view.html
https://answers.unrealengine.com/questions/239159/how-many-ai-controllers-should-i-have.html

UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))

Member Function Documentation

◆ OnPossess()

virtual void ARRBaseRobotROSController::OnPossess ( APawn *  InPawn)
overrideprotectedvirtual

Initialize robot pawn by calling URRBaseROS2Interface::Initialize or ARRBaseRobot::InitROS2Interface.

See also
OnPossess
Parameters
InPawn

Reimplemented in ARRAIRobotROSController.

◆ OnUnPossess()

virtual void ARRBaseRobotROSController::OnUnPossess ( )
overrideprotectedvirtual

Deinitialize robot pawn by calling URRBaseROS2Interface::DeInitialize or ARRBaseRobot::DeInitROS2Interface.

See also
OnUnPossess

Reimplemented in ARRAIRobotROSController.

Member Data Documentation

◆ ROS2Interface

URRBaseROS2Interface* ARRBaseRobotROSController::ROS2Interface = nullptr
protected

This is used if controlled pawn is not child class of RRBaseRobot


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