Basic mock-up of a fully automated rocket landing on a droneship using Kerbal Space Program, the kRPC add-on, and Python.
- README.md
- landing_git_v1_20181004.py
- Grasshopper_9.craft
- Landing.png
- hire.png
- Install Kerbal Space Program
- Install CKAN
- Put the Grasshopper_9.craft into the VAB folder in the game directory "...\Kerbal Space Program\Ships\VAB"
- Use CKAN to install kRPC and Kerbal Reusability Expansion
- Install Python 2.7
- Install kRPC, numpy, pandas, and time libraries
- Copy landing_git_v1_20181004.py into the python directory
- (Optional) Copy the hire.png file into the Flags folders in the game directory "...\Kerbal Space Program\GameData\Squad\Flags"
- Launch KSP from CKAN
- Create a new sandbox game
- Click on launchpad and select the "Grasshopper_9" ship
- Open the in-game kRPC display and select create/start server
- Go to python and run the landing_git_v1_20181004.py file
- Watch the simulation in KSP
- Telemetry data is saved as a pandas dataframe in python
- Plot telemetry by loading the dataframe and plotting with matplotlib