Skip to content

Commit

Permalink
Rebrand clocss-abm -> spacetime (#16)
Browse files Browse the repository at this point in the history
* Rebrand clocss-abm -> spacetime

* more workflow headaches

* let the bridge have all the standard bevy features
  • Loading branch information
philiplinden authored Jan 21, 2024
1 parent f7be532 commit 874e480
Show file tree
Hide file tree
Showing 28 changed files with 166 additions and 208 deletions.
6 changes: 2 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Mark docs/ as documentation, but not demos
# Mark docs/ as documentation
docs/* linguist-documentation
learning/demos/* -linguist-documentation

# Don't include Jupyter Notebooks or assets/ in language stats
learning/notebooks/* liquist-vendored
learning/data/* linguist-vendored
learning/* liquist-vendored
assets/* linguist-vendored
10 changes: 6 additions & 4 deletions .github/workflows/build-doc-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
# https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md#installing-linux-dependencies
run: sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -32,9 +33,9 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Cargo Check
run: cargo check
run: cargo check --workspace
- name: Cargo Build
run: cargo build --release --all-features
run: cargo build --workspace --release --all-features
# - name: Setup Python
# uses: actions/setup-python@v3
# - name: Install Poetry
Expand All @@ -47,7 +48,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
# https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md#installing-linux-dependencies
run: sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
- name: Restore cargo cache
uses: actions/cache@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,8 @@ cython_debug/
.vscode/
*.parquet
*.bsp

# Cargo
.cargo/
target/
dist/
146 changes: 50 additions & 96 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 6 additions & 30 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
[package]
name = "clocss-abm"
version = "0.1.0"
edition = "2021"
license = "AGPL-3.0-or-later"
readme = "README.md"
description = "an Agent-Based Model of Heterogeneous Lunar Networks"
authors = ["Philip Linden <[email protected]>"]
homepage = "https://philiplinden.github.io/clocss-abm/"
repository = "https://github.com/philiplinden/clocss-abm"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = { version = "0.12.0", features = ["dynamic_linking"] }
# bevy-inspector-egui = { version = "0.22.0", features = ["highlight_changes"] }
bevy_egui = "0.24.0"
crossbeam-channel = "0.5.11"
hifitime = "3.8.5"
humantime = "2.1.0"
particular = { version = "0.6.1", features = ["gpu"] }

# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
incremental = true

# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[workspace]
members = [
"spacetime-core",
"spacetime-bridge",
]
resolver = "2"
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# clocss-abm
an Agent-Based Model of Heterogeneous Lunar Networks for the Cislunar Open Clock
Synchronization System (CLOCSS)
# spacetime
A Simulation of Heterogeneous Networked Lunar Clocks.

[![python](https://github.com/philiplinden/clocss-abm/actions/workflows/python.yaml/badge.svg?branch=main)](https://github.com/philiplinden/clocss-abm/actions/workflows/python.yaml)
[![rust](https://github.com/philiplinden/clocss-abm/actions/workflows/rust.yaml/badge.svg?branch=main)](https://github.com/philiplinden/clocss-abm/actions/workflows/rust.yaml)

`clocss-abm` employs Agent-Based Modeling to examine lunar networks in the
`spacetime` employs Agent-Based Modeling to examine lunar networks in the
Cislunar Open Clock Synchronization System. It focuses on how network topology
and time synchronization evolve in a growing lunar ecosystem, evaluating both
centralized and decentralized Positioning, Navigation, and Timing (PNT) service
Expand All @@ -19,7 +15,7 @@ aims to predict system performance relative to interconnected assets and
considers interoperability with other missions, including the definition of a
Lunar Reference Frame.

**Documentation is available at [philiplinden.github.io/clocss-abm](https://philiplinden.github.io/clocss-abm/).**
**Documentation is available at [philiplinden.github.io/spacetime](https://philiplinden.github.io/spacetime/).**

## Quickstart

Expand All @@ -34,7 +30,7 @@ cargo run
Learning is one of the main objectives of this project. As such, several code demos and iPy notebooks can be found in
the `learning` directory.

The repository contains a mix of Python and Rust. See [the docs](https://philiplinden.github.io/clocss-abm) for more
The repository contains a mix of Python and Rust. See [the docs](https://philiplinden.github.io/spacetime) for more
discussion on code architectures for this project. It's been an exploration with surprising twists.

There are two Python demo models that run interactively in the browser. Install dependencies to a virtual environment
Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# clocss-abm
an Agent-Based Model of Heterogeneous Lunar Networks for the Cislunar Open Clock
Synchronization System (CLOCSS)
A Simulation of Heterogeneous Networked Lunar Clocks.

## Abstract
This project aims to use agent-based modeling and simulations to explore how
Expand Down
Loading

0 comments on commit 874e480

Please sign in to comment.