SITL : fixed typo

line 1119 in pnet.c : to to -> to
line 198 in SIM_Plane.cpp : to to -> to
This commit is contained in:
VMsunghwan 2022-01-12 17:02:50 +09:00 committed by Peter Barker
parent a49bab158f
commit 224cea979e
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ Vector3f Plane::getTorque(float inputAileron, float inputElevator, float inputRu
}
// Add torque to to force misalignment with CG
// Add torque to force misalignment with CG
// r x F, where r is the distance from CoG to CoL
la += CGOffset.y * force.z - CGOffset.z * force.y;
ma += -CGOffset.x * force.z + CGOffset.z * force.x;

View File

@ -1116,7 +1116,7 @@ void mexFunction(
Print_Start_Message();
mexAtExit(CleanUpMex);
/* Init all connecttions to to free */
/* Init all connecttions to free */
for(con_index=0; con_index<MAX_CON; con_index++)
init_con(-1,STATUS_FREE);
con_index=0;