Commit 2757b93
authored
refactor: move dimos-viewer to dedicated dimos/ directory (#7)
Move all DimOS-specific code out of examples/rust/custom_callback/ into
a top-level dimos/ directory. Restore custom_callback to its upstream
Rerun state for easier future merges.
Directory structure:
dimos/
Cargo.toml (dimos-viewer crate)
pyproject.toml (maturin packaging)
dimos_viewer/ (Python wrapper)
tests/ (Python tests)
src/
viewer.rs (main binary with CLI args)
lib.rs
interaction/ (LCM transport module)
Changes:
- Created dimos/ crate with all viewer + LCM code
- Restored examples/rust/custom_callback/ to upstream Rerun state
- Updated CI workflow to reference dimos/ instead of custom_callback
- Added dimos/ to workspace members
- Both crates compile and test independently
Verified:
- cargo check -p dimos-viewer ✓
- cargo test -p dimos-viewer ✓ (13 tests pass)
- cargo check -p custom_callback ✓ (upstream intact)
- dimos-viewer --help shows correct CLI args1 parent 53a36b8 commit 2757b93
File tree
22 files changed
+316
-230
lines changed- .github/workflows
- dimos
- dimos_viewer
- src
- interaction
- tests
- examples/rust/custom_callback
- src
22 files changed
+316
-230
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
2230 | | - | |
2231 | 2230 | | |
2232 | 2231 | | |
2233 | 2232 | | |
| |||
3109 | 3108 | | |
3110 | 3109 | | |
3111 | 3110 | | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
3112 | 3124 | | |
3113 | 3125 | | |
3114 | 3126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments