User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

projects:a4sim:jsonfileformat

This is an old revision of the document!


a4SimData.json File Format

Example

{
  "hardwareAgent": {
    "ip": "192.168.0.8",
    "port": 49200
  },
  "hardwareAgentClient": {
    "ip": "192.168.0.12",
    "port": 49190
  },
  "drefs": [
    {"name": "sim/flightmodel2/misc/AoA_angle_degrees",
      "hide": true,
      "datadirection": "out",
      "type": "float",
      "units": "degrees",
      "notes": "Angle of attack probe. Positive means aircraft nose is above 
        the flight path in aircraft coordinates.",
      "i2c": {
        "address": 42,
        "enabled": false,
        "simvalue": {
          "interpolationDatapoints": [
            0,
            15
          ]
        },
        "hardware": {
          "maptype": "linear",
          "interpolationDatapoints": [
            0,
            270
          ],
          "type": "small unsigned int"
        },
        "notes": "Bit 0: 0=Write, 1=Read",
        "register": "0x00"
      }
projects/a4sim/jsonfileformat.1578177752.txt.gz · Last modified: 2020/01/04 22:42 by dwheele