forked from Archive/PX4-Autopilot
geo: purge globallocal_converter
This commit is contained in:
parent
ae67c53b1e
commit
0eac534b80
|
@ -1 +1 @@
|
|||
Subproject commit b3c1bd6d40952a9d467497162f91f28400ae0a3d
|
||||
Subproject commit 4df005487379436dcdde10402d3cea7b78d76c19
|
|
@ -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…
Reference in New Issue