Class TurretInputHandler

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public ITurretInputHandler

Class Documentation

class TurretInputHandler : public ITurretInputHandler

Public Types

using Remote = tap::communication::serial::Remote

Public Functions

TurretInputHandler(Remote &remote, const Config &config)
double getPitch() const override
double getYaw() const override

Counterclockwise is positive, clockwise is negative (Math convention.)

bool getFire() const
struct Config

Public Members

RemoteConfig remoteConfig
MouseConfig mouseConfig
struct MouseConfig

Public Members

double pitchPercentagePerPx
double yawPercentagePerPx
struct RemoteConfig

Public Members

Remote::Channel pitchChannel
Remote::Channel yawChannel
Remote::Channel rotationChannel