Hi,
and for those, who have the executable "yasim-test" in their makefile:
this patch is needed for this program to be compatible with the glider
patch.
Maik
Maik Justus schrieb am 15.01.2007 16:47:
Hi,
it seems, that the mail server has eaten one of my mails with a
missing diff. Here it is again. Without this diff you can not aerotow
via MP with forces on both aircrafts.
Maik
Maik Justus schrieb am 14.01.2007 19:01:
Hi,
I forgot to mention:
There are two new files: Hitch.?pp, to be placed in the YASim directory.
You need to add Hitch.cpp to the project file.
Maik
Maik Justus schrieb am 14.01.2007 15:22:
Hi,
I forgot one file. Here it is.
Maik
Maik Justus schrieb am 14.01.2007 15:15:
Hi,
here a new version of the winch/aerotow patch.
The tar.gz contains a diff for yasim (including the ground property
patch) and modifications for aircrafts to make use of the tow:
The J3 for aerotowing.
and a xml config for the bocian (which is not in cvs) and the
sgs233 (sgs233y) based on the bocian config. (without realistic
parameters, only a demonstrator how to define glider in YASim
(without thruster and with aerotow-hitch and winch)).
The patch needs actual cvs source and should run on plib and on head.
For winchstart:
start with the sgs233y.
Place the winch witch Ctrl-w.
Hold w to "run" the winch.
Open the hitch with Shift-w
For Aerotow:
start with the sgs233y or bocian (if you have AJ 3D-model).
Place the plane next to the aircraft, which you want to aerotow
with. (within 60m)
Press Ctrl-t for selecting this aircraft for aerotow. (watch
console whom you got)
Fly
Open the hitch by Shift-T
If you selected a J3, the J3-pilot feels the forces, but very
delayed now. Try to fly very smoothly and at start be slow as long
as the glider is not moving. The J3-Pilot has not to press any key,
but he can release the tow by Shift-T.
The patch is not ready for cvs.
Have fun.
I hope we can do some beta testing this evening.
Maik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Index: yasim-test.cpp
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/YASim/yasim-test.cpp,v
retrieving revision 1.9.2.2
diff -u -p -r1.9.2.2 yasim-test.cpp
--- yasim-test.cpp 10 Jan 2007 18:59:33 -0000 1.9.2.2
+++ yasim-test.cpp 15 Jan 2007 16:14:40 -0000
@@ -46,7 +46,7 @@ void yasim_graph(Airplane* a, float alt,
for(int deg=-179; deg<=179; deg++) {
float aoa = deg * DEG2RAD;
- Airplane::setupState(aoa, kts * KTS2MPS, &s);
+ Airplane::setupState(aoa, kts * KTS2MPS, 0 ,&s);
m->getBody()->reset();
m->initIteration();
m->calcForces(&s);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel