Jump to content

wmvanvliet

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by wmvanvliet

  1. An update that will hopefully put a smile on your faces: error messages have been greatly improved. It should now be within the realm of possibilities to hunt down that bug in your code Also, I've started work on providing globals for the different readings on your navball. Now we're at version 0.22
  2. good to hear it's now working for you both. Gives me more time to focus on features instead of bugs.
  3. Sorry, I can't seem to reproduce it. Can you give any more details? Does it happen every time? Was is some sort of fluke once? Does it work, even though you get the errors? Does it go away once you've run a function? Are you in orbit or on the ground? Anyway, thanks for reporting it, I'll keep an eye out for any null-pointer exceptions
  4. I fixed something that looked like this in version 0.21. Are you running the latest version? If so, on what platform are you?
  5. It should be compatible, but must admit I never tested it under linux. I will give it a go when I have access to a linux machine. In the meanwhile, could you perhaps check your KSP.log file in your KSP dir to see if any error messages have been put there? And maybe check the debug toolbar? (Mod + F12)
  6. And the bugfixes are in! Version is now 0.21 Thanks Teseracto
  7. Thanks for the feedback! I've put your suggestions into the Github issue tracker. The bugs I will fix ASAP. New features will come in due time
  8. So, it turns out there is already a mod named Kalculator by agises. A very nice looking calculator, go check it out. I've decided to rename this project 'Kerbulator' instead and created a new thread for it as I cannot change the title of this thread. You'll be glad to hear that now, Kerbulator supports blizzy78's toolbar! I've spend some time making pretty icons for the thing and it looks much better now.
  9. This is the new thread about Kerbulator. Here is the old thread, where the plugin was called Kalculator. Turned out that name was already taken. One of the big joys of Kerbal Space Program is that game progress is not based on experience points, or character level, but based on your own knowledge about orbital mechanics. Maybe this is why I don't like using MechJeb much, its free progress in the game. Inspired by Scott Manley's videos about 'orbital mechanics on paper', I spend an afternoon thoroughly enjoying myself deriving various formulae. Oh, how much fun the creators of MechJeb must have had with it themselves. So I created a mod that lets you put your own formulae in KSP and named it Kalculator Kerbulator. It is a small plugin that allows you to program mathematical equations, run them to see the output and create maneuver nodes. Of course, your calculations need various inputs (like the mass of the body you're currently orbiting, the value of the gravitational constant, etc.) and for this, Kerbulator aims to strike a balance between providing enough useful variables to be productive, and not supply too much information and rob you of the joy of calculating things for yourself. The current guideline is that Kerbulator gives you access to all the various numbers that appear in the vanilla KSP GUI. So, what are you waiting for? Download the plugin or get the source code Read the manual And start learning interesting math Author: Marijn van Vliet License: GPL v3 Feature highlights: Create manoeuvre nodes and alarms (if KAC is installed) based on your calculations Open windows that continuously evaluate your functions and present the result Unicode aware, so you can use math symbols for operators and greek letters for variables Contains a numeric solver to approximate answers that cannot be calculated analytically Edit functions in any editor you want. Returning to the KSP window will reload all functions. Current verion: 0.51 Changelog --------- 0.51 Small bugfix release, thanks to @linuxgurugamer. Fixed bug where exception was thrown if no explicit output was specified 0.5 The mechanics for creating maneuvers and alarms have been overhauled. See the manual and language reference for the new syntax. Thanks to Thorulf Neustrup! Language features: New notation for defining maneuvers New notation for defining alarms Added ability to create multiple maneuvers and alarms in a single function 0.46 Bugfixes. GUI features Fix clickthrough prevention logic not releasing the lock when closing a repeating-function output window Fix toolbar button not being removed when exiting the VHB or Hangar 0.45 Add support for KSP version 1.9 0.44 Add support for KSP version 1.4.4 GUI features Kerbulator now makes use of the clickthrough prevention logic 0.43 Recompile for KSP 1.3 0.42 Recompile for KSP 1.2 0.41 Bugfixes. Globals Added Inf and ∞ globals to denote infinity Fixed some globals that were in radians instead of degrees (e.g. θ) GUI features Fix function name validation in GUI Fix column indicator in error messages Fix missing expression error message Fix behavior when running a repeating function that contains an error Fix a bug where the output of the previously run function was shown Fix delta-V in normal direction when placing maneuver node 0.4 Some welcome additions to the language. Language features Add boolean operators: < > <= ≤ >= ≥ == != ≠ ¬ ! ∧ and ∨ or Add support for piecewise functions (a.k.a. if-statements) Add support for specifying pre- and postfixes for output variables GUI features Add support for showing pre- and postfixes for output variables An error message is shown when the user tries to save a function with an invalid name 0.36 Add support for KSP version 1.1.3 GUI features Remember window positions 0.35 Add support for KSP 1.1.2 Language features Added global `Sun` 0.34.5 Recompiled against KSP 1.0.5 0.34 More globals. Thanks to Emanuele Bardelli. Language features Fixed `{Body}.AtmosHeight` global Fixed `{Body}.AtmosPress` global Added `Craft.Rel.AN` global Added `Craft.Rel.DN` global Added `Craft.Rel.Inc` global 0.33 Small maintenance update. Thanks to Emanuele Bardelli. GUI features Fixed support for blizzy78 toolbar Language features Added build-in function `atan2` Added build-in function `atan2_rad` !! Breaking backwards compatability Kerbulator used to store its files (.math) outside the main Kerbulator folder, which is a violation of the guidelines laid out by Squad. Function files now go in the `PluginData/Kerbulator` folder. 0.32 Kerbal Alarm Clock integration GUI features Maneuver node button hides when not in flight Added button to add alarm Language features Added ability to add alarm when KAC is installed 0.31 KSP 1.0 Compatibility GUI features Added support for the stock application toolbar Kerbulator now available in all scenes, not just in flight Globals *.AtmosHeight and *.AtmosPress currently disabled as KSP 1.0 changed things 0.3 JIT Compiling baby! GUI features Added GUI for calling functions that require inputs Added ability to run functions continuously and pin the output to the HUD Windows can be resized Language features Functions are now JIT-compiled and run at native .NET speed. Added Nelder-Mead solver for numeric approximation Added build-in function `mag` Added build-in function `cosh` Added build-in function `sinh` Added build-in function `tanh` Geometric build-in functions now work in degrees by default *_rad function added that work in radians Build-in function `dot` can now also perform matrix multiplication Globals Craft.Inter1.TrueAnomaly is now in degrees instead of radians Craft.Inter1.θ is now in degrees instead of radians Craft.Inter2.TrueAnomaly is now in degrees instead of radians Craft.Inter2.θ is now in degrees instead of radians !! Breaking backwards compatability Geometric build-in functions now work in degrees instead of radians. Use the *_rad functions to get the versions that work in radians. 0.23 Bugfix. Thanks to Bas Cornelissen to patiently work it out with me. Language features: Properly deal with `\t` and `\r` 0.22 Better errors and more globals. Globals ([URL="https://github.com/wmvanvliet/Kerbulator/blob/master/doc/globals.mkd"]description of all globals[/URL]): Added {body}.Inc Added {body}.LAN Added {body}.Ω Added {body}.SOI.ÃŽâ€t Added Navball.Heading Added Navball.Pitch Added Navball.Roll Added Navball.OrbitalVelocity Added Navball.SurfaceVelocity Added Navball.VerticalVelocity Renamed Craft.Inter1.sep to Craft.Inter1.Sep Renamed Craft.Inter2.sep to Craft.Inter2.Sep GUI features: Better error messages. Hunt down the bugs in your code with more ease. 0.21 Bugfixes. Thanks to Teseracto for finding them. GUI features: Fixed losing changes on window switch Closing main window no longer breaks toolbar button Language features: Operator precedence fixed. (Added some unit tests for these cases) 0.2 Renamed the entire project Kerbulator, since [URL="forum.kerbalspaceprogram.com/threads/66881-0-23-In-game-scientific-calculator-Kalculator-v0-1-1-1-24-14"]Kalculator[/URL] is already an excellent mod by agises. Globals: Fixed µ globals GUI features: Added support for blizzy78 toolbar Icons for some buttons 0.11 Fixed bug where sometimes the run button did not work. 0.1 Initial version. Language features: Functions Expressions Lists List unpacking Globals: All celestial bodies Current orbit Orbit of target Target intercept information GUI features: Function list Description of input and outputs Very basic support for error reporting Editor with keyboard Re-scan function on window focus Add maneuver nodes
  10. Not yet. But I'm working on it. Doesn't seem to hard to do. Hardest thing for me is to create a good looking icon
  11. Sometimes, the Run button didn't work on Windows (I'm on a Mac). Since it's kind of an important button, it's been fixed right away.
  12. There is a already a mod that does this? Which one? I know that there is KOS, which aims to supply a Kerbal scripting language, and there is ProgCom that emulates a CPU you can program with assembly code. Both of them are capable of performing some math, but their main focus lies elsewhere. Kalculator just wants to do math, and do it well.
  13. One of the big joys of Kerbal Space Program is that game progress is not based on experience points, or character level, but based on your own knowledge about orbital mechanics. Maybe this is why I don't like using MechJeb much, its free progress in the game. Inspired by Scott Manley's videos about 'orbital mechanics on paper', I spend an afternoon thoroughly enjoying myself deriving various formulae. Oh, how much fun the creators of MechJeb must have had with it themselves. So I created a mod that lets you put your own formulae in KSP and named it Kalculator. It is a small plugin that allows you to program mathematical equations, run them to see the output and create maneuver nodes. Of course, your calculations need various inputs (like the mass of the body you're currently orbiting, the value of the gravitational constant, etc.) and for this, Kalculator aims to strike a balance between providing enough useful variables to be productive, and not supply too much information and rob you of the joy of calculating things for yourself. The current guideline is that Kalculator gives you access to all the various numbers that appear in the vanilla KSP GUI. Kalculator is still a bit rough along the edges, but I'm curious to see what you think and whether there is an actual need such this kind of mod. So, what are you waiting for? Download the plugin or Get the source code Read the manual And start learning interesting math Author: Marijn van Vliet License: GPL v3 EDIT: first bug already reported and fixed. Sometimes the Run button didn't work on Windows. Version is now 0.11
×
×
  • Create New...