Skip to content

Basic mock-up of a fully automated rocket landing on a droneship using Kerbal Space Program, the kRPC add-on, and Python.

License

Notifications You must be signed in to change notification settings

dhbesson/rocket-landing-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocket-landing-demo

Basic mock-up of a fully automated rocket landing on a droneship using Kerbal Space Program, the kRPC add-on, and Python.

Rocket landed on a "droneship"

Demo video

Files

  • README.md
  • landing_git_v1_20181004.py
  • Grasshopper_9.craft
  • Landing.png
  • hire.png

Software

KSP Add-ons

Python Libraries

Installation Instructions

  1. Install Kerbal Space Program
  2. Install CKAN
  3. Put the Grasshopper_9.craft into the VAB folder in the game directory "...\Kerbal Space Program\Ships\VAB"
  4. Use CKAN to install kRPC and Kerbal Reusability Expansion
  5. Install Python 2.7
  6. Install kRPC, numpy, pandas, and time libraries
  7. Copy landing_git_v1_20181004.py into the python directory
  8. (Optional) Copy the hire.png file into the Flags folders in the game directory "...\Kerbal Space Program\GameData\Squad\Flags"

Running the Simulation

  1. Launch KSP from CKAN
  2. Create a new sandbox game
  3. Click on launchpad and select the "Grasshopper_9" ship
  4. Open the in-game kRPC display and select create/start server
  5. Go to python and run the landing_git_v1_20181004.py file
  6. Watch the simulation in KSP
  7. Telemetry data is saved as a pandas dataframe in python
  8. Plot telemetry by loading the dataframe and plotting with matplotlib

About

Basic mock-up of a fully automated rocket landing on a droneship using Kerbal Space Program, the kRPC add-on, and Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages