Then open the console and paste the code in the gist. https://gist.github.com/rzilleruelo/f44252e77036403af4c6a3e8...
Then just paste this code to start the controller. let regimeController = startRegimeController(config); let controller = startControl(config);
Also you can change the config on the fly to change the target value, so you can make it do something else if you want.
For example: config.x.target = 0.0; config.z.target = 10.0; config.pitch.target = -45.0;