0
FlyingRhenquest

C++ Goodies

Recommended Posts

I just posted some C++ libraries for time and coordinates and a(nother) demo on my github id. fr_demo_2 reads ephemeris data from 2 day old NGA published GPS satellite ephemeris files and plots the orbits on Google Earth. (probably) requires Linux to compile and run. Definitely requires a new gcc (4.7-ish) or other compiler that implements c++11. Also requires some boost libraries. If you're into that sort of thing, check it out! https://github.com/FlyingRhenquest?tab=repositories

If you're not, but have google earth installed, and want to know what the hell I'm talking about, you can download the "sample_output.kml" file from the demo directory and open it with google earth.

If you don't have google earth installed, you're really missing out! You know it has a built in flight simulator, right? Install it, point it at your drop zone, fire up the flight simulator and fly your jump run! Bwahaha! Ok, I'm easily amused.
I'm trying to teach myself how to set things on fire with my mind. Hey... is it hot in here?

Share this post


Link to post
Share on other sites
Quote

ooohhh I want to do this. Prepare for tons of questions, I'm a blonde you know



We need to explain something to you: "C++" is not a cup size.
Sorry.
[:/]
"There are only three things of value: younger women, faster airplanes, and bigger crocodiles" - Arthur Jones.

Share this post


Link to post
Share on other sites
Phffffft.

Uhm, does anyone know how to get Tequila out of a keyboard?
“The only fool bigger than the person who knows it all is the person who argues with him.

Stanislaw Jerzy Lec quotes (Polish writer, poet and satirist 1906-1966)

Share this post


Link to post
Share on other sites
Quote

Quote

ooohhh I want to do this. Prepare for tons of questions, I'm a blonde you know



We need to explain something to you: "C++" is not a cup size.
Sorry.
[:/]

Very happy with what I have, and I came by it honestly;)
No matter how slowly you say oranges it never sounds like gullible.
Believe me I tried.

Share this post


Link to post
Share on other sites
i have a couple of questions for you if i may. first, do you have any copies of the source code available to look at on a windows system? i really hate to bug ya, but i don't currently have a linux box up(laptop that was running suse took a dump). also, i don't program in c or any c variants, but i just learned how to use visual basic and was looking for a project to work on to brush up my basic skills. i could probably figure out how to translate it, at least i can read it well enough to follow the ideas. i hate just copying and pasting and calling it programming. well, looks like it was just one question and a lot of filler...well, it is saturday night. thanx.
http://kitswv.com

Share this post


Link to post
Share on other sites
It's all source code up on github. The objects are all fairly small and straightforward, so it should be pretty easy to convert them to any other language. The only thing remotely esoteric are the conversion routines that translate from one coordinate type into another, and even those aren't too bad. You really only need to be able to convert from ecef to latlong, latlong to ecef and ecef to eci.

I'd start with the time routines, you need gmst and julian date for some of the conversions, and those are also fairly simple objects.
I'm trying to teach myself how to set things on fire with my mind. Hey... is it hot in here?

Share this post


Link to post
Share on other sites
thanx a lot man. that's what i get for being under the influence...i didn't even click the links when i read that it had to be compiled in linux. anyway, i looked them over and it looks like a fun project. if i get it working i'll let you know and you can have it if you want. i may try to make those improvements you spoke of as well. happy holidays!
http://kitswv.com

Share this post


Link to post
Share on other sites
I just do that to turn the socket into a stream. You could use the old-school C-style read and write to interact with the socket instead, assuming standard POSIX sockets actually work in Windows. The server handler class has the file descriptor (fdes) in as one of its members, and it's already been opened by the socket server, so all you need to do is read and write that descriptor.
I'm trying to teach myself how to set things on fire with my mind. Hey... is it hot in here?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0