Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into luca/door_preview
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Aug 31, 2023
2 parents 7248fc1 + 996a0df commit 5b6e2fa
Show file tree
Hide file tree
Showing 138 changed files with 10,314 additions and 2,392 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
sudo apt-get update
sudo apt-get install libasound2-dev libudev-dev libgtk-3-dev
- uses: actions/checkout@v3
- name: Build
- name: Build rmf_site_format
run: |
cd rmf_site_format
cargo build
- name: Build rmf_site_editor
run: cargo build
- name: Run tests
run: cargo test
7 changes: 6 additions & 1 deletion .github/workflows/ci_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@ jobs:
- uses: actions/checkout@v3

- name: build
- name: build rmf_site_format
run: |
cd rmf_site_format
cargo build
- name: build rmf_site_editor
run: scripts/build-web.sh
7 changes: 6 additions & 1 deletion .github/workflows/ci_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ jobs:
rustup target add x86_64-pc-windows-msvc
shell: powershell

- name: build
- name: build rmf_site_format
run: |
cd rmf_site_format
cargo build
- name: build rmf_site_editor
run: |
rustc -Vv
cargo -V
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
- name: style
run: rustfmt --check --edition 2021 rmf_site_format/src/lib.rs rmf_site_editor/src/lib.rs rmf_site_editor/src/main.rs

- name: minimal feature build
run: cd rmf_site_format && cargo check --no-default-features
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
- id: cargo-check
Binary file added assets/textures/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/alignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions assets/textures/alignment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/textures/alpha.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion assets/textures/attribution.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
* [`select.png`](https://thenounproject.com/icon/select-3324735/)
* [`edit.png`](https://thenounproject.com/icon/edit-2162449/)
* [`exit.png`](https://thenounproject.com/icon/exit-1826632/)
* [`confirm.png`](https://thenounproject.com/icon/confirm-2261637/)
* [`reject.png`](https://thenounproject.com/icon/x-2289933/)
* [`empty.png`](https://thenounproject.com/icon/empty-194055/)
* [`add.png`](https://thenounproject.com/icon/plus-1809810/)
* [`search.png`](https://thenounproject.com/icon/search-3743008/)
* [`merge.png`](https://thenounproject.com/icon/merge-3402180/)
* `trash.png`: @mxgrey

* `selected.png`: @mxgrey
* `alignment.png`: @mxgrey
Binary file added assets/textures/confirm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/textures/default.png
Binary file not shown.
Binary file added assets/textures/empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/exit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/merge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/reject.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions assets/textures/selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion rmf_site_editor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ name = "librmf_site_editor"
path = "src/main.rs"
name = "rmf_site_editor"

[[example]]
name = "extending_site_editor"
path = "examples/extending_menu.rs"

[dependencies]
bevy_egui = "0.19"
bevy_mod_picking = "0.11"
Expand Down Expand Up @@ -43,8 +47,10 @@ tracing = "0.1.37"
tracing-subscriber = "0.3.1"
rfd = "0.11"
urdf-rs = "0.7"
# sdformat_rs = { path = "../../sdf_rust_experimental/sdformat_rs"}
utm = "0.1.6"
sdformat_rs = { git = "https://github.com/open-rmf/sdf_rust_experimental", rev = "f86344f"}
gz-fuel = { git = "https://github.com/open-rmf/gz-fuel-rs", branch = "first_implementation" }
pathdiff = "*"

# only enable the 'dynamic' feature if we're not building for web or windows
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "windows")))'.dependencies]
Expand All @@ -61,3 +67,4 @@ surf = { version = "2.3" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
surf = { version = "2.3", default-features = false, features = ["wasm-client", "encoding"] }
console_error_panic_hook = "0.1.7"
Loading

0 comments on commit 5b6e2fa

Please sign in to comment.