3D
This commit is contained in:
+6
-2
@@ -194,8 +194,8 @@ public:
|
||||
// if (it.get_lat().has_value() && it.get_lon().has_value()) {
|
||||
// return CPR::Position{it.get_lat().value(), it.get_lon().value()};
|
||||
// }
|
||||
if (air_pos_track_list.empty()) return std::nullopt;
|
||||
return air_pos_track_list.last();
|
||||
if (surface_pos_track_list.empty()) return std::nullopt;
|
||||
return surface_pos_track_list.last();
|
||||
}
|
||||
RET<double> select_heading() {
|
||||
GET_PRE(BDS60)
|
||||
@@ -210,9 +210,13 @@ public:
|
||||
return w.get_magnetic_heading();
|
||||
}
|
||||
RET<double> altitude_meter() {
|
||||
|
||||
|
||||
|
||||
GET_PRE(BDS05_airborne_position)
|
||||
return w.get_alt_meter();
|
||||
}
|
||||
|
||||
RET<Vortex_Type> vortex_type() {
|
||||
GET_PRE(BDS08_id)
|
||||
return w.get_vortex_type();
|
||||
|
||||
Reference in New Issue
Block a user