-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: finish tutorial * chore: checkpoint * feat: base for demo backend * chore: update instanciator docker compose * fix: update nginx container network mode * fix: editable controller issues * feat: add editable and non editable mode for ribot-controller backenc * fix: wrong raise in manage.py * chore: update nginx conf * feat: add demo * chore: remote router from instanciator docker compose * chore: fix outdted free port function * fix: ch docker-compose to docker compose * fix: ch docker-compose to docker compose * fix: another bad docker compose * fix: cleanup ArmSimulation.jsx * fix: websocket port * fix: websocket port missing / * chore: update arm simulation * chore: update arm simulation * chore: update instance generator * chore: update broken instanciator docker compose file * feat: decrease cpu ussage * fix: linting issues * feat: update tutorial, improve actions play button * chore: fix linting * chore: update docker compose for instanciator * fix: instanciator healthcheck method * fix: instanciator healthcheck method * chore: update api url for base url * chore: isntanciator error on free instances * chore: udpate simulation css and settigns for instanciator * chore: update instance generator * feat: add gripper to unity simulation * feat: update instance scripto to properly support healthcheck * fix: update healthcheck endpoint to be get instead of post * fix: update instanciator * chore: isntanciator error on free instances * add prints to healthcech * chore: start refactor of instanciator * chore: isntanciator error on free instances * chore: isntanciator error on free instances * feat: finish refactor of instanciator and update location of arm in simulation * chore: update simulation * chore: update simulation * chore: update simulation * feat: add token access to instanciator * feat: add token access to instanciator * feat: complete instanciator
- Loading branch information
1 parent
3fbeb4e
commit 64e7a33
Showing
80 changed files
with
2,926 additions
and
438 deletions.
There are no files selected for viewing
This file contains 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,30 +1,40 @@ | ||
# ESP32 | ||
export ESP_WIFI_SSID=ssid | ||
export ESP_WIFI_PASSWORD=password | ||
export ESP_WIFI_SSID=PALVI | ||
export ESP_WIFI_PASSWORD=Palvi.1400 | ||
export ESP_CONTROLLER_SERVER_HOST=backend | ||
export ESP_CONTROLLER_SERVER_PORT=8500 | ||
export ESP_FLASH_PORT= | ||
|
||
# CONTROLLER DEFAULT SETTINGS | ||
CONTROLLER_WEBSOCKET_PORT=8600 | ||
CONTROLLER_SERVER_PORT=8500 | ||
|
||
CONTROLLER_PRINT_STATUS=false | ||
|
||
# ---PDM CONTROLLER PUBLISH SETTINGS | ||
CONTROLLER_PDM_PUBLISH_USERNAME=__token__ | ||
CONTROLLER_PDM_PUBLISH_PASSWORD=token_here | ||
CONTROLLER_PDM_PUBLISH_PASSWORD=tokenhere! | ||
CONTROLLER_PDM_OVERRIDE_VERSION=None | ||
CONTROLLER_PDM_INCREMENT_VERSION=false | ||
|
||
# BACKEND | ||
BACKEND_HTTP_PORT=8000 | ||
|
||
|
||
# BACKEND | ||
BACKEND_HTTP_PORT=5000 | ||
BACKEND_UPDATE_RIBOT_CONTROLLER=false | ||
|
||
# FRONT | ||
VITE_BACKEND_URL=http://localhost:8000 | ||
VITE_BACKEND_URL=http://localhost:5000 | ||
VITE_ARM_SIMULATION_WEBSOCKET_PORT=8600 | ||
VITE_ARM_SIMULATION_WEBSOCKET_HOST=localhost | ||
VITE_ARM_SIMULATION_URL=http://localhost:8080 | ||
|
||
|
||
|
||
# ARM_SIMULATION | ||
ARM_SIMULATION_PORT=8080 | ||
|
||
# Docker compose debug buid | ||
export COMPOSE_DOCKER_CLI_BUILD=1 | ||
export DOCKER_BUILDKIT=1 | ||
|
||
|
||
|
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
|
||
Needs to be updated! | ||
` | ||
: |
This file contains 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 +1,2 @@ | ||
.pdm-python | ||
controller |
This file contains 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,32 +1,39 @@ | ||
FROM python:3.11-slim-buster | ||
|
||
ARG EDITABLE_PACKAGES | ||
ENV EDITABLE_PACKAGES=${EDITABLE_PACKAGES} | ||
|
||
WORKDIR /app | ||
|
||
# hadolint ignore=DL3008 | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
build-essential && \ | ||
build-essential coreutils && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
ENV PYTHONPATH=/app/src | ||
|
||
|
||
RUN pip install --no-cache-dir pdm==2.10 | ||
RUN pip install --no-cache-dir pdm==2.10.3 | ||
|
||
COPY ./pyproject.toml ./pyproject.toml | ||
COPY ./pdm.lock ./pdm.lock | ||
|
||
|
||
COPY . . | ||
|
||
RUN pdm install | ||
RUN pdm remove ribot-controller || true && \ | ||
pdm remove ribot-controller --dev || true | ||
|
||
RUN chmod +x ./entrypoint.sh | ||
RUN if [ "$EDITABLE_PACKAGES" = "true" ]; then \ | ||
echo "Installing editable packages"; \ | ||
pdm add -e ./controller --dev; \ | ||
else \ | ||
echo "Installing non-editable packages"; \ | ||
pdm add ribot-controller; \ | ||
fi | ||
|
||
EXPOSE 8000 | ||
|
||
ENTRYPOINT ["/app/entrypoint.sh"] | ||
RUN pdm install | ||
|
||
CMD ["pdm","run","start"] | ||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
This file contains 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
This file contains 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.
64e7a33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ribot-demo – ./frontend
ribot-demo-albertos-projects-8fdd187b.vercel.app
ribot-demo.vercel.app
demo.ribot.dev
ribot-demo-git-main-albertos-projects-8fdd187b.vercel.app