mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
apps.cpp and ekf_att_pos_estimator readability braces fix
This commit is contained in:
@@ -1095,8 +1095,11 @@ void AttPosEKF::FuseVelposNED()
|
||||
float hgtVarianceScaler = dtHgtFilt / dtVelPosFilt;
|
||||
|
||||
// set the GPS data timeout depending on whether airspeed data is present
|
||||
if (useAirspeed) horizRetryTime = gpsRetryTime;
|
||||
else horizRetryTime = gpsRetryTimeNoTAS;
|
||||
if (useAirspeed) {
|
||||
horizRetryTime = gpsRetryTime;
|
||||
} else {
|
||||
horizRetryTime = gpsRetryTimeNoTAS;
|
||||
}
|
||||
|
||||
// Form the observation vector
|
||||
for (uint8_t i=0; i <=2; i++) observation[i] = velNED[i];
|
||||
|
||||
@@ -40,8 +40,9 @@ ${builtin_apps_string}
|
||||
void list_builtins(apps_map_type &apps)
|
||||
{
|
||||
PX4_INFO("Builtin Commands:\n");
|
||||
for (apps_map_type::iterator it = apps.begin(); it != apps.end(); ++it)
|
||||
for (apps_map_type::iterator it = apps.begin(); it != apps.end(); ++it) {
|
||||
PX4_INFO("%s : 0x%x\n", it->first.c_str(), it->second);
|
||||
}
|
||||
}
|
||||
|
||||
int shutdown_main(int argc, char *argv[])
|
||||
|
||||
Reference in New Issue
Block a user