Browse Source

geo: purge globallocal_converter

release/1.12
Daniel Agar 4 years ago committed by GitHub
parent
commit
0eac534b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib/ecl
  2. 4
      src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp

2
src/lib/ecl

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit b3c1bd6d40952a9d467497162f91f28400ae0a3d
Subproject commit 4df005487379436dcdde10402d3cea7b78d76c19

4
src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp

@ -79,7 +79,9 @@ bool FlightTaskOrbit::applyCommandParameters(const vehicle_command_s &command) @@ -79,7 +79,9 @@ bool FlightTaskOrbit::applyCommandParameters(const vehicle_command_s &command)
// commanded center coordinates
if (map_projection_initialized(&_global_local_proj_ref)) {
if (PX4_ISFINITE(command.param5) && PX4_ISFINITE(command.param6)) {
map_projection_global_project(command.param5, command.param6, &_center(0), &_center(1));
map_projection_project(&_global_local_proj_ref,
command.param5, command.param6,
&_center(0), &_center(1));
}
// commanded altitude

Loading…
Cancel
Save