mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 02:41:36 +08:00
Commander: Fix home pos print
This commit is contained in:
@@ -922,8 +922,7 @@ static void commander_set_home_position(orb_advert_t &homePub, home_position_s &
|
|||||||
|
|
||||||
home.yaw = attitude.yaw;
|
home.yaw = attitude.yaw;
|
||||||
|
|
||||||
warnx("home: lat = %.7f, lon = %.7f, alt = %.2f ", home.lat, home.lon, (double)home.alt);
|
mavlink_and_console_log_info(mavlink_fd, "home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt);
|
||||||
mavlink_log_info(mavlink_fd, "home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt);
|
|
||||||
|
|
||||||
/* announce new home position */
|
/* announce new home position */
|
||||||
if (homePub != nullptr) {
|
if (homePub != nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user