# TerraHawk flight parameters: the TFmini-S payload. Load after the airframe file, ONLY when "Payload Cover (TFmini-S)" # is fitted (th-blender 0900ef8, Ryan 2026-10-05); reboot after loading (RNGFND1_TYPE). Without this cover, the board # file's RNGFND1_TYPE 0 stands. Loading this file with the cover off fails the pre-arm check (no rangefinder data), # which is intended. # Not loaded on Fuselage C's first flights: the ESC payload hatch closes the bay and the TFmini-S does not fly # (Ryan, 2026-10-11). The position below is the old cover's; it is set again when the sensor returns. # Benewake TFmini-S, downward, on the LUX's TELEM1 pads (USART1, SERIAL1), 115200 baud, serial. It was on the GPS2 # pads (UART8, SERIAL4) until the SEQURE M10-25Q took them as GPS2 (Ryan, 2026-10-15); TELEM1 is the spare UART # since the SiK went (board file). Found by lux-765, 2026-10-19. SERIAL1_PROTOCOL 9 SERIAL1_BAUD 115 RNGFND1_TYPE 20 RNGFND1_ORIENT 25 # TFmini-S: 0.1 m minimum; 7 m at 10 % reflectivity in sunlight (docs/landing-sensing.md). RNGFND1_MIN 0.1 RNGFND1_MAX 7 # Position from the design CG, kit (0, 270, -5.6), body axes (X forward, Y right, Z down): the measuring point # between the lens bosses at assembly (0, 375, -17.29) on the cover's centreline (th-blender 0900ef8, 3 mm aft in # 4a5c07b; a snap-in PETG cradle with a TPU lens bezel). RNGFND1_POS_X -0.105 RNGFND1_POS_Y 0 RNGFND1_POS_Z 0.0117 # Use it for takeoff and landing only (bit 1): the final descent starts by the measured height, not the barometer. RNGFND_LANDING 2