I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later

Dependencies:   BufferedSerial FatFileSystemCpp mbed

Committer:
AndyA
Date:
Mon Nov 14 14:53:12 2022 +0000
Revision:
82:ee6eed2a51bd
Parent:
60:899862db7f2a
First pass at adding PNT position source support.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AndyA 52:adbbaadca0a9 1 [Radio configuration mode]
AndyA 52:adbbaadca0a9 2 # RadioConfigPassthrough=<baud rate>
AndyA 52:adbbaadca0a9 3 # If this option is set then normal FIZ box functionality is disabled.
AndyA 52:adbbaadca0a9 4 # The system will instead transparently connect the USB COM port to the radio com port
AndyA 52:adbbaadca0a9 5 # Both ports will be set to the baud rate specified.
AndyA 52:adbbaadca0a9 6 # When used this option should be first in the options file.
JamieB 60:899862db7f2a 7 --------------------------------
AndyA 52:adbbaadca0a9 8 //RadioConfigPassthrough=115200
JamieB 60:899862db7f2a 9 --------------------------------
AndyA 52:adbbaadca0a9 10
JamieB 25:7002be632308 11 [Serial Output Format]
JamieB 25:7002be632308 12 # Sets the serial output format.
JamieB 25:7002be632308 13 # 0 = VIPS (Default)
JamieB 25:7002be632308 14 # 1 = FreeD
JamieB 25:7002be632308 15 --------------------------------
JamieB 25:7002be632308 16 Output_Format=0
JamieB 25:7002be632308 17 --------------------------------
JamieB 39:3cd9e498b5c6 18
JamieB 25:7002be632308 19 [Fiz Format]
JamieB 25:7002be632308 20 # Sets the FIZ reader to use
JamieB 25:7002be632308 21 # 0 - Preston (default)
JamieB 25:7002be632308 22 # 1 - Fuji passive listen mode (skycam)
JamieB 25:7002be632308 23 # 2 - Fuji active mode
JamieB 39:3cd9e498b5c6 24 # 3 - Canon
JamieB 25:7002be632308 25 --------------------------------
JamieB 39:3cd9e498b5c6 26 FIZ_Format=3
JamieB 25:7002be632308 27 --------------------------------
AndyA 82:ee6eed2a51bd 28
AndyA 82:ee6eed2a51bd 29 [Position source]
AndyA 82:ee6eed2a51bd 30 # Sets the position source format
AndyA 82:ee6eed2a51bd 31 # 0 - VIPS
AndyA 82:ee6eed2a51bd 32 # 1 - PNT in racelogic serial mode
AndyA 82:ee6eed2a51bd 33 --------------------------------
AndyA 82:ee6eed2a51bd 34 Position_Source=0
AndyA 82:ee6eed2a51bd 35 --------------------------------
AndyA 82:ee6eed2a51bd 36
AndyA 82:ee6eed2a51bd 37
JamieB 25:7002be632308 38 [Ethernet Port]
JamieB 25:7002be632308 39 # Sets the UDP port for FreeD network output.
JamieB 25:7002be632308 40 # Data is sent as a UDP broadcast on the select port number.
JamieB 25:7002be632308 41 # A port number of 0 disables UDP output.
JamieB 25:7002be632308 42 --------------------------------
JamieB 25:7002be632308 43 FreeD_Port=12345
JamieB 42:9653486372a6 44 VIPS_UDP_Port=7000
JamieB 25:7002be632308 45 --------------------------------
JamieB 39:3cd9e498b5c6 46
JamieB 25:7002be632308 47 [Network Settings]
JamieB 25:7002be632308 48 # Set the Static IPv4 address to use for the ethernet interface.
JamieB 25:7002be632308 49 # NOTE: All 3 values must be set for a static address to be used otherwise DHCP will be used.
JamieB 25:7002be632308 50 # Comment out the line using any additional characters at the beginning to ignore
JamieB 25:7002be632308 51 --------------------------------
JamieB 25:7002be632308 52 //IP_addr=aaa.bbb.ccc.ddd
JamieB 25:7002be632308 53 //Subnet=aaa.bbb.ccc.ddd
JamieB 25:7002be632308 54 //Gateway=aaa.bbb.ccc.ddd
JamieB 25:7002be632308 55 --------------------------------
JamieB 25:7002be632308 56
JamieB 39:3cd9e498b5c6 57 [Filter_Settings]
JamieB 39:3cd9e498b5c6 58 #Low pass filter settings for channels that have it enabled.
JamieB 39:3cd9e498b5c6 59 #Filter is of order n with a cut off at m Hz assuming input data rate is at r Hz
JamieB 39:3cd9e498b5c6 60 #Filter order must be set to enable filters.
JamieB 39:3cd9e498b5c6 61 #Frequency default is 10Hz
JamieB 39:3cd9e498b5c6 62 #Rate default is 100Hz
JamieB 60:899862db7f2a 63
JamieB 60:899862db7f2a 64 --------------------------------
JamieB 39:3cd9e498b5c6 65 //FilterOrder=1
JamieB 39:3cd9e498b5c6 66 //FilterFreq=7
JamieB 39:3cd9e498b5c6 67 //FilterRate=100
JamieB 60:899862db7f2a 68 --------------------------------
JamieB 25:7002be632308 69
JamieB 60:899862db7f2a 70 # Enable channels to low pass filter. All filters use the settings given above.
JamieB 60:899862db7f2a 71 # A value of 1 enables the filter. A value of 0 or skipping the line disables the filter.
JamieB 60:899862db7f2a 72 --------------------------------
JamieB 39:3cd9e498b5c6 73 //FilterXY=0
JamieB 39:3cd9e498b5c6 74 //FilterZ=0
JamieB 39:3cd9e498b5c6 75 //FilterRoll=0
JamieB 39:3cd9e498b5c6 76 //FilterPitch=1
JamieB 39:3cd9e498b5c6 77 //FilterYaw=0
JamieB 60:899862db7f2a 78 --------------------------------
JamieB 39:3cd9e498b5c6 79
AndyA 82:ee6eed2a51bd 80 [Origin settings]
AndyA 82:ee6eed2a51bd 81 # When using PNT the output is in Latitude / Longitude
AndyA 82:ee6eed2a51bd 82 # The output will then be converted to meters east (X), north (Y) and up (height)
AndyA 82:ee6eed2a51bd 83 # relative to this origin location.
AndyA 82:ee6eed2a51bd 84 # Latitude and longitude are in decimal degrees.
AndyA 82:ee6eed2a51bd 85 # Altitude is in meters.
AndyA 82:ee6eed2a51bd 86 # If no origin (or a 0 origin) is given output will be in latitude/longitude
AndyA 82:ee6eed2a51bd 87 # For VIPS this option has no effect.
AndyA 82:ee6eed2a51bd 88 OriginLatitude=52.000
AndyA 82:ee6eed2a51bd 89 OriginLongitude=-1.000
AndyA 82:ee6eed2a51bd 90 OriginAltitude=160.000
AndyA 82:ee6eed2a51bd 91
AndyA 82:ee6eed2a51bd 92
AndyA 82:ee6eed2a51bd 93
JamieB 39:3cd9e498b5c6 94 # NOTE-The filter will add latency so a filtered channel will be delayed relative to an unfiltered one.
JamieB 39:3cd9e498b5c6 95
AndyA 44:fe7fcf62c75d 96 [Additional outputs]
AndyA 44:fe7fcf62c75d 97 # By default FIZ box VIPS format output only output the fields required by unreal
AndyA 44:fe7fcf62c75d 98 # even if the VIPS itself is configured to output more data. This is intended to minimise radio traffic
AndyA 44:fe7fcf62c75d 99 # while allowing debug data to be avalible when connecting directly to VIPS.
AndyA 44:fe7fcf62c75d 100 # Setting this option to 1 allows additional fields to be passed through the FIZ box.
AndyA 44:fe7fcf62c75d 101 # Currently supported fields are:
AndyA 44:fe7fcf62c75d 102 # Used Beacon List (mask value 0x1000)
JamieB 60:899862db7f2a 103 --------------------------------
AndyA 44:fe7fcf62c75d 104 //ExtendedOutput=1
JamieB 60:899862db7f2a 105 --------------------------------
AndyA 50:d6c56eccf56a 106
JamieB 60:899862db7f2a 107 [Frame Delay]
AndyA 50:d6c56eccf56a 108 # By default the FIZ output is sent as soon as possible after the sync pulse.
AndyA 50:d6c56eccf56a 109 # An optional delay can be added to this to either as time or as a proportion of a frame
AndyA 50:d6c56eccf56a 110 # If both ms and frame delays are set then the frame one will be used.
AndyA 50:d6c56eccf56a 111 # NOTE: UDP output has an aditional jitter/delay of up to 2ms due to the thread sleep times.
AndyA 50:d6c56eccf56a 112 # BIG FLASHING NOTE IN BOLD: No additional buffering is provided so if delay is sufficently large
AndyA 50:d6c56eccf56a 113 # that the transmit doesn't complete until after the next frame starts
AndyA 50:d6c56eccf56a 114 # then the message will get corrupted.
JamieB 60:899862db7f2a 115 --------------------------------
AndyA 50:d6c56eccf56a 116 # Delay the serial by a fixed number of ms
AndyA 50:d6c56eccf56a 117 //DelaySerial=5.2
JamieB 60:899862db7f2a 118
AndyA 50:d6c56eccf56a 119 # Delay the serial by a fraction of a frame
AndyA 50:d6c56eccf56a 120 //DelaySerialFrame=0.3
JamieB 60:899862db7f2a 121
AndyA 50:d6c56eccf56a 122 # Delay the serial by a fixed number of ms
AndyA 50:d6c56eccf56a 123 //DelayUDP=5.2
JamieB 60:899862db7f2a 124
AndyA 50:d6c56eccf56a 125 # Delay the serial by a fraction of a frame
AndyA 50:d6c56eccf56a 126 //DelayUDPFrame=0.3
JamieB 60:899862db7f2a 127 --------------------------------
AndyA 51:d4a5151af5af 128
JamieB 60:899862db7f2a 129 [Orientation control]
AndyA 56:0d9684c7df36 130 # These options allow an offset to be added to an orientation value and the direction of the axis to be reversed.
AndyA 56:0d9684c7df36 131 # Offsets are added BEFORE reversing the direction, if offsetting an inverted channel you may need the opposite direction.
AndyA 56:0d9684c7df36 132 # Offsets are integer values, inverts are 1 to flip the axis, any other value to maintain direction.
JamieB 60:899862db7f2a 133 --------------------------------
AndyA 56:0d9684c7df36 134 //OffsetRoll=0
AndyA 56:0d9684c7df36 135 //OffsetPitch=0
AndyA 56:0d9684c7df36 136 //OffsetYaw=0
AndyA 51:d4a5151af5af 137 //InvertRoll=1
AndyA 51:d4a5151af5af 138 //InvertPitch=1
AndyA 51:d4a5151af5af 139 //InvertYaw=1
JamieB 60:899862db7f2a 140 --------------------------------
JamieB 60:899862db7f2a 141 [Autohypersmooth]
AndyA 56:0d9684c7df36 142 # A value of 1 will enable this, 0 will disable it.
AndyA 56:0d9684c7df36 143 # Default is enabled.
JamieB 60:899862db7f2a 144 --------------------------------
AndyA 56:0d9684c7df36 145 //AutoHyperSmooth=0
JamieB 60:899862db7f2a 146 --------------------------------
JamieB 60:899862db7f2a 147
JamieB 60:899862db7f2a 148 [Sync Options]
JamieB 60:899862db7f2a 149 # Enable Force PPF option to force the Fixbox to use PPF instead of Genlock Sync (Tri/Bi Level)
JamieB 60:899862db7f2a 150 # WARNING: This will stop the FIzbox from using Genlock Sync Completely, only enable if using a Lockit
JamieB 60:899862db7f2a 151 --------------------------------
JamieB 60:899862db7f2a 152 // ForcePPF=1
JamieB 60:899862db7f2a 153 --------------------------------
JamieB 60:899862db7f2a 154
AndyA 56:0d9684c7df36 155
JamieB 25:7002be632308 156 [NOTES]
JamieB 25:7002be632308 157 - All settings are case sensitive.
JamieB 25:7002be632308 158 - Do NOT include spaces in the options lines.
JamieB 25:7002be632308 159 - All options default to a value of 0 if omitted from the file.