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
settings.txt@56:0d9684c7df36, 2021-08-31 (annotated)
- Committer:
- AndyA
- Date:
- Tue Aug 31 12:15:37 2021 +0000
- Revision:
- 56:0d9684c7df36
- Parent:
- 52:adbbaadca0a9
- Child:
- 60:899862db7f2a
Merge Offset and invert options
Who changed what in which revision?
User | Revision | Line number | New 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. |
AndyA | 52:adbbaadca0a9 | 7 | //RadioConfigPassthrough=115200 |
AndyA | 52:adbbaadca0a9 | 8 | |
AndyA | 52:adbbaadca0a9 | 9 | |
JamieB | 25:7002be632308 | 10 | [Serial Output Format] |
JamieB | 25:7002be632308 | 11 | # Sets the serial output format. |
JamieB | 25:7002be632308 | 12 | # 0 = VIPS (Default) |
JamieB | 25:7002be632308 | 13 | # 1 = FreeD |
JamieB | 25:7002be632308 | 14 | -------------------------------- |
JamieB | 25:7002be632308 | 15 | Output_Format=0 |
JamieB | 25:7002be632308 | 16 | -------------------------------- |
JamieB | 39:3cd9e498b5c6 | 17 | |
JamieB | 25:7002be632308 | 18 | [Fiz Format] |
JamieB | 25:7002be632308 | 19 | # Sets the FIZ reader to use |
JamieB | 25:7002be632308 | 20 | # 0 - Preston (default) |
JamieB | 25:7002be632308 | 21 | # 1 - Fuji passive listen mode (skycam) |
JamieB | 25:7002be632308 | 22 | # 2 - Fuji active mode |
JamieB | 39:3cd9e498b5c6 | 23 | # 3 - Canon |
JamieB | 25:7002be632308 | 24 | -------------------------------- |
JamieB | 39:3cd9e498b5c6 | 25 | FIZ_Format=3 |
JamieB | 25:7002be632308 | 26 | -------------------------------- |
JamieB | 39:3cd9e498b5c6 | 27 | |
JamieB | 25:7002be632308 | 28 | [Ethernet Port] |
JamieB | 25:7002be632308 | 29 | # Sets the UDP port for FreeD network output. |
JamieB | 25:7002be632308 | 30 | # Data is sent as a UDP broadcast on the select port number. |
JamieB | 25:7002be632308 | 31 | # A port number of 0 disables UDP output. |
JamieB | 25:7002be632308 | 32 | -------------------------------- |
JamieB | 25:7002be632308 | 33 | FreeD_Port=12345 |
JamieB | 42:9653486372a6 | 34 | VIPS_UDP_Port=7000 |
JamieB | 25:7002be632308 | 35 | -------------------------------- |
JamieB | 39:3cd9e498b5c6 | 36 | |
JamieB | 25:7002be632308 | 37 | [Network Settings] |
JamieB | 25:7002be632308 | 38 | # Set the Static IPv4 address to use for the ethernet interface. |
JamieB | 25:7002be632308 | 39 | # NOTE: All 3 values must be set for a static address to be used otherwise DHCP will be used. |
JamieB | 25:7002be632308 | 40 | # Comment out the line using any additional characters at the beginning to ignore |
JamieB | 25:7002be632308 | 41 | -------------------------------- |
JamieB | 25:7002be632308 | 42 | //IP_addr=aaa.bbb.ccc.ddd |
JamieB | 25:7002be632308 | 43 | //Subnet=aaa.bbb.ccc.ddd |
JamieB | 25:7002be632308 | 44 | //Gateway=aaa.bbb.ccc.ddd |
JamieB | 25:7002be632308 | 45 | -------------------------------- |
JamieB | 25:7002be632308 | 46 | |
JamieB | 39:3cd9e498b5c6 | 47 | [Filter_Settings] |
JamieB | 39:3cd9e498b5c6 | 48 | #Low pass filter settings for channels that have it enabled. |
JamieB | 39:3cd9e498b5c6 | 49 | #Filter is of order n with a cut off at m Hz assuming input data rate is at r Hz |
JamieB | 39:3cd9e498b5c6 | 50 | #Filter order must be set to enable filters. |
JamieB | 39:3cd9e498b5c6 | 51 | #Frequency default is 10Hz |
JamieB | 39:3cd9e498b5c6 | 52 | #Rate default is 100Hz |
JamieB | 39:3cd9e498b5c6 | 53 | //FilterOrder=1 |
JamieB | 39:3cd9e498b5c6 | 54 | //FilterFreq=7 |
JamieB | 39:3cd9e498b5c6 | 55 | //FilterRate=100 |
JamieB | 25:7002be632308 | 56 | |
JamieB | 39:3cd9e498b5c6 | 57 | //FilterXY=0 |
JamieB | 39:3cd9e498b5c6 | 58 | //FilterZ=0 |
JamieB | 39:3cd9e498b5c6 | 59 | //FilterRoll=0 |
JamieB | 39:3cd9e498b5c6 | 60 | //FilterPitch=1 |
JamieB | 39:3cd9e498b5c6 | 61 | //FilterYaw=0 |
JamieB | 39:3cd9e498b5c6 | 62 | # Enable channels to low pass filter. All filters use the settings given above. |
JamieB | 39:3cd9e498b5c6 | 63 | # A value of 1 enables the filter. A value of 0 or skipping the line disables the filter. |
JamieB | 39:3cd9e498b5c6 | 64 | |
JamieB | 39:3cd9e498b5c6 | 65 | # NOTE-The filter will add latency so a filtered channel will be delayed relative to an unfiltered one. |
JamieB | 39:3cd9e498b5c6 | 66 | |
AndyA | 44:fe7fcf62c75d | 67 | [Additional outputs] |
AndyA | 44:fe7fcf62c75d | 68 | # By default FIZ box VIPS format output only output the fields required by unreal |
AndyA | 44:fe7fcf62c75d | 69 | # even if the VIPS itself is configured to output more data. This is intended to minimise radio traffic |
AndyA | 44:fe7fcf62c75d | 70 | # while allowing debug data to be avalible when connecting directly to VIPS. |
AndyA | 44:fe7fcf62c75d | 71 | # Setting this option to 1 allows additional fields to be passed through the FIZ box. |
AndyA | 44:fe7fcf62c75d | 72 | # Currently supported fields are: |
AndyA | 44:fe7fcf62c75d | 73 | # Used Beacon List (mask value 0x1000) |
AndyA | 44:fe7fcf62c75d | 74 | //ExtendedOutput=1 |
AndyA | 50:d6c56eccf56a | 75 | |
AndyA | 51:d4a5151af5af | 76 | |
AndyA | 50:d6c56eccf56a | 77 | # By default the FIZ output is sent as soon as possible after the sync pulse. |
AndyA | 50:d6c56eccf56a | 78 | # An optional delay can be added to this to either as time or as a proportion of a frame |
AndyA | 50:d6c56eccf56a | 79 | # If both ms and frame delays are set then the frame one will be used. |
AndyA | 50:d6c56eccf56a | 80 | # NOTE: UDP output has an aditional jitter/delay of up to 2ms due to the thread sleep times. |
AndyA | 50:d6c56eccf56a | 81 | # BIG FLASHING NOTE IN BOLD: No additional buffering is provided so if delay is sufficently large |
AndyA | 50:d6c56eccf56a | 82 | # that the transmit doesn't complete until after the next frame starts |
AndyA | 50:d6c56eccf56a | 83 | # then the message will get corrupted. |
AndyA | 50:d6c56eccf56a | 84 | # Delay the serial by a fixed number of ms |
AndyA | 50:d6c56eccf56a | 85 | //DelaySerial=5.2 |
AndyA | 50:d6c56eccf56a | 86 | # Delay the serial by a fraction of a frame |
AndyA | 50:d6c56eccf56a | 87 | //DelaySerialFrame=0.3 |
AndyA | 50:d6c56eccf56a | 88 | # Delay the serial by a fixed number of ms |
AndyA | 50:d6c56eccf56a | 89 | //DelayUDP=5.2 |
AndyA | 50:d6c56eccf56a | 90 | # Delay the serial by a fraction of a frame |
AndyA | 50:d6c56eccf56a | 91 | //DelayUDPFrame=0.3 |
AndyA | 51:d4a5151af5af | 92 | |
AndyA | 51:d4a5151af5af | 93 | |
AndyA | 51:d4a5151af5af | 94 | # Orientation control |
AndyA | 56:0d9684c7df36 | 95 | # These options allow an offset to be added to an orientation value and the direction of the axis to be reversed. |
AndyA | 56:0d9684c7df36 | 96 | # Offsets are added BEFORE reversing the direction, if offsetting an inverted channel you may need the opposite direction. |
AndyA | 56:0d9684c7df36 | 97 | # Offsets are integer values, inverts are 1 to flip the axis, any other value to maintain direction. |
AndyA | 56:0d9684c7df36 | 98 | //OffsetRoll=0 |
AndyA | 56:0d9684c7df36 | 99 | //OffsetPitch=0 |
AndyA | 56:0d9684c7df36 | 100 | //OffsetYaw=0 |
AndyA | 51:d4a5151af5af | 101 | //InvertRoll=1 |
AndyA | 51:d4a5151af5af | 102 | //InvertPitch=1 |
AndyA | 51:d4a5151af5af | 103 | //InvertYaw=1 |
JamieB | 39:3cd9e498b5c6 | 104 | |
AndyA | 56:0d9684c7df36 | 105 | # Autohypersmooth |
AndyA | 56:0d9684c7df36 | 106 | # A value of 1 will enable this, 0 will disable it. |
AndyA | 56:0d9684c7df36 | 107 | # Default is enabled. |
AndyA | 56:0d9684c7df36 | 108 | //AutoHyperSmooth=0 |
AndyA | 56:0d9684c7df36 | 109 | |
JamieB | 25:7002be632308 | 110 | [NOTES] |
JamieB | 25:7002be632308 | 111 | - All settings are case sensitive. |
JamieB | 25:7002be632308 | 112 | - Do NOT include spaces in the options lines. |
JamieB | 25:7002be632308 | 113 | - All options default to a value of 0 if omitted from the file. |