UGSMOOTH(1)

๐Ÿ’– UGsmooth ๐Ÿ’–

okay bestie, this is the UGSMOOTH(1) page from the FlightGear man pages ๐Ÿฆ‹ UGsmooth takes UGear-formatted GPS data and sends it to a FlightGear instance so you can replay your flights. literally iconic โœจ

๐ŸŽ€ NAME ๐ŸŽ€

UGsmooth is the one that sends UGear-formatted GPS data over to a FlightGear instance ๐Ÿ›ซ

๐Ÿ’… SYNOPSIS ๐Ÿ’…

UGsmooth --help
    | --infile infile_name [options]...
    | --flight flight_dir [options]...
    | --serial dev_name --outfile outfile_name [options]...

๐Ÿงš DESCRIPTION ๐Ÿงš

okay so UGsmooth is a utility that reads GPS data in UGear format from three possible places: a text file, a directory full of flight data, or a device plugged into the serial port. it parses that data and sends it to a FlightGear instance for replaying. main character energy, no cap ๐Ÿ‘‘

โœจ OPTIONS โœจ

  • --help โ€” shows you the usage info and exits. vibe check passed ๐Ÿ’…
  • --infile infile_name โ€” reads GPS data from infile_name ๐Ÿ“„
  • --flight flight_dir โ€” reads GPS data from the flight directory called flight_dir ๐Ÿ“‚
  • --serial dev_name โ€” reads GPS data from the serial device called dev_name ๐Ÿ”Œ
  • --outfile outfile_name โ€” saves whatever data came from the device into outfile_name ๐Ÿ’พ
  • --hertz frequency โ€” sets how often data gets sent to the FlightGear instance. if you don't pick one, it sends at 60 Hz by default โฑ๏ธ
  • --host hostname โ€” sends the data to the FlightGear instance running on hostname. if you skip this, it's localhost by default ๐Ÿ 
  • --broadcast โ€” sends the flight data model and control data as broadcast packets ๐Ÿ“ก
  • --opengc-port port โ€” picks the port the OpenGC data goes to. default is port 6000 ๐Ÿšช
  • --fdm-port port โ€” picks the port the flight data model data goes to. default is port 5505 ๐Ÿ›ฌ
  • --ctrls-port port โ€” picks the port the control data goes to. default is port 5506 ๐ŸŽฎ
  • --groundtrack-heading โ€” works out the aircraft heading from the GPS velocity, instead of using the raw heading the device recorded ๐Ÿงญ
  • --ground-speed โ€” works out the ground speed from the GPS velocity, instead of using the raw speed the device recorded ๐ŸŽ๏ธ
  • --estimate-control-deflections โ€” estimates control deflections from the angular velocities, instead of using the raw deflections the device recorded ๐Ÿ•น๏ธ
  • --altitude-offset meters โ€” adds the offset you give (in meters) to the altitude sent to FlightGear โ›ฐ๏ธ
  • --skip-seconds seconds โ€” skips the first seconds seconds of data so they never get transmitted โญ๏ธ. ngl this one gets ignored when you're reading from a serial device ๐Ÿ™ˆ
  • --no-real-time โ€” stops the elapsed time from updating ๐Ÿ•ฐ๏ธ
  • --ignore-checksum โ€” keeps data even if its checksums are invalid, instead of tossing it ๐Ÿ—‘๏ธ. this one gets ignored when you're reading from a flight directory ๐Ÿ™ˆ
  • --sg-swap โ€” turns on the special double swap logic for the (non-standard) stargate double format ๐ŸŒ€. it's a bit of a weird one, so be careful with it ๐Ÿ’€

๐ŸŒˆ EXIT STATUS ๐ŸŒˆ

UGsmooth exits with 0 if everything went well. it exits with -1 if your command-line arguments have the wrong syntax or if an error happens ๐Ÿšจ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

fgfs(1), GPSsmooth(1), MIDGsmooth(1) ๐Ÿ’œ


and that's the whole page, bestie ๐Ÿซถ FlightGear, last updated 2017-06-25 โœจ now go replay some flights ๐Ÿงš๐Ÿ’–