8 ms·
Lox – Oxidized Astrodynamics – A safe, ergonomic astrodynamics library
- BWStearns 2y agohttps://github.com/lox-space/lox/blob/main/crates/lox-space/examples/iss.rs https://github.com/lox-space/lox/blob/main/crates/lox-space/... The example code is helpful for seeing how it'd be used (might be cool to link to it from the README while the docs are still todo)
- aero-glide2 2y agoI work on simulations in a satellite company and have been looking for a way to move out of c++. Thank you very much, will explore this.
- binarycoffee 2y agoJust curious, what kind of simulations do you work on (mission design?) and what libraries would you use in C++?
- y33t 2y agoWith a name like 'lox' you'd think the banner image would be Pisces. Cool project though, I will definitely be playing around with this.
- goku12 2y agoPardon my ignorance, but how does lox relate to Pisces? I don't get the connection with cancer either, but the first thing that comes to mind on hearing Lox is liquid oxygen as it is used in rockets. So it's a connection between Rust language and astrodynamics. Is there something that makes Pisces more appropriate for this?
- porcoda 2y agoI assume they’re making a reference to Lox the food (brined Salmon), so a fish is appropriate.
- Jorge1o1 2y agoSibling comment mentioned the connection between lox and Pisces, but the connection to Cancer is that the mascot for Rust is a crab.
- goku12 2y agoTrue! That's an embarrassing thing to forget, given that Rust is my primary programming language.
- deleted 2y ago[deleted]
- MisterTea 2y ago> With a name like 'lox' you'd think the banner image would be Pisces. It's written in Rust so it's all about the language instead of the mission.
- helgee 2y agoNah, not really. I sometimes wish that this was all about Rust but as of now the library is mostly being used through the Python wrapper.
- goku12 2y agoThere is another crate in Rust named Nyx [1] that sounds very similar - an astrodynamics library with a Python wrapper. Anyone knows how they compare? [1] https://github.com/nyx-space/nyx https://github.com/nyx-space/nyx
- binarycoffee 2y agoLOX is apparently MPL, so a bit easier to work with than Nyx' AGPL, but still at odd with the MIT/Apache2 combo that has become the norm in the Rust world.
- oakwhiz 2y agoThere is an older version of Nyx which is Apache licensed https://github.com/oakwhiz/nyx-space-apache https://github.com/oakwhiz/nyx-space-apache
- DarmokJalad1701 2y agoThere is also ANISE made by the same author: https://github.com/nyx-space/anise https://github.com/nyx-space/anise
- helgee 2y agoNyx is the OG Rust-based astrodynamics library and much more mature. Lox started as a vehicle for myself to learn Rust and at that point I did not feel comfortable contributing to an established code base.
- aero-glide2 2y agoThe only downside I see is agpl. Im not anti agpl, but truth is this would slow commercial adoption.
- ge96 2y agoIt is kind of sad to be living where it's too early to have your own space craft. It is sci-fi at this point anyway to consider life like that, but that would be cool to write software for like car CAN bus. But I also get it's not a toy/matter of life and death. I guess a video game or simulator is the closest thing. Standardized APIs for thrusters or something that would be cool. Tie into visual star navigation
- treyd 2y agoIt will probably never be feasible to have "your own" spacecraft like we have cars. The time and distance scales are just way too huge. Something more resembling the scale of a superyacht might become possible in the far future.
- ge96 2y agoI understand too until there is FTL/warping space is too big
- genewitch 2y agoMy understanding is there is not a such thing and humans, if we want to go interstellar, are going to have to accept that those humans and probably all their offapring are gone forever.
- NitpickLawyer 2y ago> there is not a such thing Yet. Or, as the good science communicators like to say, "as far as we know / as far as our current understanding goes". Looking back in history, almost everything we're taking for granted today was both dreamed by the pas era's "futurists" and deemed impossible by their skeptics. Only time (hah!) will tell, I guess.
- genewitch 2y agoI used to argue this way, too. But i forget if it was NdgT or someone else said basically that there's no real reason to leave right now for interstellar travel because advancements in technology will make future travel take less time - the future travelers may pass the present travelers. So what, we wait until we have wormhole technology? I say we start now. maybe tech improves, maybe we get wormholes. If so, maybe we can go "cut 'em off at the pass" and move the present travelers to the future ship(s).
- helgee 2y agoOh, hi! Project creator here. I am very happy that you folks are showing interest but I am also terrified because this thing is definitely not ready for primetime, yet. The discerning astrodynamicist and/or rustacean will surely find things which are less than optimal or plain wrong. I am also preparing for a trip so I won't be able to monitor this thread closely but I'll try to answer question wherever I can.
- miramba 2y agoCan I build a solar system simulator with this? Looking for calculating the absolute positions of planets and moons with the sun at 0,0,0 given a datetime. Kepler calculations for planets, moons etc would be fine, as long as I can insert arbitrary objects and calculate their trajectory using gravity. Can this project do that?
- bbor 2y agoHey, this is really impressive stuff, talk about a dream job! Two quick questions if you find the time+interest: 1. What does "safe" imply? Type safety, maybe? Or just a general synonym for "few bugs/well tested"? 2. What kind of industry is this primarily envisioned for use in...? I have experience in the satellite industry (GRE and TT&C) but I was surprised to not see the usual buzzwords on this page, namely "TLEs". I get that it clearly does way more than terrestrial orbital work, but AFAIK that's, say, 99.9% of the current space industry. In other words: is this library for ESA missions??? That would be rad as hell, if so. also P.S. I love AI art compared to most, but I would def recommend carving out that cool crab and putting on a background of real stars. As you may or not be aware, many scientists have been a tad radicalized about AI, and AI art in particular -- would be a shame if that slowed adoption of a cool project!
- watersb 2y agoA textbook covering the physics of spaceflight, "Astronautics" by Ulrich Walter, was made available for free download by the publisher during the COVID lockdown. https://link.springer.com/book/10.1007/978-3-319-74373-8 https://link.springer.com/book/10.1007/978-3-319-74373-8 My hope that this plus Kerbal Space Program would transform my brain proved that I tend to ignore my limitations. Great book, though. https://link.springer.com/book/10.1007/978-3-319-74373-8 https://link.springer.com/book/10.1007/978-3-319-74373-8