Jump to content

Keith Young

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by Keith Young

  1. Not sure if you remember me. Just wanted to drop in and remind you that you've helped kids get excited about STEM! Kinvert Site - Free Event Getting Kids Excited About STEM with Kerbal Thank you!
  2. Any idea if a Windows 10 Upgrade might cause problems with KSP and KRPC? My understanding is it will cause problems with KSPIO.
  3. Yeah I was looking in to drawing where the vessel will impact the ground assuming no air resistance and a sub-orbital path.
  4. Pseudo code: if vessel.name == 'shuttle' slope = 21 elif vessel.name == 'airliner' slope = 3 Then set up vectors.
  5. I second the need for map view, moving camera, bringing up the menu, etc. I think you know the project I'm working on and it would help a TON. Also quicksave and quickload. One problem I notice, that I'm not sure if you're aware of, is to get target_pitch_and_heading to work, I have to stop and start the server between runs. Say I launch and revert, pretty much everything works except the rocket won't aim where I want it. Stopping and starting the server seems to fix this. Again, thanks a ton for such an amazing mod!!! I hope 1.1 doesn't break it too much
  6. I am definitely seeing a need for PID on Yaw and Pitch, where the user can decide on coefficients. I'm trying to set a target_pitch_and_heading and the rocket oscillates back and forth. It seems like it is all Proportional control and is lacking Derivative.
  7. I was using Kerbal EDU. I got a new full license ( not EDU) and it worked flawlessly. Do you have any serial features on your future timeline? Such as making this somehow work with KSPIO? Thanks again for such an amazing mod! My wife rolled her eyes when I cheered at getting a Kerbal X to orbit with this.
  8. sys.version_info 2.7.11 final serial=0 krpc 0.2.2 google 3.0.0b2 I'm using KSP 1.04 currently. When running that last script it asks if I should allow or deny, I say allow. It then briefly says <unknown> before saying No clients connected. How do I find out if there is a stack trace?
  9. I'm having some trouble getting this to work. I installed both Python 3.5 and 2.7. I can start a client and I can get KSP to recognize a program is trying to access KSP. When I try your Sub Orbital tutorial I get a bunch of red text in Shell, including: UnicideDecodeError: 'utf8' codec can't decode byte 0xbe in potion 97: 'utf8' codec can't decode byte 0xbe in potion 97:: invalid start byte in field: krpc.schema.Response.error I'm using 1.0.4 and I downloaded that version from Curse. Am I correct that I can just write a script, save it as a .py, and double click it while I have a vehicle on the launch pad? Or I can open it in IDLE and run>run module? Thanks a ton for making this. I can't wait to get it to work.
  10. My project has been on the backburner. I had everything working great. I try making things work today and I'm getting this: KSPSerialIO: Found 3 serial ports (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) KSPSerialIO: trying default port COM5 (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) KSPSerialIO: KSP Display not found (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) KSPSerialIO: trying port \Device\VCP0 - COM12 (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) Error opening serial port COM12: CreateFile Failed: 2 (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) KSPSerialIO: trying port \Device\VCP1 - COM5 (Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56) Error opening serial port COM5: Access to the requested resource is not authorized. It's very strange. I don't remember ever seeing this before. I did transfer my license to another computer for a bit and transfer back. But I don't see why it should be doing this. Any ideas for what would be causing "Access to the requested resource is not authorized", and "CreateFile Failed: 2"?
  11. I just found this and I'm beginning to dig in. I'm making a little simpit (simulator with physical switches for RCS etc). Do you think this will interface well with KSPIO? I want to be able to receive ship data such as Apogee, and send data such as buttons to control RCS, Autopilot modes, etc, maybe even some throttle values etc. Do you think it would be possible to control the ship with Python code written on a Raspberry Pi? Sorry for so many questions. Starting to read the documentation etc right now. THANKS! This looks awesome!
  12. I'm currently using 1.04 but will be upgrading to 1.05 probably soon. I'm not sure but I think the problem is in the SerialPort.dll.
  13. I am trying to use this with Raster Prop Monitor. I'm having trouble since this is .NET 4.5 rather than 3.5 Is there a way to get this to work in 3.5? Is there a way to get this to work with MechJeb2 and/or Raster Prop Monitor?
  14. Nope, I haven't tried that yet. My main computer is 8.1 but I'm looking to buy a new computer for my simpit since I want 3 monitors at 1080 and I currently only have a 2GB graphics card in my 8.1 machine. All these new XPS affordable rigs seem to be 10 these days. Unfortunately the sales on these to make them affordable are coming up in a few days. It's going to be crucial to get the ship data to the microcontroller.
  15. Well until then all I can really do is hope the computer I buy has Windows 10 upgradeable to Windows 8.1.
  16. I'd be interested if you can get it to work for Windows 10, and this plugin doesn't work for Windows 10. I'm just really hoping this can be made to work with Windows 10 since I'm in need of a new computer and Microsoft is pushing 10 like crack cocaine. Hard to find good new computers with anything but 10, and I don't know anything about building computers.
  17. It does compile fine. The problem is when I try to make a fork of MechJeb. So I copy the MechJeb source, and put the cs files in from your mod. I add them as existing. I also bring in SerialPort.dll I include SerialPort.dll as a reference When I try to build my copy of MechJeb it says in the KSPIO.cs that on the line using OpenNETCF.IO.Ports; that OpenNETCF can't be found. It's very strange since I can even type Ope... which results in Visual Studio finding OpenNETCF so all I have to do is hit "." at which point it finds IO, so I hit "." again and it has Ports. So somehow Visual Studio is finding the namespace of OpenNETCF and yet when I build, it gives the error I copied in. I've had no problem with your code. This is outside something you caused. I just wonder if you know what might be causing this behavior. It seems strange that I'm including SerialPort.dll as a reference and it's still doing this. I was wondering if you had another step besides adding it as a reference in order to get the namespace of OpenNETCF to hold up when building. Basically what I'm trying to do is get Microcontroller buttons to launch MechJeb autopilot functions. Thanks for such an awesome mod! I couldn't make this simulator without it.
  18. I am trying to get this to work in a MechJeb fork. However using OpenNETCF.IO.Ports; isn't working. Error 9 The type or namespace name 'OpenNETCF' could not be found (are you missing a using directive or an assembly reference?) I copied SerialPort.dll over, and added as a reference. Was there a trick you did? For example I see a lot of references they don't have, such as System.Data.DataSetExtensions. Is there something in particular I need to do to get this to compile, based on this error? It's strange. I even opened SerialPort.dll in the browser, and copied OpenNETCF.IO.Ports in to the code.
  19. Thanks for updating this! Will get this in soon. Building a simulator and I needed this badly.
  20. Hi Zitronen Thanks again for such an amazing mod. This is really helping me build my simpit. I am currently trying to make a better autopilot. I can already turn on my basic autopilot using your additional byte. To improve my autopilot I need to know the current available thrust of my vessel. I currently see this chunk of code: [CODE] // this recursive stage look up stuff stolen and modified from KOS and others public static List<Part> GetListOfActivatedEngines(Vessel vessel) { var retList = new List<Part>(); foreach (var part in vessel.Parts) { foreach (PartModule module in part.Modules) { var engineModule = module as ModuleEngines; if (engineModule != null) { if (engineModule.getIgnitionState) { retList.Add(part); } } var engineModuleFx = module as ModuleEnginesFX; if (engineModuleFx != null) { var engineMod = engineModuleFx; if (engineModuleFx.getIgnitionState) { retList.Add(part); } } } } return retList; } [/CODE] And there are some other methods as well. I was wondering if you know how I can find the maximum available throttle? I don't think I see anywhere where you are utilizing retList. I'm pretty new to this, so I don't see where/how I can find the maximum available throttle, or the current mass flow, etc. Do you know how to do this? Is there something I'm overlooking in your code you can point me to? Thanks again!
×
×
  • Create New...