Jump to content

EccentricTea

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by EccentricTea

  1. @zitronen Yeah as of now I'm leaving that bug in as a feature because I only have 2 weeks to finish this, since I'm graduating soon. I've definitely been happier with Aerospace han my first degree in physics.
  2. @Freshmeat Extremely ambitious is a very good way to put it. It's a nice place to work but university isn't cheap so it has its downsides. Incase you are wondering I'm an Aerospace engineering student and this has been an independent study for me to work on. Considering when I started I didn't know anything about electronics this has been quite the learning experience. I really like how your panel looks, deadlines made me make the call to use wood instead of metal and its alright.
  3. So I'm a little lazy so instead of making an account on another site. I'm just going to share a view only link to a google drive folder with a few pictures in it. https://drive.google.com/drive/folders/1TS6rC3EFWVXY4M9WWcvCwBbe7PaloswU?usp=sharing
  4. I'll try and post some photos this weekend I just put up some wallpaper and it looks really cool inside of the capsule, the control panel is still being worked on but it looks really cool IMO. Ok so slowing down the update rate of my displays apparently only fixed half of my problem. The other half of my issue I think so far only happens on the first time you load a rocket on the start of a game. I pulled up the error log and looked at it and 2 things stuck out to me the first time it tried COM 3 then takes 14 times trying to connect to COM 4 and then tries COM 3 which I changed the default port to COM 3 in the config file again. Also the log file showed that [ ArgumentOutOfRangeException: Argument is out of range. Parameter name: index ] I attached that part of the leg file that was the part that had the issue of now loading the stages and not being able to launch or control the craft. [LOG 17:13:09.908] [UiApp] Awake: ResourceDisplay [LOG 17:13:09.994] [AddonLoader]: Instantiating addon 'AeroGUI' from assembly 'KSP' [LOG 17:13:09.996] [AddonLoader]: Instantiating addon 'KSPSerialPort' from assembly 'KSPSerialIO' [LOG 17:13:09.997] KSPSerialIO: Version 0.18.7 [LOG 17:13:09.997] KSPSerialIO: Getting serial ports... [LOG 17:13:09.997] KSPSerialIO: Output packet size: 200/255 [LOG 17:13:10.000] KSPSerialIO: Found 15 serial ports [LOG 17:13:10.000] KSPSerialIO: trying default port COM3 [LOG 17:13:14.541] KSPSerialIO: KSP Display not found [LOG 17:13:14.542] KSPSerialIO: trying port \Device\USBSER000 - COM4 [LOG 17:13:14.542] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.542] KSPSerialIO: trying port \Device\USBSER001 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER002 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER003 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER004 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER005 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER006 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER007 - COM4 [LOG 17:13:14.543] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.543] KSPSerialIO: trying port \Device\USBSER008 - COM4 [LOG 17:13:14.544] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.544] KSPSerialIO: trying port \Device\USBSER009 - COM4 [LOG 17:13:14.544] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.544] KSPSerialIO: trying port \Device\USBSER010 - COM4 [LOG 17:13:14.544] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.544] KSPSerialIO: trying port \Device\USBSER011 - COM4 [LOG 17:13:14.544] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.544] KSPSerialIO: trying port \Device\USBSER012 - COM4 [LOG 17:13:14.544] Error opening serial port COM4: CreateFile Failed: 2 [LOG 17:13:14.544] KSPSerialIO: trying port \Device\USBSER013 - COM3 [LOG 17:13:17.647] KSPSerialIO: found KSP Display at COM3 [LOG 17:13:17.647] [AddonLoader]: Instantiating addon 'KSPSerialIO' from assembly 'KSPSerialIO' [LOG 17:13:17.650] [PlanetariumCamera]: Focus: Kerbin [LOG 17:13:17.650] [UIMasterController]: HideUI [LOG 17:13:17.950] [UIMasterController]: HideUI [LOG 17:13:17.951] ------------------- initializing flight mode... ------------------ [LOG 17:13:17.991] [MessageSystem] Save Messages [LOG 17:13:17.992] Loading Depletion Nodes [LOG 17:13:17.992] DepNodeCount: 0 [LOG 17:13:17.992] Loading Biome Nodes [LOG 17:13:17.992] BiomeNodeCount: 0 [LOG 17:13:17.992] Loading Planet Nodes [LOG 17:13:17.992] PlanetNodeCount: 0 [LOG 17:13:17.995] [ScenarioDestructibles]: Loading... 0 objects registered [LOG 17:13:18.077] Loading ship from file: C:/Program Files (x86)/Steam/steamapps/common/Kerbal Space Program/KSP_x64_Data/../saves/default/Ships/VAB/Auto-Saved Ship.craft [LOG 17:13:18.078] [UIMasterController]: HideUI [LOG 17:13:18.195] AeroEquus loaded! [LOG 17:13:20.527] putting ship to ground: 4.398966 [LOG 17:13:20.534] [AeroEquus]: Ready to Launch - waiting to start physics... [LOG 17:13:20.544] Crewmember Aldin Kerman assigned to Mk1 Command Pod, seat # 0 (crew seat index: 0) [LOG 17:13:20.545] [FLIGHT GLOBALS]: Switching To Vessel AeroEquus ---------------------- [LOG 17:13:20.546] setting new dominant body: Kerbin FlightGlobals.mainBody: Kerbin [LOG 17:13:20.547] Reference Frame: Rotating [LOG 17:13:20.570] Vessel assembly complete! [LOG 17:13:22.969] all systems started [LOG 17:13:26.233] FXModuleAnimateThrottle: Could not find animation heatAnimation in part's animation components. Check the animationName and model file [LOG 17:13:26.234] FXModuleAnimateThrottle: Could not find animation heatAnimation in part's animation components. Check the animationName and model file [LOG 17:13:26.235] FXModuleAnimateThrottle: Could not find animation heatAnimation in part's animation components. Check the animationName and model file [LOG 17:13:26.236] FXModuleAnimateThrottle: Could not find animation heatAnimation in part's animation components. Check the animationName and model file [LOG 17:13:26.580] KSPSerialIO: Handshake received - 314 [LOG 17:13:26.843] [UiApp] Awake: CurrencyWidgetsApp [LOG 17:13:26.843] [UiApp] Awake: ResourceDisplay [LOG 17:13:26.843] [UiApp] Awake: KSPedia [LOG 17:13:26.843] [UiApp] Awake: DeltaVApp [LOG 17:13:26.843] [ApplicationLauncher] OnSceneLoadedGUIReady: scene FLIGHT ShouldBeVisible() True ShouldBeOnTop() True iIsPositionedAtTop False [LOG 17:13:26.844] [ApplicationLauncher] SpawnSimpleLayout: VerticalTopDown [LOG 17:13:26.845] [KnowledgeBase] OnAppLauncherReady 6439 [LOG 17:13:26.875] [UIApp] OnDestroy: Contracts [LOG 17:13:26.875] [UIApp] OnDestroy: Missions App [LOG 17:13:26.890] [MessageSystem] Reposition 0.02 6440 [LOG 17:13:26.890] [GenericAppFrame] Reposition 0.02 6440 [LOG 17:13:26.890] [GenericAppFrame] Reposition 0.02 6440 [LOG 17:13:26.925] [FlightIntegrator]: Reloaded drag cube for zeroed cube root part mk1pod.v2 on vessel AeroEquus [LOG 17:13:26.940] [FlightIntegrator]: Vessel AeroEquus has been unloaded 1.79769313486232E+308, applying analytic temperature 306.668062300704 [EXC 17:13:26.985] ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[KSP.UI.Screens.StageGroup].get_Item (Int32 index) KSP.UI.Screens.StageManager.AddHeldIconsToStages (.Part selectedPart, Boolean switchingVessels) KSP.UI.Screens.StageManager.SortIconsSequence (.Part p, Boolean switchingVessels) KSP.UI.Screens.StageManager+<SortIconsSequence>c__Iterator0.MoveNext () UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [LOG 17:13:27.217] [PlanetariumCamera]: Focus: AeroEquus [LOG 17:13:27.246] [UIApp] Adding ResourceDisplay to Application Launcher [LOG 17:13:27.247] [UIApp] Adding ResourceDisplay to Application Launcher [LOG 17:13:27.258] [ResourceDisplay] OnAppStarted(): id: -324876 [LOG 17:13:27.259] [GenericAppFrame] Reposition 0.1474556 6444 [LOG 17:13:27.260] [ResourceDisplay] OnAppStarted(): id: 153388 [LOG 17:13:27.260] ResourceDisplay already exist, destroying this instance [LOG 17:13:27.260] [UIApp] OnDestroy: ResourceDisplay
  5. Do I have to upload the photos to another site first just to point a URL at it to get the photo in my post or is there a better way?
  6. well I think I figured it out, and it a bit specific to my setup since I'm using almost every I/O on the arduino mega and I'm running 8 max7219 Ledcontrol chips so its controlling over 512 leds and that is taking so long the code freezes up so I'm decreasing how many are getting updated each time through the code and so far thats working.
  7. I Love that this thread is still alive, I have a bit of a bug that I was wondering if you guys have seen before. When I load up a rocket so going from the V.A.B. to the launch pad occasionally ~30-40% of the time its seems like things don't load right. I have no control over the rocket and the stages on the left hand side are all missing. the work around that I found is just to return to the V.A.B. and just reload the rocket and most of the time that fixes it. I'm not sure if this has to do with me changing the baud rate in the config file and code to 115200. Or if this is a handshake issue where I just need to increase the handshake wait time. I'm also using an arduino mega with almost every IO being used (yes it's a big control panel) and I'm not sure if having so many IO's is causing a delay.
  8. https://youtu.be/Oc45gBo7vNY So me and a few others made this with your guys help figured you would think this is cool. It's a two player control panel to play KSP on It's not entirely finished because it needs be made to look nice and installed in the structure but as long as the electronics are working my part is good ^.^ I honestly can't figure out how to attach an image of the full control panel since I'm not used to this form so if you guys can help me attach an image I can send the full view of it.
  9. That mostly fixed it I'm reading the appropriate number now except the whole number blinks, could this be because of the refresh rate of the game or would it be something else?
  10. Hello Again it's been a while but I'm a bit stuck again, I have been able to get the game to output VData to a LCD using the LiquidCrystal.h library but when I try and display VData using 2 7 segment displays and 2 shift registers plus the ShiftDisplay.h library nothing get displayed on my 7 segment displays it's just blank. The 7 segment displays work independently of the code so it seems wired up fine and it can display a value 12345 in the demo code fine but once I try and display VData it doesn't do anything I was wondering If you guys had any idea or I was wondering how you guys displayed data to 7 segment displays. Please and thank you, I attached the part of KSPIODemo16 that I changed below //------------------------------------------------ //#include <LiquidCrystal.h> //LiquidCrystal lcd(7, 8, 9, 10, 11, 12); #include <ShiftDisplay.h> ShiftDisplay display(9,10,8,COMMON_CATHODE,5); //------------------------------------------------ void setup() { Serial.begin(38400); //pinMode(51,INPUT_PULLUP); //Stage transition // lcd.begin(16, 2); // lcd.print("fuel"); initLEDS(); InitTxPackets(); //controlsInit(); LEDSAllOff(); } void loop() { input(); output(); //lcd.setCursor(0, 1); //lcd.print(VData.LiquidFuelTot); //------------------------------------------------ //display.show(12345,1000,ALIGN_LEFT); display.show(VData.LiquidFuelTot); //------------------------------------------------ }
  11. Actually yeah that cockpit design looks awesome! also yep I forgot to change the config file for the throttle, now it works and I also figured out how to display VData such as altitude yesterday
  12. Hi guys, I'll Preface with a Thank you for all your work and help. I just wanted to let you know I am running windows 10 on my computer and so far I can controll Pitch, Yaw, Staging, Throttling so it seems like there might have been some kind of update that helps with the compatibility of windows 10 (I could be an idiot it could have been your update) but I just wanted to let you know. I'm now starting to try and figure out how to display some spacecraft data, wish me luck ^.^ I have 1 fun little question as I was tinkering. do you think it's possible to design and build a controller that would support 2 players, similar to a Pilot, Co-Pilot situation
  13. @Freshmeat Thanks for the help before but I'm stuck again, I'm trying to run the demo16 code to get the green yellow and red lights to flicker on I am using an -Arduino Mega -KspSerialIO 0.18.7 -KSPv 1.0.5.1028 -KSPIOdemo16 -Windows 10 before I was using demo13 and I had a very slightly older KSPSerialIO (by like a version or 2) and when I loaded a craft I would get a quick flicker of the lights and then the green light would go on for a second but then nothing would happen when I launched my craft. Now I moved onto demo16 and updated to the latest Mod version and now when I load the craft I get the very fast flicker but nothing else but a warning message that says "Access to the requested resource is not authorized Error opening serial port COM3 Starting serial port COM3" I also went in and changed the HandshakeDisable from 0 to 1. and that caused the 1 second green light blink to not happen but when i put it back to 0 and used demo16 it blinked twice for 1 second when it was loading the craft. Do you have any idea what I'm missing? Please and thank you, Also should I get the most recent game? UPDATE: I figured it out (for reasons to long to explain I couldn't update my game) I just rebought the game to get the most up to date game and it fixed it all
  14. @Freshmeat and @stibbons Thank you for the help, you have given me enough information and direction for me to hopefully figure things out now. I'll definitely keep you guys posted we have the wooden beta version of the control panel pretty much figured out I can get some photos to show you guys once I figure out how to upload photos here if not we have a website (that needs updating) that we try and post statuses up there.
  15. So I'm working on a project to create a custom home made controller for KSP using an arduino mega but I am very new to using an arduino and with talking to the game so I was wondering if anyone could help me with getting a single switch when flipped to progress to the next stage of a rocket (in my eyes this is on the easier end of controls to figure out but I'm a moron and even from my research I have been getting confused. I think I need to use zitronen's KSPSerialIO mod but I'm not sure this is what I need again I'm just looking for help with one switch to change one thing on the game (the switch is a off - momentary on type of switch so a "push button") Please and thank you.
×
×
  • Create New...