Compare commits
9 Commits
dev-gobot-
...
4060055a14
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4060055a14 | ||
|
|
f9ce4db95a | ||
|
|
41a32b450c | ||
|
|
50f9b0e89c | ||
|
|
ae9347d603 | ||
|
|
7165f3c7e5 | ||
|
|
4a805dcefe | ||
|
|
e1a084697e | ||
|
|
0a4b17cd06 |
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -32,3 +32,5 @@ board-vision/cnn_model/data/* filter=lfs diff=lfs merge=lfs -text
|
|||||||
*.gto filter=lfs diff=lfs merge=lfs -text
|
*.gto filter=lfs diff=lfs merge=lfs -text
|
||||||
*.drl filter=lfs diff=lfs merge=lfs -text
|
*.drl filter=lfs diff=lfs merge=lfs -text
|
||||||
/motor-control/motor-driver-breakout/sym-lib-table filter=lfs diff=lfs merge=lfs -text
|
/motor-control/motor-driver-breakout/sym-lib-table filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.stl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.3mf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|||||||
BIN
.gitignore
(Stored with Git LFS)
vendored
BIN
.gitignore
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.gitmodules
(Stored with Git LFS)
vendored
BIN
.gitmodules
(Stored with Git LFS)
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - Marker.stl
(Stored with Git LFS)
Normal file
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - Marker.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing1.stl
(Stored with Git LFS)
Normal file
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing1.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing2.stl
(Stored with Git LFS)
Normal file
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing2.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing3.stl
(Stored with Git LFS)
Normal file
BIN
3d-print/models/BoardPositionMarker/big/Vison Marker Clip - WhiteRing3.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
3d-print/slicers/BoardPositionMarker.3mf
(Stored with Git LFS)
BIN
3d-print/slicers/BoardPositionMarker.3mf
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
board-vision/.gitattributes
vendored
Normal file
1
board-vision/.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
test/data/images filter=lfs diff=lfs merge=lfs -text
|
||||||
BIN
board-vision/.gitignore
(Stored with Git LFS)
vendored
BIN
board-vision/.gitignore
(Stored with Git LFS)
vendored
Binary file not shown.
15
board-vision/.vscode/settings.json
vendored
Normal file
15
board-vision/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"python.testing.pytestArgs": [
|
||||||
|
"--cov-report", "xml:cov.xml",
|
||||||
|
"--cov-report", "term",
|
||||||
|
"--cov=src",
|
||||||
|
"test",
|
||||||
|
],
|
||||||
|
"python.testing.unittestEnabled": false,
|
||||||
|
"python.testing.pytestEnabled": true,
|
||||||
|
"coverage-gutters.coverageFileNames": [
|
||||||
|
"cov.xml",
|
||||||
|
],
|
||||||
|
"coverage-gutters.coverageBaseDir": "**",
|
||||||
|
"testing.coverageToolbarEnabled": true
|
||||||
|
}
|
||||||
BIN
board-vision/main.py
(Stored with Git LFS)
Normal file
BIN
board-vision/main.py
(Stored with Git LFS)
Normal file
Binary file not shown.
157
board-vision/requirements.txt
Normal file
157
board-vision/requirements.txt
Normal file
@@ -0,0 +1,157 @@
|
|||||||
|
aioice==0.9.0
|
||||||
|
aiortc==1.9.0
|
||||||
|
anyio==4.4.0
|
||||||
|
argon2-cffi==23.1.0
|
||||||
|
argon2-cffi-bindings==21.2.0
|
||||||
|
arrow==1.3.0
|
||||||
|
asgiref==3.8.1
|
||||||
|
asttokens==2.4.1
|
||||||
|
async-lru==2.0.4
|
||||||
|
attrs==23.2.0
|
||||||
|
av==12.3.0
|
||||||
|
Babel==2.15.0
|
||||||
|
beautifulsoup4==4.12.3
|
||||||
|
bleach==6.1.0
|
||||||
|
blinker==1.8.2
|
||||||
|
certifi==2024.7.4
|
||||||
|
cffi==1.16.0
|
||||||
|
charset-normalizer==3.3.2
|
||||||
|
click==8.1.7
|
||||||
|
comm==0.2.2
|
||||||
|
contourpy==1.2.1
|
||||||
|
coverage==7.6.1
|
||||||
|
cramjam==2.8.3
|
||||||
|
cryptography==43.0.3
|
||||||
|
cycler==0.12.1
|
||||||
|
debugpy==1.8.2
|
||||||
|
decorator==5.1.1
|
||||||
|
defusedxml==0.7.1
|
||||||
|
dnspython==2.7.0
|
||||||
|
executing==2.0.1
|
||||||
|
fastjsonschema==2.20.0
|
||||||
|
fastparquet==2024.5.0
|
||||||
|
filelock==3.15.4
|
||||||
|
Flask==3.0.3
|
||||||
|
fonttools==4.53.1
|
||||||
|
fqdn==1.5.1
|
||||||
|
fsspec==2024.6.1
|
||||||
|
google-crc32c==1.6.0
|
||||||
|
h11==0.14.0
|
||||||
|
httpcore==1.0.5
|
||||||
|
httpx==0.27.0
|
||||||
|
idna==3.7
|
||||||
|
ifaddr==0.2.0
|
||||||
|
imageio==2.34.2
|
||||||
|
iniconfig==2.0.0
|
||||||
|
ipykernel==6.29.5
|
||||||
|
ipython==8.26.0
|
||||||
|
isoduration==20.11.0
|
||||||
|
itsdangerous==2.2.0
|
||||||
|
janus==1.0.0
|
||||||
|
jedi==0.19.1
|
||||||
|
Jinja2==3.1.4
|
||||||
|
joblib==1.4.2
|
||||||
|
json5==0.9.25
|
||||||
|
jsonpointer==3.0.0
|
||||||
|
jsonschema==4.23.0
|
||||||
|
jsonschema-specifications==2023.12.1
|
||||||
|
jupyter-events==0.10.0
|
||||||
|
jupyter-lsp==2.2.5
|
||||||
|
jupyter_client==8.6.2
|
||||||
|
jupyter_core==5.7.2
|
||||||
|
jupyter_server==2.14.2
|
||||||
|
jupyter_server_terminals==0.5.3
|
||||||
|
jupyterlab==4.2.4
|
||||||
|
jupyterlab_pygments==0.3.0
|
||||||
|
jupyterlab_server==2.27.3
|
||||||
|
kiwisolver==1.4.5
|
||||||
|
lazy_loader==0.4
|
||||||
|
MarkupSafe==2.1.5
|
||||||
|
matplotlib==3.9.1
|
||||||
|
matplotlib-inline==0.1.7
|
||||||
|
mistune==3.0.2
|
||||||
|
mpmath==1.3.0
|
||||||
|
nbclient==0.10.0
|
||||||
|
nbconvert==7.16.4
|
||||||
|
nbformat==5.10.4
|
||||||
|
nest-asyncio==1.6.0
|
||||||
|
networkx==3.3
|
||||||
|
notebook_shim==0.2.4
|
||||||
|
numpy==2.0.1
|
||||||
|
nvidia-cublas-cu12==12.1.3.1
|
||||||
|
nvidia-cuda-cupti-cu12==12.1.105
|
||||||
|
nvidia-cuda-nvrtc-cu12==12.1.105
|
||||||
|
nvidia-cuda-runtime-cu12==12.1.105
|
||||||
|
nvidia-cudnn-cu12==9.1.0.70
|
||||||
|
nvidia-cufft-cu12==11.0.2.54
|
||||||
|
nvidia-curand-cu12==10.3.2.106
|
||||||
|
nvidia-cusolver-cu12==11.4.5.107
|
||||||
|
nvidia-cusparse-cu12==12.1.0.106
|
||||||
|
nvidia-nccl-cu12==2.20.5
|
||||||
|
nvidia-nvjitlink-cu12==12.6.20
|
||||||
|
nvidia-nvtx-cu12==12.1.105
|
||||||
|
opencv-python==4.10.0.84
|
||||||
|
overrides==7.7.0
|
||||||
|
packaging==24.1
|
||||||
|
pandas==2.2.2
|
||||||
|
pandocfilters==1.5.1
|
||||||
|
parso==0.8.4
|
||||||
|
pexpect==4.9.0
|
||||||
|
pillow==10.4.0
|
||||||
|
platformdirs==4.2.2
|
||||||
|
pluggy==1.5.0
|
||||||
|
prometheus_client==0.20.0
|
||||||
|
prompt_toolkit==3.0.47
|
||||||
|
psutil==6.0.0
|
||||||
|
ptyprocess==0.7.0
|
||||||
|
pure_eval==0.2.3
|
||||||
|
pycparser==2.22
|
||||||
|
pyee==12.0.0
|
||||||
|
Pygments==2.18.0
|
||||||
|
pylibsrtp==0.10.0
|
||||||
|
pyOpenSSL==24.2.1
|
||||||
|
pyparsing==3.1.2
|
||||||
|
pytest==8.3.3
|
||||||
|
pytest-asyncio==0.24.0
|
||||||
|
pytest-cov==5.0.0
|
||||||
|
pytest-timeout==2.3.1
|
||||||
|
python-dateutil==2.9.0.post0
|
||||||
|
python-json-logger==2.0.7
|
||||||
|
pytz==2024.1
|
||||||
|
PyYAML==6.0.1
|
||||||
|
pyzmq==26.0.3
|
||||||
|
referencing==0.35.1
|
||||||
|
requests==2.32.3
|
||||||
|
rfc3339-validator==0.1.4
|
||||||
|
rfc3986-validator==0.1.1
|
||||||
|
rpds-py==0.19.1
|
||||||
|
scikit-image==0.24.0
|
||||||
|
scikit-learn==1.5.1
|
||||||
|
scipy==1.14.0
|
||||||
|
Send2Trash==1.8.3
|
||||||
|
setuptools==72.1.0
|
||||||
|
six==1.16.0
|
||||||
|
sniffio==1.3.1
|
||||||
|
soupsieve==2.5
|
||||||
|
stack-data==0.6.3
|
||||||
|
sympy==1.13.1
|
||||||
|
terminado==0.18.1
|
||||||
|
threadpoolctl==3.5.0
|
||||||
|
tifffile==2024.7.24
|
||||||
|
tinycss2==1.3.0
|
||||||
|
torch==2.4.0
|
||||||
|
torchaudio==2.4.0
|
||||||
|
torchvision==0.19.0
|
||||||
|
tornado==6.4.1
|
||||||
|
traitlets==5.14.3
|
||||||
|
triton==3.0.0
|
||||||
|
types-python-dateutil==2.9.0.20240316
|
||||||
|
typing_extensions==4.12.2
|
||||||
|
tzdata==2024.1
|
||||||
|
uri-template==1.3.0
|
||||||
|
urllib3==2.2.2
|
||||||
|
wcwidth==0.2.13
|
||||||
|
webcolors==24.6.0
|
||||||
|
webencodings==0.5.1
|
||||||
|
websocket-client==1.8.0
|
||||||
|
Werkzeug==3.0.4
|
||||||
BIN
board-vision/src/api/streaming/encoder.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/api/streaming/encoder.py
(Stored with Git LFS)
Normal file
Binary file not shown.
0
can-interface/sdkconfig.ci → board-vision/src/api/streaming/live_feed_api.py
Executable file → Normal file
0
can-interface/sdkconfig.ci → board-vision/src/api/streaming/live_feed_api.py
Executable file → Normal file
BIN
board-vision/src/api/streaming/sdp_negotiation.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/api/streaming/sdp_negotiation.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/api/streaming/video_source.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/api/streaming/video_source.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/main.py
(Stored with Git LFS)
BIN
board-vision/src/main.py
(Stored with Git LFS)
Binary file not shown.
BIN
board-vision/src/main_streaming_test_ref.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/main_streaming_test_ref.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/main_video_stream_test.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/main_video_stream_test.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/vision/board_sizes.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/vision/board_sizes.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/vision/countourFiltering.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/vision/countourFiltering.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/vision/goboard_dectection.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/vision/goboard_dectection.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/vision/preproc.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/vision/preproc.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/src/vision/preproc_fsm.py
(Stored with Git LFS)
Normal file
BIN
board-vision/src/vision/preproc_fsm.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_canny.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_canny.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_gray.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_gray.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_thres.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/88004548-3fcd-4bcd-b329-dd75c8fc1917_thres.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_canny.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_canny.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_gray.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_gray.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_thres.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/9737717d-339f-44d0-9ea1-5d8398fbb418_thres.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_canny.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_canny.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_gray.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_gray.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_thres.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/d132a3aa-ea93-4870-b504-87a97dbed2a3_thres.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_canny.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_canny.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_gray.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_gray.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_thres.png
(Stored with Git LFS)
Normal file
BIN
board-vision/test/data/images/edges/f778b048-c513-4faf-ae77-50ce30d59732_thres.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/streaming/test_streamingEncoder.py
(Stored with Git LFS)
Normal file
BIN
board-vision/test/streaming/test_streamingEncoder.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/video/Big_Buck_Bunny_1080_10s_10MB.h264
Normal file
BIN
board-vision/test/video/Big_Buck_Bunny_1080_10s_10MB.h264
Normal file
Binary file not shown.
BIN
board-vision/test/video/Big_Buck_Bunny_1080_10s_10MB.mp4
Normal file
BIN
board-vision/test/video/Big_Buck_Bunny_1080_10s_10MB.mp4
Normal file
Binary file not shown.
BIN
board-vision/test/vision/api/streaming/test_StreamTrackOpencv.py
(Stored with Git LFS)
Normal file
BIN
board-vision/test/vision/api/streaming/test_StreamTrackOpencv.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/vision/api/streaming/test_async_video_source.py
(Stored with Git LFS)
Normal file
BIN
board-vision/test/vision/api/streaming/test_async_video_source.py
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
board-vision/test/vision/test_edge_dection.py
(Stored with Git LFS)
Normal file
BIN
board-vision/test/vision/test_edge_dection.py
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,47 +0,0 @@
|
|||||||
FROM espressif/idf
|
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=nointeractive
|
|
||||||
ARG CONTAINER_USER=esp
|
|
||||||
ARG USER_UID=1050
|
|
||||||
ARG USER_GID=$USER_UID
|
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt install -y -q \
|
|
||||||
cmake \
|
|
||||||
git \
|
|
||||||
libglib2.0-0 \
|
|
||||||
libnuma1 \
|
|
||||||
libpixman-1-0 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# QEMU
|
|
||||||
ENV QEMU_REL=esp_develop_8.2.0_20240122
|
|
||||||
ENV QEMU_SHA256=e7c72ef5705ad1444d391711088c8717fc89f42e9bf6d1487f9c2a326b8cfa83
|
|
||||||
ENV QEMU_DIST=qemu-xtensa-softmmu-${QEMU_REL}-x86_64-linux-gnu.tar.xz
|
|
||||||
ENV QEMU_URL=https://github.com/espressif/qemu/releases/download/esp-develop-8.2.0-20240122/${QEMU_DIST}
|
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
|
||||||
ENV LANG=C.UTF-8
|
|
||||||
|
|
||||||
RUN wget --no-verbose ${QEMU_URL} \
|
|
||||||
&& echo "${QEMU_SHA256} *${QEMU_DIST}" | sha256sum --check --strict - \
|
|
||||||
&& tar -xf $QEMU_DIST -C /opt \
|
|
||||||
&& rm ${QEMU_DIST}
|
|
||||||
|
|
||||||
ENV PATH=/opt/qemu/bin:${PATH}
|
|
||||||
|
|
||||||
RUN groupadd --gid $USER_GID $CONTAINER_USER \
|
|
||||||
&& adduser --uid $USER_UID --gid $USER_GID --disabled-password --gecos "" ${CONTAINER_USER} \
|
|
||||||
&& usermod -a -G root $CONTAINER_USER && usermod -a -G dialout $CONTAINER_USER
|
|
||||||
|
|
||||||
RUN chmod -R 775 /opt/esp/python_env/
|
|
||||||
|
|
||||||
USER ${CONTAINER_USER}
|
|
||||||
ENV USER=${CONTAINER_USER}
|
|
||||||
WORKDIR /home/${CONTAINER_USER}
|
|
||||||
|
|
||||||
RUN echo "source /opt/esp/idf/export.sh > /dev/null 2>&1" >> ~/.bashrc
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/opt/esp/entrypoint.sh" ]
|
|
||||||
|
|
||||||
CMD ["/bin/bash", "-c"]
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "ESP-IDF QEMU",
|
|
||||||
"build": {
|
|
||||||
"dockerfile": "Dockerfile"
|
|
||||||
},
|
|
||||||
"customizations": {
|
|
||||||
"vscode": {
|
|
||||||
"settings": {
|
|
||||||
"terminal.integrated.defaultProfile.linux": "bash",
|
|
||||||
"idf.espIdfPath": "/opt/esp/idf",
|
|
||||||
"idf.customExtraPaths": "",
|
|
||||||
"idf.pythonBinPath": "/opt/esp/python_env/idf5.4_py3.12_env/bin/python",
|
|
||||||
"idf.toolsPath": "/opt/esp",
|
|
||||||
"idf.gitPath": "/usr/bin/git"
|
|
||||||
},
|
|
||||||
"extensions": [
|
|
||||||
"espressif.esp-idf-extension"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"codespaces": {
|
|
||||||
"settings": {
|
|
||||||
"terminal.integrated.defaultProfile.linux": "bash",
|
|
||||||
"idf.espIdfPath": "/opt/esp/idf",
|
|
||||||
"idf.customExtraPaths": "",
|
|
||||||
"idf.pythonBinPath": "/opt/esp/python_env/idf5.4_py3.12_env/bin/python",
|
|
||||||
"idf.toolsPath": "/opt/esp",
|
|
||||||
"idf.gitPath": "/usr/bin/git"
|
|
||||||
},
|
|
||||||
"extensions": [
|
|
||||||
"espressif.esp-idf-extension",
|
|
||||||
"espressif.esp-idf-web"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runArgs": ["--privileged"]
|
|
||||||
}
|
|
||||||
BIN
can-interface/.gitignore
(Stored with Git LFS)
vendored
BIN
can-interface/.gitignore
(Stored with Git LFS)
vendored
Binary file not shown.
23
can-interface/.vscode/c_cpp_properties.json
vendored
23
can-interface/.vscode/c_cpp_properties.json
vendored
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "ESP-IDF",
|
|
||||||
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc",
|
|
||||||
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
|
|
||||||
"includePath": [
|
|
||||||
"${config:idf.espIdfPath}/components/**",
|
|
||||||
"${config:idf.espIdfPathWin}/components/**",
|
|
||||||
"${workspaceFolder}/**"
|
|
||||||
],
|
|
||||||
"browse": {
|
|
||||||
"path": [
|
|
||||||
"${config:idf.espIdfPath}/components",
|
|
||||||
"${config:idf.espIdfPathWin}/components",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"limitSymbolsToIncludedHeaders": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 4
|
|
||||||
}
|
|
||||||
15
can-interface/.vscode/launch.json
vendored
15
can-interface/.vscode/launch.json
vendored
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "gdbtarget",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Eclipse CDT GDB Adapter"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "espidf",
|
|
||||||
"name": "Launch",
|
|
||||||
"request": "launch"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
32
can-interface/.vscode/settings.json
vendored
32
can-interface/.vscode/settings.json
vendored
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
"C_Cpp.intelliSenseEngine": "default",
|
|
||||||
"idf.adapterTargetName": "esp32",
|
|
||||||
"idf.customExtraPaths": "/home/alexander/.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin:/home/alexander/.espressif/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin:/home/alexander/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin:/home/alexander/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin:/home/alexander/.espressif/tools/esp32ulp-elf/2.38_20240113/esp32ulp-elf/bin:/home/alexander/.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin:/home/alexander/.espressif/tools/ninja/1.11.1:/home/alexander/.espressif/tools/esp-rom-elfs/20240305",
|
|
||||||
"idf.customExtraVars": {
|
|
||||||
"OPENOCD_SCRIPTS": "/home/alexander/.espressif/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts",
|
|
||||||
"ESP_ROM_ELF_DIR": "/home/alexander/.espressif/tools/esp-rom-elfs/20240305/"
|
|
||||||
},
|
|
||||||
"idf.espIdfPath": "/opt/esp/v5.3.1/esp-idf",
|
|
||||||
"idf.openOcdConfigs": [
|
|
||||||
"board/esp32-wrover-kit-3.3v.cfg"
|
|
||||||
],
|
|
||||||
"idf.port": "/dev/ttyUSB0",
|
|
||||||
"idf.pythonBinPath": "/home/alexander/.espressif/python_env/idf5.3_py3.12_env/bin/python",
|
|
||||||
"idf.toolsPath": "/home/alexander/.espressif",
|
|
||||||
"idf.flashType": "UART",
|
|
||||||
"idf.openOcdLaunchArgs": ["-c", "adapter_khz 1000"],
|
|
||||||
"idf.openOcdDebugLevel": 2,
|
|
||||||
"files.associations": {
|
|
||||||
"*.tcc": "cpp",
|
|
||||||
"cstdint": "cpp",
|
|
||||||
"random": "cpp",
|
|
||||||
"future": "cpp",
|
|
||||||
"bitset": "cpp",
|
|
||||||
"string_view": "cpp",
|
|
||||||
"regex": "cpp",
|
|
||||||
"array": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"span": "cpp",
|
|
||||||
"cstring": "cpp"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
259
can-interface/.vscode/tasks.json
vendored
259
can-interface/.vscode/tasks.json
vendored
@@ -1,259 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"label": "Build - Build project",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py build",
|
|
||||||
"windows": {
|
|
||||||
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py build",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": [
|
|
||||||
{
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Set ESP-IDF Target",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${command:espIdf.setTarget}",
|
|
||||||
"problemMatcher": {
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Clean - Clean the project",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py fullclean",
|
|
||||||
"windows": {
|
|
||||||
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py fullclean",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": [
|
|
||||||
{
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Flash - Flash the device",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} -b ${config:idf.flashBaudRate} flash",
|
|
||||||
"windows": {
|
|
||||||
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py flash -p ${config:idf.portWin} -b ${config:idf.flashBaudRate}",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": [
|
|
||||||
{
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Monitor: Start the monitor",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} monitor",
|
|
||||||
"windows": {
|
|
||||||
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py -p ${config:idf.portWin} monitor",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": [
|
|
||||||
{
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dependsOn": "Flash - Flash the device"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "OpenOCD: Start openOCD",
|
|
||||||
"type": "shell",
|
|
||||||
"presentation": {
|
|
||||||
"echo": true,
|
|
||||||
"reveal": "never",
|
|
||||||
"focus": false,
|
|
||||||
"panel": "new"
|
|
||||||
},
|
|
||||||
"command": "openocd -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}",
|
|
||||||
"windows": {
|
|
||||||
"command": "openocd.exe -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": {
|
|
||||||
"owner": "cpp",
|
|
||||||
"fileLocation": [
|
|
||||||
"autoDetect",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
||||||
"file": 1,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "adapter",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "${config:idf.pythonBinPath}",
|
|
||||||
"isBackground": true,
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH}:${config:idf.customExtraPaths}",
|
|
||||||
"PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"problemMatcher": {
|
|
||||||
"background": {
|
|
||||||
"beginsPattern": "\bDEBUG_ADAPTER_STARTED\b",
|
|
||||||
"endsPattern": "DEBUG_ADAPTER_READY2CONNECT",
|
|
||||||
"activeOnStart": true
|
|
||||||
},
|
|
||||||
"pattern": {
|
|
||||||
"regexp": "(\\d+)-(\\d+)-(\\d+)\\s(\\d+):(\\d+):(\\d+),(\\d+)\\s-(.+)\\s(ERROR)",
|
|
||||||
"file": 8,
|
|
||||||
"line": 2,
|
|
||||||
"column": 3,
|
|
||||||
"severity": 4,
|
|
||||||
"message": 9
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [
|
|
||||||
"${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter_main.py",
|
|
||||||
"-e",
|
|
||||||
"${workspaceFolder}/build/${command:espIdf.getProjectName}.elf",
|
|
||||||
"-s",
|
|
||||||
"$OPENOCD_SCRIPTS",
|
|
||||||
"-dn",
|
|
||||||
"esp32",
|
|
||||||
"-om",
|
|
||||||
"connect_to_instance",
|
|
||||||
"-t",
|
|
||||||
"xtensa-esp32-elf-"
|
|
||||||
|
|
||||||
],
|
|
||||||
"windows": {
|
|
||||||
"command": "${config:idf.pythonBinPathWin}",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"PATH": "${env:PATH};${config:idf.customExtraPaths}",
|
|
||||||
"PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
# The following lines of boilerplate have to be in your project's
|
|
||||||
# CMakeLists in this exact order for cmake to work correctly
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
||||||
project(can-interface)
|
|
||||||
File diff suppressed because one or more lines are too long
BIN
can-interface/README.md
(Stored with Git LFS)
BIN
can-interface/README.md
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/ESP32-DEVKIT-V1.kicad_sym
(Stored with Git LFS)
vendored
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/ESP32-DEVKIT-V1.kicad_sym
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/ESP32-DEVKIT-V1.step
(Stored with Git LFS)
vendored
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/ESP32-DEVKIT-V1.step
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/MODULE_ESP32_DEVKIT_V1.kicad_mod
(Stored with Git LFS)
vendored
BIN
can-interface/circuit/gobot-can-interface/external/ESP32-DEVKIT-V1/MODULE_ESP32_DEVKIT_V1.kicad_mod
(Stored with Git LFS)
vendored
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/#"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/#" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/#">link to the import guide</a>. </body></html>
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_pcb
(Stored with Git LFS)
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_pcb
(Stored with Git LFS)
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_prl
(Stored with Git LFS)
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_prl
(Stored with Git LFS)
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_pro
(Stored with Git LFS)
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_pro
(Stored with Git LFS)
Binary file not shown.
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_sch
(Stored with Git LFS)
BIN
can-interface/circuit/gobot-can-interface/gobot-can-interface.kicad_sch
(Stored with Git LFS)
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
|||||||
(sym_lib_table
|
|
||||||
(version 7)
|
|
||||||
(lib (name "ESP32-DEVKIT-V1")(type "KiCad")(uri "${KIPRJMOD}/external/ESP32-DEVKIT-V1/ESP32-DEVKIT-V1.kicad_sym")(options "")(descr ""))
|
|
||||||
)
|
|
||||||
BIN
can-interface/circuit/i2c-hub/i2c-hub-backups/i2c-hub-2024-12-28_225050.zip
(Stored with Git LFS)
BIN
can-interface/circuit/i2c-hub/i2c-hub-backups/i2c-hub-2024-12-28_225050.zip
(Stored with Git LFS)
Binary file not shown.
BIN
can-interface/circuit/i2c-hub/i2c-hub.kicad_prl
(Stored with Git LFS)
BIN
can-interface/circuit/i2c-hub/i2c-hub.kicad_prl
(Stored with Git LFS)
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user