3 ms·
Can you provide instructions how to use this? Do I just have to paste it in the chrome console window and go?
by vanillax 5y ago
Can you provide instructions how to use this? Do I just have to paste it in the chrome console window and go?
- rzilleruelo 5y agoYes no problem. Open the SpaceX simulator. https://iss-sim.spacex.com/ https://iss-sim.spacex.com/ Then open the console and paste the code in the gist. https://gist.github.com/rzilleruelo/f44252e77036403af4c6a3e85e990c3d 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;
- app4soft 5y ago> Then open the console and paste the code in the gist. 1. Open the SpaceX Simulator webpage[0]; 2. Open your browser console (e.g., in Pale Moon browser its in menu "Tools > Web Developer > Web Console" or just type [Ctrl]+[Shift]+[K] shortcut); 3. Copy code from the gist[1] to browser console and execute it; 4. Enjoy [0] https://iss-sim.spacex.com/ https://iss-sim.spacex.com/ [1] https://gist.github.com/rzilleruelo/f44252e77036403af4c6a3e85e990c3d https://gist.github.com/rzilleruelo/f44252e77036403af4c6a3e8...
- rzilleruelo 5y agothank you for providing very clear steps.