ZigzagProtocol

Description

Functions

Telemetry

Telemetry currentTelemetry = Telemetry();

Last telemetry package recieved

Telemetry

Telemetry lastStableTelemetry = Telemetry();

ZigzagMessage

ZigzagMessage lastPayload = ZigzagMessage();

initialize

virtual void initialize(int stage) override;

handleTelemetry

virtual void handleTelemetry(gradys_simulations::Telemetry *telemetry) override;

handlePacket

virtual void handlePacket(Packet *pk) override;

isTimedout

virtual bool isTimedout() override;

resetParameters

virtual void resetParameters();

sendReverseOrder

virtual void sendReverseOrder();

updatePayload

virtual void updatePayload();

setTarget

virtual void setTarget(const char *target);