Organization, foundations for configs, and a REPL for headless mode#40
Merged
Conversation
ChangelogNotable changes to this project will be documented in this file. 0.2.1 - 2025-07-26🎨 UI & Styling
🐛 Bug Fixes
⚙️ Repository
📜 Full ChangelogChangelogNotable changes to this project will be documented in this file. 0.2.0 - 2025-06-27🚀 Features
♻️ Refactor
🐛 Bug Fixes
⚙️ Repository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the
buoyproject, including version upgrades, modularization of physics-related code, and new features for configuration and runtime functionality. The most important changes include version bumps across multiple crates, restructuring of the physics codebase, introduction of configuration-driven objects, and the addition of a REPL-based console for runtime interaction.Version Updates
buoy-physicscrate to0.3.0inCargo.tomland other crates to maintain consistency across the workspace. [1] [2] [3]Modularization of Physics Code
forces.rsfile into separate modules:buoyancy.rs,drag.rs, andweight.rs, improving code organization. [1] [2] [3]forces/mod.rsto manage the plugins for the newly modularized physics components.Configuration-Driven Objects
GasSpeciesConfigandGasPropertiesConfigstructs for defining gas properties via configuration files.BalloonConfigstruct to allow the creation of balloon objects from configuration data.assets/configs/scenario.ronto include a sample configuration for a balloon.Runtime Enhancements
ConsolePlugin) with a minimal command system, allowing runtime interaction and control of the simulation. [1] [2]Code Cleanup and Refactoring
forces.rs, such as thedragandbuoyancyfunctions, and moved them to their respective modules.Balloonimplementation and replaced it with a configuration-driven approach. [1] [2]lib.rsfiles by removing commented-out code and unused modules. [1] [2]These changes enhance the maintainability, flexibility, and usability of the
buoyproject, preparing it for more complex simulations and runtime interactions.