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) { ...@@ -374,10 +374,6 @@ float getAltitude(void) {
return telemetry->position().absolute_altitude_m; return telemetry->position().absolute_altitude_m;
} }
float getAltitudeRel(void) {
return telemetry->position().relative_altitude_m;
}
float getInitialAltitude(void) { float getInitialAltitude(void) {
return origin.absolute_altitude_m; return origin.absolute_altitude_m;
} }
...@@ -390,14 +386,6 @@ double getInitialLongitude(void) { ...@@ -390,14 +386,6 @@ double getInitialLongitude(void) {
return origin.longitude_deg; return origin.longitude_deg;
} }
double getLatitude(void) {
return telemetry->position().latitude_deg;
}
double getLongitude(void) {
return telemetry->position().longitude_deg;
}
double *getPositionArray(void) { double *getPositionArray(void) {
Telemetry::Position position = telemetry->position(); Telemetry::Position position = telemetry->position();
double *positionArray = (double*) malloc(POSITION_ARRAY_SIZE * sizeof(double)); 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