![]() ![]() Some lookup tables in simulation - particularly for aerodynamic data - can be four, five, six, or even more dimensional. Note that table values are interpolated linearly, and no extrapolation is done at the table limits - the highest value a table will return is the highest value that is defined. fcs/row-value fcs/column-value fcs/table-value Note the breakpoint attribute in the tableData element, above. The tabular functions aero/function/kCDge and aero/function/kCLge, representing the factors $K_ Change in lift due to ground effect 1.0 aero/h_b-mac-ft Change in drag due to ground effect 1.0 aero/h_b-mac-ft Thus, the previous example could be written to look like this: Within a function definition only, those elements can be referred to with the tags,, , and. Properties, values, and tables are normally referred to with the tags,, , and. The point to keep in mind is any such contained operation evaluates to a single value - which is just what the trigonometric functions require (except atan2, which takes two arguments).įinally, within a function definition, there are some shorthand aliases that can be used for brevity in place of the standard element tags. That argument, however, can be an operation (such as sum) which can contain other items. Some operations take only a single argument. As shown, operations can contain values, properties, tables, or other operations. The “lowest level” in a function definition is always a value or a property, which cannot itself contain another element. Roll moment due to yaw rate aero/qbar-area metrics/bw-ft velocities/r-aero-rad_sec aero/bi2vel aero/alpha-rad random (Gaussian random number, takes no arguments)Īn operation is defined in the configuration file as in the following example:.The function syntax is similar in concept to MathML (Mathematical Markup Language, ), but it is simpler and more terse.Ī function definition consists of an operation, a value, a table, or a property (which evaluates to a value). The function specification in JSBSim is a powerful and versatile resource that allows algebraic functions to be defined in a JSBSim configuration file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |