- dependencies:
- KRPC(tested V0.4.8)
- default parameter(IP 127.0.0.1 port 50000 for RPC,and 50001 for streaming)
- python(tested 3.6.7)
- Matlab(>= 2018B)
- KRPC(tested V0.4.8)
- function:
- read data from KSP
- data read:
- KSP time
- vehicle position,velocity,Quaternion(attitude)
- both radar height and height above sea level are get.
- simulink time is synchrorized with KSP
- data read:
- set engine thrust in KSP
- the aircraft in KSP must have 4 engines
- the order of engine thrust data can be get by run "KRPC{'engine_tags'}" in matlab command window when simulink sim is started, after you set the tag of your engines
- read data from KSP
- demo:
- aircraft:Quad.craft
- start flight in KSP,turn on the fuel battery,ignite 4 engines
- set Probodobodyne RoveMate as the control part if you have kerbonauts onboard.
- run the simulation
- drone will take off,ascend to 250m ASL,move to the top of KSC,land and set throttle to 0%
- Accelerate or rapid accelerate mode of simulink is strongly recommend.
- if your computer is too slow,the drone may go haywire.
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
一个Simulink版KRPC客户端,可以用来控制坎巴拉飞船。
License
BaaBaaGoat/KRPCSimulink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
一个Simulink版KRPC客户端,可以用来控制坎巴拉飞船。
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published