docs.rs failed to build cortenforge-sim-core-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
cortenforge-sim-core-0.6.0
sim_core
Sim runtime primitives shared by Bevy apps (sim, datagen, inference). It owns:
- ModeSet + SimRunMode: system sets for common vs sim/datagen vs inference paths.
- SimConfig: mode, headless, capture output/prune settings, max_frames, optional capture interval.
- Plugins: SimPlugin (mode sets), SimRuntimePlugin (default runtime resources); app crates wire their own systems (e.g., their
AppSystemsPlugin). - Modules: camera/controls, autopilot_types/recorder_types, probe_types.
How to use (in your app repo)
- Build the base app via
sim_core::build_app(SimConfig { .. }). - Add plugins:
SimPlugin,SimRuntimePlugin, plus your app systems plugin and any app-specific bootstrap (e.g., environment). - If you need inference, add detector resources/systems in an inference-only branch (ModeSet::Inference).
- Bins set
SimRunModethrough CLI (sim/datagen/inference) and pass headless/output/prune/max_frames viaSimConfig.
Adding systems
- Common systems: add to ModeSet::Common.
- Sim/datagen-only: add to ModeSet::SimDatagen.
- Inference-only: add to ModeSet::Inference.
Use
SimRuntimePluginto keep registration in one place; avoid detector wiring here to keep the core crate lean. Recorder metadata/sink/world-state live here (recorder_meta); apps provide world-state updates and can inject custom sinks.
Deprecated: the old
sim_corecrate name was renamed tocortenforge-sim-core. Please depend on the new crate name.
License
Apache-2.0 (see LICENSE in the repo root).