• Content Count

  • Joined

  • Last visited

Community Reputation

95 Excellent

About togfox

  • Rank
    KGSS Founder

Contact Methods

  • Website URL Array

Recent Profile Visitors

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

  1. Registering my tentative interest. Australia. GMT +10. If this is happening real time then perhaps I can do a "night shift". This thread is a bit hard to follow so I'll try to keep up. I have kos experience and I'm a mission planner extraordinaire. Seriously - I pre-plan flights from launch to land to return and recovery and fly them on auto-pilot. Never successfully, of course.
  2. So front page says this doesn't work with MechJeb. Is that, like, for real? I just use MJ to achieve orbit - there is a lot to MJ so does anyone know if just that bit works?
  3. Are the heat bars removed from 1.0? You know - in the bottom left corner - they don't seem to show no matter how hot I get things.
  4. I wanted to mark this occasion with a "Thank You Squad" and to congratulate you for staying true to your vision, working harmoniously with modders, including the gaming community and supporting a well accepted business/purchase model. And thanks to the OP as well - who nailed it back in 2012 and has had no regrets since.
  5. I'm looking for a small script that points my craft in the direction I want to go - but I only have lat/long. Kinda like an autopilot I guess. I'm at xxx north, yyy east, but I want to be at www north and zzz east. Which direction do I point my craft given my desired direction could be anyone of 360 degrees? Anyone done that?
  6. Great idea, but I think for most of us, just doing ONE of those eight challenges is plenty enough.
  7. Possible bug: ship:surfacespeed is reporting very low values ( < 2 ) while mechjeb and the navball are showing values in the mid 20's (~25 m/s). I'm hoping ship:surfacespeed indicates horizontal travel across a surface. Should I write this up in github?
  8. Sorry for the late reply - vacation. Yes - this does work fantastically well thank you.
  9. I don't know which to quote so I'll just say with two distances at right angles to the craft (eg directly north and directly east) then I can use Pythagoras to get the hypotenuse. I didn't mention that before but yeah, it's now relevant and an option. this is the second last puzzle to my problem.
  10. It's a link to a drop box that has 7 zip files. Not sure if this helps, maybe try a different browser?
  11. I can't use distance sadly. I want two random points on the surface - not from craft to surface. I have a lat/long and another lat/long - how can kOS work out the distance between them? edit: oh - I see - triangulate. Interesting.
  12. I'm trying to work out the distance between two gps points (lat/long). I can capture lat/long for two ponts well enough. That's the easy bit. The trig bit with kOS has me scratching my head. I googled this and this is java (which I don't know, but it's pretty self-evident): function getDistanceFromLatLonInKm(lat1,lon1,lat2,lon2) { var R = 6371; // Radius of the earth in km var dLat = deg2rad(lat2-lat1); // deg2rad below var dLon = deg2rad(lon2-lon1); var a = Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(deg2rad(lat1)) * Math.cos(deg2rad(lat2)) * Math.sin(dLon/2) * Math.sin(dLon/2) ; var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); var d = R * c; // Distance in km return d; } function deg2rad(deg) { return deg * (Math.PI/180) } Do I need to convert to radians like this function does and is all that trig possible? I'm measuring small distance - in the hundreds of meters. Does that remove the need for some of that trig? Like, trig on really small numbers will return really small numbers type of thing?
  13. So I install 0.10.1 and then apply the five zip files in drop box? Just trying to spell this out for dummies like me.
  14. Not sure if this will work with 0.90. Has anyone tried it? And how does kOS access the 'distance' reading once activated. There are a lot of comments like "when kOS is updated ..." etc so, just trying to work out what's possible and what's not. Thx.