RapyutaSimulationPlugins
TurtlebotBurger.h
Go to the documentation of this file.
1 
13 #pragma once
14 
15 
16 
17 // UE
18 
19 #include "CoreMinimal.h"
20 
21 #include "PhysicsEngine/PhysicsConstraintComponent.h"
22 
23 
24 
25 // RapyutaSimulationPlugins
26 
28 
30 
31 
32 
33 #include "TurtlebotBurger.generated.h"
34 
35 
36 
52 class RAPYUTASIMULATIONPLUGINS_API ATurtlebotBurger : public ATurtlebotBurgerBase
53 
54 {
55 
56 
57 
58 public:
59 
70  ATurtlebotBurger(const FObjectInitializer& ObjectInitializer);
71 
72 
73 
74 protected:
75 
76 
81  UPhysicsConstraintComponent* Base_WheelLeft = nullptr;
82 
83 
84 
85 
90  UPhysicsConstraintComponent* Base_WheelRight = nullptr;
91 
92 
93 
102  bool SetupBody() override;
103 
104 
105 
114  bool SetupConstraintsAndPhysics() override;
115 
116 
117 
126  void SetupWheelDrives() override;
127 
128 };
129 
TurtlebotBurgerBase.h
ATurtlebotBurgerBase
Example of child class of ARRBaseRobot and base class for TurtlebotBurger.
Definition: TurtlebotBurgerBase.h:54
DifferentialDriveComponent.h
Differential Drive component class.
ATurtlebotBurgerBase::SetupConstraintsAndPhysics
virtual bool SetupConstraintsAndPhysics()
Setup UPhysicsConstraintComponent.
ATurtlebotBurgerBase::SetupBody
virtual bool SetupBody()
Create UStaticMeshComponent, create UPhysicsConstraintComponent.
ATurtlebotBurger
Example of child class of ARRBaseRobot.
Definition: TurtlebotBurger.h:52
ATurtlebotBurgerBase::SetupWheelDrives
virtual void SetupWheelDrives()
Setup UDifferentialDriveComponent.