mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
Copter: rename CTUN desired_velocity to target_velocity
No functional change
This commit is contained in:
parent
a614a17b3a
commit
9864750336
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user