Class TurretInputHandler

Nested Relationships

Nested Types

Class Documentation

class TurretInputHandler

Public Types

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

Public Functions

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

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