Changeset 167 in flairsrc for trunk/lib/FlairSimulator/src/X4.cpp
 Timestamp:
 04/12/17 13:59:38 (7 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/lib/FlairSimulator/src/X4.cpp
r158 r167 282 282 u_thrust = k_mot>Value() * (fl_speed * fl_speed + fr_speed * fr_speed + 283 283 rl_speed * rl_speed + rr_speed * rr_speed); 284 Vector3D vect(0, 0, u_thrust);284 Vector3D<double> vect(0, 0, u_thrust); 285 285 vect.Rotate(state[0].Quat); 286 286 … … 291 291 ** =================================================================== 292 292 */ 293 293 294 state[0].Pos.x = 294 295 (dT() * dT() / m>Value()) * 295 (vect.x  296 f_air_lat>Value() * (state[1].Pos.x  state[2].Pos.x) / dT()) + 296 (vect.x  f_air_lat>Value() * (state[1].Pos.x  state[2].Pos.x) / dT()) + 297 297 2 * state[1].Pos.x  state[2].Pos.x; 298 298 state[0].Vel.x = (state[0].Pos.x  state[1].Pos.x) / dT(); 299 299 300 300 /* 301 301 ** ===================================================================
Note:
See TracChangeset
for help on using the changeset viewer.