Commit 0781807a authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

Remove unnecessary getters

Getters removed because these data should be fetch through position array.
parent 57830346
......@@ -374,10 +374,6 @@ float getAltitude(void) {
return telemetry->position().absolute_altitude_m;
}
float getAltitudeRel(void) {
return telemetry->position().relative_altitude_m;
}
float getInitialAltitude(void) {
return origin.absolute_altitude_m;
}
......@@ -390,14 +386,6 @@ double getInitialLongitude(void) {
return origin.longitude_deg;
}
double getLatitude(void) {
return telemetry->position().latitude_deg;
}
double getLongitude(void) {
return telemetry->position().longitude_deg;
}
double *getPositionArray(void) {
Telemetry::Position position = telemetry->position();
double *positionArray = (double*) malloc(POSITION_ARRAY_SIZE * sizeof(double));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment