Skip to content

ctlst-tech/c172atom

Repository files navigation

Demo of c-atom library usage: Piloting Cessna 172 in flightgear

YouTube demo

go to YouTube, check c172 engine start video

Run it

  1. Make sure you have all submodules inited and updated: git submodule update --init --recursive
  2. Run make prebuild to generate code of atomic functions
  3. Build catom runner by make catom command
  4. Copy rig/flightgear/*.xml to Protocol dir inside your FlightGear installation
  5. Add the following to the FlightGear command line options (check that c172 is selected as an aircraft):
--generic=socket,in,50,,6000,udp,fg_in_control
--generic=socket,in,50,,6001,udp,fg_in_switches
--generic=socket,out,50,127.0.0.1,6010,udp,fg_out_nav
--generic=socket,out,50,127.0.0.1,6011,udp,fg_out_engine
  1. Start FlightGear
  2. Run catom by make run_catom
  3. Use rig/flightgear/commander.sh to toggle commands

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published