缩减代码
This commit is contained in:
@@ -13,10 +13,6 @@ std::optional<SSR::Position_3D> Base_Station::get_pos() {
|
||||
}
|
||||
return SSR::Position_3D{hulc.get_latitude(), hulc.get_longitude(), static_cast<SSR::CPR::D>(hulc.Alt)};
|
||||
}
|
||||
double Base_Station::get_height() {
|
||||
std::lock_guard g(mtx);
|
||||
return hulc.Alt;
|
||||
}
|
||||
bool Base_Station::has_valid_position() {
|
||||
std::lock_guard g(mtx);
|
||||
return hulc.GPS_has_valid_fix();
|
||||
|
||||
Reference in New Issue
Block a user