DroneMobility

Description

Functions

autocontinue

autocontinue(autocontinue) { };

cMessage

cMessage *telemetryTimer = new cMessage();

initialize

virtual void initialize(int stage) override;

setInitialPosition

virtual void setInitialPosition() override;

readWaypointsFromFile

virtual void readWaypointsFromFile(const char *fileName) override;

move

virtual void move() override;

Fun��o de movimento chamada periodicamente em um self-timeout

orient

virtual void orient() override;

Fun��o de orienta��o chamada periodicamente em um self-timeout

fly

virtual void fly();

Fun��o de voo respons�vel por definir a posi��o plana do drone

virtual void climb (double targetHeight);

Fun��o de voo respons�vel por definir a posi��o vertical do drone

nextInstruction

virtual void nextInstruction();

Fun��o que pula para pr�xima instru��o

handleMessage

virtual void handleMessage(cMessage *message) override;

Fun��o que captura ordens recebidas pela gate de input de ordem e trata

executeCommand

virtual void executeCommand();

Checks if current command has finished and performs next command in queue

~DroneMobility

virtual ~DroneMobility();

createWaypoint

virtual void createWaypoint(double x, double y, double z, IGeographicCoordinateSystem *coordinateSystem);

sendTelemetry

virtual void sendTelemetry(bool sendTour = false);

Sends telemetry to the output gate

instructionIndexFromWaypoint

virtual int instructionIndexFromWaypoint(int waypointIndex);