Skip to content

Improvements to <table> #185

@ghost

Description

I am currently making a FDM out of limited set of data, with dimension per AoA and nose cone deflection being available only up to some Mach number, and have run into 2 frustrating behaviours of <table> which are turning this into a chore.

  1. When a tree-dimensional <table> is given a single column or a single number under one of the <tableData>, JSBSim refuses to work. But I would expect it to interpret <tableData> like this:
shape 1x1
0
ignore row and column

shape Nx2
0 4
1 5
2 6
3 7
ignore column

shape 2xN
0 1 2 3
4 5 6 7
ignore row

shape(N+1)x(N+1) with empty corner
   0  1  2  3
0  4  5  6  7
1  8  9 10 11
2 12 13 14 15
3 16 17 18 19
interpolate both row and column as usual

thus the only only invalid inputs would be array shapes of 2x1 and 1x2 or a NxN with non-empty corner.

  1. Even if I don't specify column coordinate at all, <table> does not want to use combination of row and table coordinates without column -- which means some tables I would have to reshuffle instead of just pasting them under different <tableData>. This actually may be a consequence of "1."

But I'm not sure whether I'm asking for makes sense -- maybe there are other tools than <table> anyone would suggest for this job?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions