Skip to content

Commit

Permalink
WIP on drone demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gbin committed Dec 31, 2024
1 parent a610375 commit ef1cafe
Show file tree
Hide file tree
Showing 7 changed files with 745 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ members = [
"components/tasks/cu_aligner",
"components/tasks/cu_pid",
"components/testing/cu_udp_inject",
"components/testing/cu_sim_depthsense",
"examples/cu_caterpillar",
"examples/cu_config_gen",
"examples/cu_drone",
"examples/cu_iceoryx2",
"examples/cu_logging_size",
"examples/cu_monitoring",
Expand Down
23 changes: 23 additions & 0 deletions examples/cu_drone/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "cu-drone"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
cu29 = { workspace = true }
cu29-helpers = { workspace = true }
cu-hesai = { path = "../../components/sources/cu_hesai" }
cu-sensor-payloads = { path = "../../components/payloads/cu_sensor_payloads" }
cu-sim-depthsense = { path = "../../components/testing/cu_sim_depthsense" }
bevy_mod_raycast = "0.18.0"
bevy = { version = "0.14.2", default-features = false, features = ["bevy_ui", "bevy_sprite", "bevy_scene", "default_font", "wayland", "bevy_asset", "bevy_render", "bevy_gltf", "bevy_core_pipeline", "bevy_pbr", "bevy_gizmos", "bevy_winit", "x11", "tonemapping_luts", "ktx2", "jpeg", "png"] }
avian3d = { version = "0.1.2", default-features = false, features = ["bevy_scene", "collider-from-mesh", "debug-plugin", "parallel", "f32"] }
parry3d = { version = "0.17.1" }
iyes_perf_ui = { version = "0.3.0" }
fbx = "*"
6 changes: 6 additions & 0 deletions examples/cu_drone/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fn main() {
println!(
"cargo:rustc-env=LOG_INDEX_DIR={}",
std::env::var("OUT_DIR").unwrap()
);
}
16 changes: 16 additions & 0 deletions examples/cu_drone/copperconfig.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
(
tasks: [
(
id: "l",
type: "cu_hesai::Xt32",
),
(
id: "a",
type: "tasks::Sink",
),
],
cnx: [
(src: "l", dst: "a", msg: "cu_sim_depthsense::VirtPointCloud"),
],
)

Loading

0 comments on commit ef1cafe

Please sign in to comment.