| Crates.io | kos_core |
| lib.rs | kos_core |
| version | 0.1.2 |
| created_at | 2024-11-13 23:00:53.434736+00 |
| updated_at | 2025-01-09 03:44:17.851608+00 |
| description | The K-Scale Operating System |
| homepage | |
| repository | https://github.com/kscalelabs/kos |
| max_upload_size | |
| id | 1447203 |
| size | 106,811 |
Welcome to the K-Scale Operating System!
cross toolchainNative build with stub features:
cargo build --features stub
Cross build for kbot:
cross build --release --target aarch64-unknown-linux-gnu --features kscale_pro
RUST_LOG=debug cargo run --features stub
You can specify logging levels for individual modules by adding module_name=log_level to the RUST_LOG environment variable. For example:
RUST_LOG=debug,krec=warn cargo run --features stub
Features are how you specify the specific platform to run K-OS on (e.g. -F kos-kbot when running on K-Bot)
Reference the existing platforms / features in platforms.
You essentially create another package (Cargo.toml, lib.rs, etc) with the necessary actuator and imu implementations according to the specifications in kos-core
To save trace logs to a file, pass the --log flag:
cargo run --features stub -- --log
## Contributing
- Use `cargo fmt --all` to format the code.
- Use `cargo clippy` to check for lint errors.
- Use `cargo test` to run the tests.
- Use `tracing` for logging.
- Use `eyre` to handle errors.
- No `unwrap()` or `expect()`.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.