Browse Source

SITL : fixed typo

line 1119 in pnet.c : to to -> to
line 198 in SIM_Plane.cpp : to to -> to
gps-1.3.1
VMsunghwan 3 years ago committed by Peter Barker
parent
commit
224cea979e
  1. 2
      libraries/SITL/SIM_Plane.cpp
  2. 2
      libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c

2
libraries/SITL/SIM_Plane.cpp

@ -195,7 +195,7 @@ Vector3f Plane::getTorque(float inputAileron, float inputElevator, float inputRu @@ -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;

2
libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c

@ -1116,7 +1116,7 @@ void mexFunction( @@ -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;

Loading…
Cancel
Save