c4ooo

Members
  • Content Count

    118
  • Joined

  • Last visited

Community Reputation

49 Excellent

4 Followers

About c4ooo

  • Rank
    Spacecraft Engineer

Profile Information

  • Location Array

Recent Profile Visitors

1,954 profile views
  1. Yea, just wanted to point this out In my panel design (yes, after 4 years I finally started soldering stuff together ), all processing is done on PC and the arduino just acts as a dumb proxy between the PC and SPI led drivers, voltmeters, and switch matrix, so implementing this correction will be easy to do.
  2. c4ooo

    cool ai

    wut The video demonstrates the use of the NN for simulating cloth. There is absolutely nothing to suggest that it would work well for rockets, and the claim that using NN will magically "boost performance with 1000fps" is ridiculous. NN aren't a magic solution to every single problem as some people like to paint them as. NN = Neural Networks
  3. One problem with this deign is that the the potentiometer position (X) isn't 1 to 1 with the lever angle (Theta). Because of this, when the lever is far from the center, dX/dTheta is going to be bigger than when the lever is at the center. (Same change in angle is going to result in bigger change in pot position at the edge than at the center) To get the "true" lever position you would have to do something along the lines of Theta = atan(X/L), where L is the distance from the pivot to the potentiometer track (when the lever is perpendicular to potentiometer track). (sorry for 3 year late reply )
  4. Speaking of reddit, I thought someone should mention the Kerbal Controllers subreddit in this thread. Seems to be somewhat active.
  5. Do you guys think covering the wood panels with aluminum tape would make for a good aesthetic?
  6. Once again, if you wanted to preserve the numbers after the decimal, you need to multiply your float by 10 or 100 or 1000, then when you cast it to integer you will still have the numbers after the decimal. However I don't even see why you need to cast from float to int, any competent programming language will just allow you to use the floats directly. Good job reinventing the wheel with your own casting function though ¯\_(ツ)_/¯ Edit: it sounds like you are reading the data *as an integer* and casting it to integer, you need to read the data *as a float* and cast it to integer.
  7. Isn't this what you want? If you want to use an integer but still express some of the values behind the dot, all you have to do is multiply the float by 10^x or 2^x, then convert to int, then remember that your integer is actually 10^x or 2^x times smaller then its raw value.
  8. Um so... 0x447a0000 *IS* 1000, just in a special format. One thing to understand about low level programming is that data is just raw numbers, and gets its meaning from the context it is used in, if that makes sense. What you are trying to do is convert the float into an integer. Almost all languages have a built an int() function to do this for you. One thing to be aware though is that int() truncates the float, you need to be aware of this if you require the numbers after the decimal. That being said though, if your language is any good you should be able to do all your calculations using the orignal floating point number, however float math is slower than integer math, especially on old CPU / MCUs.
  9. Fuel data is stored as 32-bit floats. (zitronen why? >_> ) 1000 as a 32-bit float is 0x447a0000, according to this website, so your value makes perfect sense. On an aside, how are you planning on using this mod without an arduino?
  10. What floating point data are you talking about to be exact? You might have to convert them to integers or something for them to work correctly with the API for your readout. Otherwise, the formatting of the structures is found in the original post.
  11. Nope its my own software
  12. Does anyone know a good method of painting wooden boards (MDF) so that they look nice? Years ago I tried matte black spray paint, but the finish was rough and the paint rubbed off onto skin.
  13. As some of you know, I have wonted to build a control panel for a long while, and have even write my own KSP plugin + openGL application for it. Recently I have started building it and have finished the frame and cut out the wooden panels to fit on the frame. The panels aren't really "mounted" in the sense that i will still have to take them off to make cutouts for the switches, as well as paint them. The two big holes in the middle are for a laptop and a monitor. The laptop will serve as the multifunctional display / guidance computer while the monitor will display the video output from the PC running KSP, serving as the cockpit window.
  14. Is there a mod to make cockpits/ command modules transparent while IVAing inside them? For the simpit I am building, I would like to use a desktop monitor as a window view, and would like the window to "work" from any IVA camera angle, without having to line up the view with the cockpit's/command module's actual window.