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:
parent
a49bab158f
commit
224cea979e
@ -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
|
// r x F, where r is the distance from CoG to CoL
|
||||||
la += CGOffset.y * force.z - CGOffset.z * force.y;
|
la += CGOffset.y * force.z - CGOffset.z * force.y;
|
||||||
ma += -CGOffset.x * force.z + CGOffset.z * force.x;
|
ma += -CGOffset.x * force.z + CGOffset.z * force.x;
|
||||||
|
@ -1116,7 +1116,7 @@ void mexFunction(
|
|||||||
Print_Start_Message();
|
Print_Start_Message();
|
||||||
|
|
||||||
mexAtExit(CleanUpMex);
|
mexAtExit(CleanUpMex);
|
||||||
/* Init all connecttions to to free */
|
/* Init all connecttions to free */
|
||||||
for(con_index=0; con_index<MAX_CON; con_index++)
|
for(con_index=0; con_index<MAX_CON; con_index++)
|
||||||
init_con(-1,STATUS_FREE);
|
init_con(-1,STATUS_FREE);
|
||||||
con_index=0;
|
con_index=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user