Copter: rename CTUN desired_velocity to target_velocity

No functional change
This commit is contained in:
Leonard Hall 2016-06-04 13:30:55 +09:00 committed by Randy Mackay
parent a614a17b3a
commit 9864750336

View File

@ -309,7 +309,7 @@ struct PACKED log_Control_Tuning {
int16_t desired_rangefinder_alt;
int16_t rangefinder_alt;
float terr_alt;
int16_t desired_climb_rate;
int16_t target_climb_rate;
int16_t climb_rate;
};
@ -335,7 +335,7 @@ void Copter::Log_Write_Control_Tuning()
desired_rangefinder_alt : (int16_t)target_rangefinder_alt,
rangefinder_alt : rangefinder_state.alt_cm,
terr_alt : terr_alt,
desired_climb_rate : (int16_t)pos_control.get_vel_target_z(),
target_climb_rate : (int16_t)pos_control.get_vel_target_z(),
climb_rate : climb_rate
};
DataFlash.WriteBlock(&pkt, sizeof(pkt));