https://github.com/prikhi/ksp-automation
A Kerbal Space Program Automation TUI & Haskell Library.
https://github.com/prikhi/ksp-automation
automation brick haskell kerbal-space kerbal-space-program krpc krpc-hs tui
Last synced: 8 months ago
JSON representation
A Kerbal Space Program Automation TUI & Haskell Library.
- Host: GitHub
- URL: https://github.com/prikhi/ksp-automation
- Owner: prikhi
- License: gpl-3.0
- Created: 2018-03-11T22:43:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T23:07:26.000Z (over 6 years ago)
- Last Synced: 2025-02-02T01:01:58.761Z (8 months ago)
- Topics: automation, brick, haskell, kerbal-space, kerbal-space-program, krpc, krpc-hs, tui
- Language: Haskell
- Homepage:
- Size: 66.4 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# Kerbal Space Program Automation
[](https://travis-ci.org/prikhi/ksp-automation)
A CLI KSP Automation program & library that utilizes the [kRPC][krpc] mod.
Currently in early alpha, there's only a few programs:
* Executing an Existing Maneuver Node
* Sub-Orbital Launch with Science Collection
* Achieving Low-Kerbin Orbit from the Kerbal Space Center Launchpad
## Goals
The future will include launch/abort buttons, more missions, tweakable
parameters for missions, global automation(like automatically staging whenever
fuel in stage is depleted, collecting science when possible).Eventually this could be expanded into a "Mission Builder" where you can select
a vessel & tweak/assemble a list of tasks into larger missions. Something that
would let you create KSC -> LKO -> Dock at Kerbin Station -> Dump Fuel ->
Kerbin Landing. Some sort of management system for these custom missions.A special interface for GHCi would be cool. I'd imagine something that hides
the connection & log arguments like:initializeConnection 50000 50001
lowKerbinOrbit 80000
setTarget "KerbStation"
rendezvous
activateStage
reEnterKerbin## Build / Run
There are currently no downloadable releases, you will need to build the
application yourself. The build process requires [Haskell stack][stack]:sudo pacman -S stack
stack build
stack exec ksp-automationThe application currently assumes that kRPC is running on ports 50000 & 50001
of the local machine.Use `j`/`k` to scroll the mission list & log, `Enter` to start a mission,
`Ctrl-n` & `Ctrl-p` to cycle through the sections.## Contribute
There are many `TODO`s littered throughout the source, any of these can be
tackled. Ideally they would be moved into Github issues.For changes with a larger scope, please open an issue for discussion first.
## License
GPL-3.0
[krpc]: https://github.com/krpc/krpc/
[stack]: https://github.com/commercialhaskell/stack/