Commit 87d8e505 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 e93d3a18
...@@ -368,10 +368,6 @@ float getAltitude(void) { ...@@ -368,10 +368,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;
} }
...@@ -384,14 +380,6 @@ double getInitialLongitude(void) { ...@@ -384,14 +380,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