-
Notifications
You must be signed in to change notification settings - Fork 0
Generate railroad and navigate using heightmap #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
azazdeaz
wants to merge
21
commits into
main
Choose a base branch
from
rail_gen
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
51c397e
Implement main rail generation script
azazdeaz bf2af51
Implement generating sleepers
azazdeaz 5335b91
Implement terrain
azazdeaz a801ab7
IMplement basic rail following demo
azazdeaz d585178
Implement UWB based navigation
azazdeaz 924d090
Log height map with rerun
azazdeaz 2f63347
Use boxes for rail collisions
azazdeaz 385554a
Follow the rails based on the height map data
azazdeaz 73cea98
Use perlin noise for generating the terrain
azazdeaz 8f8c503
Migrate to `uv`
azazdeaz ec23c72
Update max robot speed and rail collision settings
azazdeaz 5663dd8
Rename human_marker to uwb_tag in mocap body for clarity
azazdeaz a6b12e6
Use unitree-mujoco as a package
azazdeaz b8ec468
Update WTW demo
azazdeaz 7b4ce12
Update readme
azazdeaz d4b7b05
Fix running in Docker
azazdeaz 689e108
Update file path for go2.xml resource in RailwayScene
azazdeaz c97bb96
Fix mesh face winding on the rail ends
azazdeaz ec38aa4
Add TODO for moving optional dependencies to extras in Dockerfile
azazdeaz eb7e0c7
Fix logging rails in Rerun
azazdeaz e27794e
Use mjpython to launch mujoco on mac
azazdeaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 3.11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,25 @@ | ||
| # Uses GPU enabled torch | ||
| # FROM public.ecr.aws/artefacts/go2:mujoco | ||
| # Uses CPU only torch | ||
| FROM public.ecr.aws/artefacts/go2:mujoco-cputorch | ||
| FROM nvidia/cuda:12.8.1-base-ubuntu22.04 | ||
|
|
||
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | ||
|
|
||
| ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics | ||
| ENV MUJOCO_GL=egl | ||
| SHELL ["/bin/bash", "-c"] | ||
|
|
||
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| libgl1 libglfw3 libgles2 libegl1 libglib2.0-0 \ | ||
| python3-pip python3-dev ffmpeg git curl cmake build-essential \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| WORKDIR /ws | ||
| COPY pyproject.toml uv.lock .python-version ./ | ||
| # Use cpu-torch (for smaller image size) | ||
| RUN uv lock --index pytorch=https://download.pytorch.org/whl/cpu | ||
| # TODO: Should we move optional dependencies (like rerun-sdk) to extras to decrease the image size? | ||
| RUN uv sync | ||
|
|
||
| COPY artefacts.yaml go2_wtw_demo.py utils.py ./ | ||
| COPY tests/ tests/ | ||
| COPY resources/ resources/ | ||
|
|
||
| CMD artefacts run $ARTEFACTS_JOB_NAME | ||
| CMD uv run artefacts run $ARTEFACTS_JOB_NAME |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.