Re: [Flightgear-devel] external flight model
Arnt Karlsen wrote: ..would an external flight model be easier for you? It can then network with FlightGear both from the same box and from another. I bet it would be easier. That is how our system works now. We start the flight model simulator which has an embedded vehicle state server. Then, the 3D renderer and the ground station connect to the flight model state server. The 3D renderer simply listens to the vehicle state and renders a couple differnet points of view (vehicle, groundstation, etc.). The groundstation listens to state to display the AI and guages and then sends actuator commands to the simulator from the joystick (manual control) or from the guidance program. Are there any external flight models currently implement for reference? I see the src/FDM/* and src/Network/*_fdm.* as a starting point. Our video is minimal - just a helicopter in a flat endless world. http://cvs.sf.net/cgi-bin/viewcvs.cgi/autopilot/sim/src/heli-3d/ Dennis ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] cygwin problems linking fgfs.exe
Andy Ross wrote: > *but* it is in the wrong place > i.e Win32 linkage is quite different then Unix linkage and the order > of the libraries *is* important ie sybols must be resolved *after* they > are used. Yes, it seemed to me that opengl wasn't getting linked, so I was moving the link order around in experimentation. The stock configuration has the libraries in the correct order. I apologize for the confustion on this aspect. BTW, the stock configuration provided the same message. I'm involved with the autopilot.sf.net project and we are exploring flightgear integration with our simulator. The helicopter flight model was written by Aaron Kahn and has a VERY realistic hover simulation. Optionally, a flybar component can be introduced into the model for further simulating R/C class helicopters. flight model is at: http://cvs.sf.net/cgi-bin/viewcvs.cgi/autopilot/sim/src/heli-sim/ This is our focus as we are working on a GPS aided INS system for R/C helicopters and airplanes. The simulator allows us to work on the groundstation, kalman filter and other vehicle systems in virtual reality. The Kalman filter is at: http://cvs.sf.net/cgi-bin/viewcvs.cgi/autopilot/sim/src/imu-filter/ Navigation prototype is at: http://cvs.sf.net/cgi-bin/viewcvs.cgi/autopilot/sim/src/controller/ Trammell from the autopilot.sf.net project found an old flightgear-users message that detailed the cygwin build procedure. This email was enough to get flightgear compiling on my system. It seems cygwin is pretty messy with regards to OpenGL and X11 (three sets & variations of GL headers!!). I don't know enough about flightgear yet to know how to integrate the flight model... Either internally or as an external driver? Although, I must admit that I have been having too much fun flying and using flightgear and not enough time looking at the code :-) Plib networking also looks attractive. We have a TCP/IP based state server on the sim and a UDP based state server onboard the vehicle. We are working to reconcile them (into UDP due to the nature of our wireless telemetry system) and someone mentioned Plib. Between flightgear and opengc, it would be great to adhere to some sort of open source simulation network standard. our TCP/IP networking is at: http://cvs.sf.net/cgi-bin/viewcvs.cgi/autopilot/sim/src/state/ Our UDP network is embedded in the onboard filter and ground station at the moment and isn't very modular (... hack ...) I got a little spoiled these past four years doing Java stuff at NextBus. I have done mostly Java work for the past 3 years. This has spoiled me in regards to build systems. Switching back to C/C++ multi-platform systems has been a rude awakening... Thanks for the responses on this cygwin issue. Dennis ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] cygwin problems linking fgfs.exe
I thought I successfully compiled and installed SimGear-0.3.1. However, whem making FlightGear-0.9.1 under cygwin (xwindows was removed), I get this message: Making all in Main make[2]: Entering directory `/home/annunzio/FlightGear-0.9.1/src/Main' g++ -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -L/usr/local/lib -o fgfs.e xe main.o fg_commands.o fg_init.o fg_io.o fg_props.o fgfs.o globals.o logger.o options.o splash.o util.o viewer.o viewmgr.o location.o ../../src/Aircraft/libAi rcraft.a ../../src/ATC/libATC.a ../../src/Autopilot/libAutopilot.a ../../src/Coc kpit/libCockpit.a ../../src/Cockpit/built_in/libBuilt_in.a ../../src/Controls/li bControls.a ../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a ../../s rc/FDM/ExternalNet/libExternalNet.a ../../src/FDM/JSBSim/libJSBSim.a ../../src/F DM/YASim/libYASim.a ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a ../../src/FDM/ LaRCsim/libLaRCsim.a ../../src/FDM/UIUCModel/libUIUCModel.a ../../src/GUI/libGUI .a ../../src/Input/libInput.a ../../src/Instrumentation/libInstrumentation.a ../ ../src/Model/libModel.a ../../src/Navaids/libNavaids.a ../../src/Scenery/libScen ery.a ../../src/Sound/libSound.a ../../src/Airports/libAirports.a ../../src/Netw ork/libNetwork.a ../../src/NetworkOLK/libNetworkOLK.a ../../src/Objects/libObjec ts.a ../../src/Systems/libSystems.a ../../src/Time/libTime.a ../../src/Environme nt/libEnvironment.a -lsgroute -lsgsky -lsgclouds3d -lsgephem -lsgtiming -lsgio - lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul -lmk4 -lz -lop engl32 -lpthread -lm -lglut32 -lglu32 -luser32 -lgdi32 -lplibsl -lplibsm -lwinm m -lm Warning: resolving _glPopAttrib by linking to _glPopAttrib@0 Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups Warning: resolving _glPushAttrib by linking to _glPushAttrib@4 Warning: resolving _glDisable by linking to _glDisable@4 Warning: resolving _glBlendFunc by linking to _glBlendFunc@8 Warning: resolving _glLoadMatrixf by linking to _glLoadMatrixf@4 Warning: resolving _glMatrixMode by linking to _glMatrixMode@4 Warning: resolving _glLoadIdentity by linking to _glLoadIdentity@0 Warning: resolving _glColor3f by linking to _glColor3f@12 Warning: resolving _glPopMatrix by linking to _glPopMatrix@0 Warning: resolving _glClear by linking to _glClear@4 Warning: resolving _glClearColor by linking to _glClearColor@16 Warning: resolving _glOrtho by linking to _glOrtho@48 Warning: resolving _glPushMatrix by linking to _glPushMatrix@0 Warning: resolving _glViewport by linking to _glViewport@16 Warning: resolving _glGetIntegerv by linking to _glGetIntegerv@8 Warning: resolving _glEnd by linking to _glEnd@0 Warning: resolving _glBegin by linking to _glBegin@4 Warning: resolving _glVertex3fv by linking to _glVertex3fv@4 Warning: resolving _glTexCoord2f by linking to _glTexCoord2f@8 Warning: resolving _glColor4fv by linking to _glColor4fv@4 Warning: resolving _glTexEnvf by linking to _glTexEnvf@12 Warning: resolving _glAlphaFunc by linking to _glAlphaFunc@8 Warning: resolving _glFogfv by linking to _glFogfv@8 Warning: resolving _glFogf by linking to _glFogf@8 Warning: resolving _glColorMaterial by linking to _glColorMaterial@8 Warning: resolving _glEnable by linking to _glEnable@4 Warning: resolving _glMaterialf by linking to _glMaterialf@12 Warning: resolving _glMaterialfv by linking to _glMaterialfv@12 Warning: resolving _glVertex2f by linking to _glVertex2f@8 Warning: resolving _glColor4f by linking to _glColor4f@16 Warning: resolving _gluOrtho2D by linking to _gluOrtho2D@32 Warning: resolving _glTexImage2D by linking to _glTexImage2D@36 Warning: resolving _glTexParameterf by linking to _glTexParameterf@12 Warning: resolving _glBindTexture by linking to _glBindTexture@8 Warning: resolving _glGenTextures by linking to _glGenTextures@8 Warning: resolving _glDeleteTextures by linking to _glDeleteTextures@8 Warning: resolving _glutGet by linking to _glutGet@4 Warning: resolving _glLightf by linking to _glLightf@12 Warning: resolving _glLightfv by linking to _glLightfv@12 Warning: resolving _glPolygonMode by linking to _glPolygonMode@8 Warning: resolving _glMultMatrixf by linking to _glMultMatrixf@4 Warning: resolving _glTranslatef by linking to _glTranslatef@12 Warning: resolving _glLineWidth by linking to _glLineWidth@4 Warning: resolving _glTexParameteri by linking to _glTexParameteri@12 Warning: resolving _glGetString by linking to _glGetString@4 Warning: resolving _glPixelStorei by linking to _glPixelStorei@8 /usr/local/lib/libsgclouds3d.a(SkyCloud.o)(.text+0x19c8): In function `_ZN8SkyCl oud10IlluminateEP8SkyLightP21SkyRenderableInstanceb': /home/annunzio/SimGear-0.3.1/simgear/sky/clouds3d/SkyCloud.cpp:469: undefined re ference to `_glGetDoublev' /usr/local/lib/libsgclouds3d.a(SkyCloud.o)(.text+0x19de):/home/annunzio/SimGear- 0.3.1/simgear/sky/clouds3d/SkyCloud
[Flightgear-devel] cygwin problems linking fgfs.exe
I thought I successfully compiled and installed SimGear-0.3.1. However, whem making FlightGear-0.9.1 under cygwin (xwindows was removed), I get this message: Making all in Main make[2]: Entering directory `/home/annunzio/FlightGear-0.9.1/src/Main' g++ -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -L/usr/local/lib -o fgfs.e xe main.o fg_commands.o fg_init.o fg_io.o fg_props.o fgfs.o globals.o logger.o options.o splash.o util.o viewer.o viewmgr.o location.o ../../src/Aircraft/libAi rcraft.a ../../src/ATC/libATC.a ../../src/Autopilot/libAutopilot.a ../../src/Coc kpit/libCockpit.a ../../src/Cockpit/built_in/libBuilt_in.a ../../src/Controls/li bControls.a ../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a ../../s rc/FDM/ExternalNet/libExternalNet.a ../../src/FDM/JSBSim/libJSBSim.a ../../src/F DM/YASim/libYASim.a ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a ../../src/FDM/ LaRCsim/libLaRCsim.a ../../src/FDM/UIUCModel/libUIUCModel.a ../../src/GUI/libGUI .a ../../src/Input/libInput.a ../../src/Instrumentation/libInstrumentation.a ../ ../src/Model/libModel.a ../../src/Navaids/libNavaids.a ../../src/Scenery/libScen ery.a ../../src/Sound/libSound.a ../../src/Airports/libAirports.a ../../src/Netw ork/libNetwork.a ../../src/NetworkOLK/libNetworkOLK.a ../../src/Objects/libObjec ts.a ../../src/Systems/libSystems.a ../../src/Time/libTime.a ../../src/Environme nt/libEnvironment.a -lsgroute -lsgsky -lsgclouds3d -lsgephem -lsgtiming -lsgio - lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul -lmk4 -lz -lop engl32 -lpthread -lm -lglut32 -lglu32 -luser32 -lgdi32 -lplibsl -lplibsm -lwinm m -lm Warning: resolving _glPopAttrib by linking to _glPopAttrib@0 Use --enable-stdcall-fixup to disable these warnings Use --disable-stdcall-fixup to disable these fixups Warning: resolving _glPushAttrib by linking to _glPushAttrib@4 Warning: resolving _glDisable by linking to _glDisable@4 Warning: resolving _glBlendFunc by linking to _glBlendFunc@8 Warning: resolving _glLoadMatrixf by linking to _glLoadMatrixf@4 Warning: resolving _glMatrixMode by linking to _glMatrixMode@4 Warning: resolving _glLoadIdentity by linking to _glLoadIdentity@0 Warning: resolving _glColor3f by linking to _glColor3f@12 Warning: resolving _glPopMatrix by linking to _glPopMatrix@0 Warning: resolving _glClear by linking to _glClear@4 Warning: resolving _glClearColor by linking to _glClearColor@16 Warning: resolving _glOrtho by linking to _glOrtho@48 Warning: resolving _glPushMatrix by linking to _glPushMatrix@0 Warning: resolving _glViewport by linking to _glViewport@16 Warning: resolving _glGetIntegerv by linking to _glGetIntegerv@8 Warning: resolving _glEnd by linking to _glEnd@0 Warning: resolving _glBegin by linking to _glBegin@4 Warning: resolving _glVertex3fv by linking to _glVertex3fv@4 Warning: resolving _glTexCoord2f by linking to _glTexCoord2f@8 Warning: resolving _glColor4fv by linking to _glColor4fv@4 Warning: resolving _glTexEnvf by linking to _glTexEnvf@12 Warning: resolving _glAlphaFunc by linking to _glAlphaFunc@8 Warning: resolving _glFogfv by linking to _glFogfv@8 Warning: resolving _glFogf by linking to _glFogf@8 Warning: resolving _glColorMaterial by linking to _glColorMaterial@8 Warning: resolving _glEnable by linking to _glEnable@4 Warning: resolving _glMaterialf by linking to _glMaterialf@12 Warning: resolving _glMaterialfv by linking to _glMaterialfv@12 Warning: resolving _glVertex2f by linking to _glVertex2f@8 Warning: resolving _glColor4f by linking to _glColor4f@16 Warning: resolving _gluOrtho2D by linking to _gluOrtho2D@32 Warning: resolving _glTexImage2D by linking to _glTexImage2D@36 Warning: resolving _glTexParameterf by linking to _glTexParameterf@12 Warning: resolving _glBindTexture by linking to _glBindTexture@8 Warning: resolving _glGenTextures by linking to _glGenTextures@8 Warning: resolving _glDeleteTextures by linking to _glDeleteTextures@8 Warning: resolving _glutGet by linking to _glutGet@4 Warning: resolving _glLightf by linking to _glLightf@12 Warning: resolving _glLightfv by linking to _glLightfv@12 Warning: resolving _glPolygonMode by linking to _glPolygonMode@8 Warning: resolving _glMultMatrixf by linking to _glMultMatrixf@4 Warning: resolving _glTranslatef by linking to _glTranslatef@12 Warning: resolving _glLineWidth by linking to _glLineWidth@4 Warning: resolving _glTexParameteri by linking to _glTexParameteri@12 Warning: resolving _glGetString by linking to _glGetString@4 Warning: resolving _glPixelStorei by linking to _glPixelStorei@8 /usr/local/lib/libsgclouds3d.a(SkyCloud.o)(.text+0x19c8): In function `_ZN8SkyCl oud10IlluminateEP8SkyLightP21SkyRenderableInstanceb': /home/annunzio/SimGear-0.3.1/simgear/sky/clouds3d/SkyCloud.cpp:469: undefined re ference to `_glGetDoublev' /usr/local/lib/libsgclouds3d.a(SkyCloud.o)(.text+0x19de):/home/annunzio/SimGear- 0.3.1/simgear/sky/clouds3d/SkyCloud