Most flight controllers element sensors including gyroscopes and accelerometers, though a lot more advanced alternatives also arrive with a barometer and magnetometer, while also acting like a central hub for other peripherals for example GPS. Hobbyist drone pilots are still designed to take a free course supplied by the FAA https://wernerb948gqb6.bloggazza.com/27663306/getting-my-hydrogen-power-generator-hitachi-energy-to-work