RoveSoSimulator
Loading...
Searching...
No Matches
RoverArmPawn.h
1#pragma once
2
3#include "RoveSoSimulator/RoveSoSimulator.h"
4#include "UObject/ObjectMacros.h"
5#include "RoverArmPawn.generated.h"
6
7class ARoveSoSimulatorPlayerController;
8class URoveSoSimulatorInputManager;
9class APawn;
10
11/**
12 * @brief Custom base class for Arm BP's to inherit from, which attaches to the InputManager
13 */
14UCLASS()
15class ROVESOSIMULATOR_API ARoverArmPawn : public APawn
16{
17 GENERATED_BODY()
18
19public:
20 ARoverArmPawn() {};
21 /* UFUNCTION()
22 void BeginPlay() override; */
23 UFUNCTION()
24 void SetupInput(URoveSoSimulatorInputManager* iM);
25 UFUNCTION(BlueprintCallable)
26 void CustomLOG(FString s) {LOG("%s", *s);}
27 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
28 void OnSetupInput();
29
30protected:
31 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
32 void J1Callback(float value);
33 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
34 void J2Callback(float value);
35 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
36 void J3Callback(float value);
37 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
38 void J4Callback(float value);
39 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
40 void J5Callback(float value);
41 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
42 void J6Callback(float value);
43 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
44 void GripperOpenCloseCallback(float value);
45 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
46 void SolenoidExtensionCallback(float value);
47 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
48 void LaserOnCallback();
49 UFUNCTION(BlueprintImplementableEvent, Category = "Events")
50 void LaserOffCallback();
51
52};
#define LOG(x,...)
Definition RoveSoSimulator.h:11