Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

237 Excellent

About zitronen

  • Rank
    Sr. Spacecraft Engineer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. In the config file: Enable value settings for axes: 0: The internal value (supplied by KSP) is always used. 1: The external value (read from serial packet) is always used. 2: If the internal value is not zero use it, otherwise use the external value. (Now default!!!) 3: If the external value is not zero use it, otherwise use the internal value. So if you set ThrottleEnable to 3, then the plugin will use your arduino throttle when it's not 0. You could for example have a switch to only send 0 when it's off and send analog input when it's on.
  2. Working fine for me so far, but I don't using everything available on my setup. Let me know if you have problems. Edit: updated SpaceDock/CKAN
  3. Jesus.. When I started this I thought surely 255 bytes should be enough for everybody...
  4. Unfortunately not right now. I think we talked about it back in the days. Getting more info in the controlpacket is easy, but getting things working with other mods will be annoying, you have to worry about which version of KSPSerialIO supports which version of AGE, for which version of KSP. When KSP updates you have to make sure both mods are updated. Then also you have to make sure things don't break for people who don't use AGE... An easier work around is just to use an Arduino Leo in keyboard emulation mode and bind the keys to AG(R)E.
  5. Hello. KSP Serial IO is a great piece of work and has enabled universe of awesome panels!

    I'm trying to search through the forums to see what the current status is of Windows 10 support. The SpaceDock says that it only works in one direction .. but it seems that individuals have had mixed luck getting it to work.

    I was thinking that perhaps one way to work around any flakey serial port stuff would be to have the plugin use UDP instead. A UDP connection could be made to a delegate stand-alone process on the same machine ( This delagate could then live in a world outside the constraints of Unity. There could be OS specific delegates, or maybe a python program that used PySerial that could work on multiple platforms. One nice benefit is that the delegate could be modified by end-users to help debug and calibrate their panels.

    I'd be interested in helping make this happen but I also understand the challenge of making a new branch.



    1. zitronen


      Yes this is a good idea, I wanted to do something like this for a while but didn't have the time. The UDP client can then send data to as many serial devices as you want using native serial libraries, and not have to deal with unity. @DrMarcel made something similar for android, maybe you can have a look at this code.


  6. The SAS thing unfortunately is the only way I can get axes to work. Not an optimal solution, I recommend using an arduino leo in USB HID joystick mode and directly bind them in KSP input options. This might also solve your second problem as well.
  7. Hi @OKB_Carba I figured out what's wrong. Changing SAS mode only works when SAS is already on! Completely forgot about this. It was designed to be used with more than one switches, one to turn SAS on, and others to change mode. So if you have two pins, you can do this: if (digitalRead(SASPIN)) { //--------- This is how you do main controls MainControls(SAS, HIGH); } else { MainControls(SAS, LOW); } if (digitalRead(CG1PIN)) setSASMode(SMPrograde); //setting SAS mode to prograde else setSASMode(SMSAS); //setting SAS mode to norma
  8. Sorry guys, I have some other things to worry about right now, will have a look at this later, maybe this weekend. @OKB_Carba @Wurmi
  9. Ah I think it's because you are using MainControls(PROGRADE, HIGH); If you set MainControls(PROGRADE = 8) you are actually turning on action group 3. The list of things that can be controlled by MainControls() are //Action group statuses #define AGSAS 0 #define AGRCS 1 #define AGLight 2 #define AGGear 3 #define AGBrakes 4 #define AGAbort 5 #define AGCustom01 6 #define AGCustom02 7 #define AGCustom03 8 #define AGCustom04 9 #define AGCustom05 10 #define AGCustom06 11 #define AGCustom07 12 #define AGCustom08 13 #define AGCustom09 14 #define AGCustom10 15 What
  10. OK I fixed it! Update 0.19.2: Changes: Fixed very old bug of auto detection and connection with high number (>10) COM ports, thanks to detective work from @Jimbofarrar Plugin download link: https://sites.google.com/site/zitronfiles/KSPSerialIO_019_2.zip Arduino code dowload: https://sites.google.com/site/zitronfiles/KSPIODemo17.zip
  11. Sorry for the late reply, I'm having some issues with your code. It works fine the first time, but when you revert flight and go back to launch it stops working. I'm trying to figure out what's going on.
  • Create New...