mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Mount: Fix typos
This commit is contained in:
parent
af13e2cca4
commit
fcbed13533
@ -94,7 +94,7 @@ protected:
|
|||||||
MAV_MOUNT_MODE get_mode(void) const { return _frontend.get_mode(_instance); }
|
MAV_MOUNT_MODE get_mode(void) const { return _frontend.get_mode(_instance); }
|
||||||
|
|
||||||
AP_Mount &_frontend; // reference to the front end which holds parameters
|
AP_Mount &_frontend; // reference to the front end which holds parameters
|
||||||
AP_Mount::mount_state &_state; // refernce to the parameters and state for this backend
|
AP_Mount::mount_state &_state; // references to the parameters and state for this backend
|
||||||
uint8_t _instance; // this instance's number
|
uint8_t _instance; // this instance's number
|
||||||
Vector3f _angle_ef_target_rad; // desired earth-frame roll, tilt and vehicle-relative pan angles in radians
|
Vector3f _angle_ef_target_rad; // desired earth-frame roll, tilt and vehicle-relative pan angles in radians
|
||||||
};
|
};
|
||||||
|
@ -109,7 +109,7 @@ void SoloGimbalEKF::RunEKF(float delta_time, const Vector3f &delta_angles, const
|
|||||||
FiltInit = true;
|
FiltInit = true;
|
||||||
hal.console->printf("\nSoloGimbalEKF Alignment Started\n");
|
hal.console->printf("\nSoloGimbalEKF Alignment Started\n");
|
||||||
|
|
||||||
// Don't run the filter in this timestep becasue we have already used the delta velocity data to set an initial orientation
|
// Don't run the filter in this timestep because we have already used the delta velocity data to set an initial orientation
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ void SoloGimbal_Parameters::update()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for nonexistant parameters
|
// check for nonexistent parameters
|
||||||
for(uint8_t i=0; i<MAVLINK_GIMBAL_NUM_TRACKED_PARAMS; i++) {
|
for(uint8_t i=0; i<MAVLINK_GIMBAL_NUM_TRACKED_PARAMS; i++) {
|
||||||
if (!_params[i].seen && _params[i].fetch_attempts > _max_fetch_attempts) {
|
if (!_params[i].seen && _params[i].fetch_attempts > _max_fetch_attempts) {
|
||||||
_params[i].state = GMB_PARAMSTATE_NONEXISTANT;
|
_params[i].state = GMB_PARAMSTATE_NONEXISTANT;
|
||||||
|
Loading…
Reference in New Issue
Block a user