Re: [Flightgear-devel] Re : Windturbines facing in wrong wind direction
Whatever you do to fix it, please note that there is more than one windturbine model ;) E.g. this one I created recently: http://scenemodels.flightgear.org/modeledit.php?id=2418 IIRC it has the same animation setup, just different numbers. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Windturbines facing in wrong wind direction
On 29/02/12 17:06, Gijs de Rooy wrote: Whatever you do to fix it, please note that there is more than one windturbine model ;) E.g. this one I created recently: http://scenemodels.flightgear.org/modeledit.php?id=2418 IIRC it has the same animation setup, just different numbers. It seems there was some weirdness in the db: landcover= select count(*),ob_heading from fgs_objects where ob_model=33 group by ob_heading; count | ob_heading ---+ 1 | 200.00 2 | 210.00 1 | 230.00 1 | 240.00 789 | 180.00 24262 | 0.00 (6 rows) So I've updated it, and we now have: landcover= select count(*),ob_heading from fgs_objects where ob_model=33 group by ob_heading; count | ob_heading ---+ 25056 | 0.00 (1 row) I'll do the same for model 2418 - then once everything is consistent we can see if any changes need to be made (they certainly used to work properly). -- Jon Stockill li...@stockill.net -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Windturbines facing in wrong wind direction
Hi Martin and Olivier, I thought that windturbine orientation was correct in the past -- so please use due diligence to identify if the problem is just a misorientaiton of the base model, or if one of the components of the wind vector was reversed (or the code that takes the wind(east) and wind(north) components and derives the heading is correct.) If only east/west component is reversed, I don't think changing the base model orientation will actually fix the problem for all wind directions. Regards, Curt. On Sun, Feb 26, 2012 at 10:47 AM, Olivier wrote: -- *De :* Martin Spott martin.sp...@mgras.net *À :* flightgear-devel@lists.sourceforge.net *Envoyé le :* Dimanche 26 février 2012 13h48 *Objet :* Re: [Flightgear-devel] Windturbines facing in wrong wind direction To make them work properly the orientation has to be changed to 0! That's rather strange. I thought the model would correct this by itself. If anybody verifies and tells me the ID of the affected model in Scenemodels, I'd fix the orientation of all of them - that's just a very simple one-liner in SQL, I don't have FG under the hand - should put it on a USB key. However, the model number is 33 : http://scenemodels.flightgear.org/modeledit.php?id=33 Olivier. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Curtis Olson: http://www.atiak.com - http://aem.umn.edu/~uav/ http://www.flightgear.org - http://gallinazo.flightgear.org -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Windturbines facing in wrong wind direction
On Mon, 27 Feb 2012 09:54:40 -0600, Curtis Olson wrote: Hi Martin and Olivier, I thought that windturbine orientation was correct in the past -- so please use due diligence to identify if the problem is just a misorientaiton of the base model, or if one of the components of the wind vector was reversed (or the code that takes the wind(east) and wind(north) components and derives the heading is correct.) If only east/west component is reversed, I dont think changing the base model orientation will actually fix the problem for all wind directions. It may be from people submitting positions with an incorrect heading set. Since the model obviously turns into wind the heading should be 0 in the database, though this appears as 180 in the stg file. If someone's submitted a hand crafted stg file with all the headings set to 0 by mistake then it could explain the problem. I'll have a look when I get home from work. -- Jon Stockill li...@stockill.net -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel