> Jon S. Berndt wrote: > > This question comes up sometimes, and then a fix is made. There may > be a > > misinterpretation in the interface between FlightGear and JSBSim > about > > winds. For instance, when a wind is specified is that a from > direction or a > > "to" direction? JSBSim interprets wind specification as a "to" > direction. > > I do not know about FlightGear nor JSBSim but meteorology (and thus > airmen) specifies wind in direction from where the wind originates, > i.e., a westerly wind (wind direction 270) blows towards the east > (direction 090). Of course, programmers may define wind direction > however they please but they should be consistent ;-) > > Cheers, > > Jari
Yes, the difference stems from the need to know what the wind is bringing, and the vectorial definition of where it's going. The problem was that sometimes we just had a vector where we expected to see North, East, and Down, wind components. Well ... fine, but is that "to" or "from". The convention was unspecified, and that caused confusion. From the FlightGear side, I can see winds being specified either way. In the flight dynamics code, however, I expect to see a wind velocity vector - the direction it's going. The question is, where does the conversion to the wind velocity vector form break? Jon ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel