Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
06bf1c2
made new branch from scratch
mkbielaw Jan 4, 2024
d945ff6
refactor<following>:Apply Ahmeds docker image
mkbielaw Jan 29, 2024
d766930
refactor<>
mkbielaw Jan 30, 2024
a23ea79
refactor<>:Changed back to using CPU
mkbielaw Feb 1, 2024
6c7b0a6
refactor<>:Following based on master branch
mkbielaw Feb 1, 2024
bc1707a
refactor<teleop>:Make commands from following work continuously
mkbielaw Feb 2, 2024
47acffd
feat<teleop>:Added follow button
mkbielaw Feb 2, 2024
0f9bb56
feat<TEL/following>: change the switch button style
Ahelsamahy Feb 2, 2024
7effef3
feat<TEL/following>: add switch on button click
Ahelsamahy Feb 2, 2024
9c5d274
feat<TEL/following>: add tornado handler for front-end post request
Ahelsamahy Feb 2, 2024
4a6c9a0
feat<TEL/following>: add server handler to make call the chatter func…
Ahelsamahy Feb 2, 2024
097b861
feat<docker>: create docker file for following that uses GPU
Ahelsamahy Feb 5, 2024
14f6566
refactor<following>:changed the logic of control commands being sent
mkbielaw Feb 5, 2024
5002584
feat<following>:added button functionality for the follow mode
mkbielaw Feb 5, 2024
3428177
refactor<teleop>:switched the command logic sent by follow button
mkbielaw Feb 5, 2024
966b098
Revert "refactor<teleop>:switched the command logic sent by follow bu…
mkbielaw Feb 5, 2024
8e0738e
refactor<teleop>:Fixed button bug
mkbielaw Feb 6, 2024
d9150e5
feat<teleop>:Continuous control commands from following
mkbielaw Feb 6, 2024
6b7e657
refactor<folllowing>:reduced control values for the test with delay
mkbielaw Feb 6, 2024
623322d
refactor<following>:Changed linear function and min. value of controls
mkbielaw Feb 19, 2024
d3935ab
Refactor<following>:Change control logic and minimal command values
mkbielaw Feb 22, 2024
6434ee4
Refactor<teleop>:Un-reversed the controls
mkbielaw Feb 22, 2024
72be8b5
Refactor<following>:Un-reversed the controls
mkbielaw Feb 22, 2024
5d69075
refactor<teleop/app.py>:Combine SmoothBrakes and Following
OrestisTS Feb 22, 2024
15e1bbc
feat<JS/a_app>:Make following button disappear when triangles are active
OrestisTS Feb 22, 2024
17438b5
refactor<JS/b_following>:Export button to handle it in other files
OrestisTS Feb 22, 2024
8ce7ec7
feat<JS/b_shape_red_rectangle>:Add red rectangles in following
OrestisTS Feb 22, 2024
c6cfdc9
feat<JS/d_pixi/c_logic>:Add 1 triangle and red rectangles in following
OrestisTS Feb 22, 2024
ab643b0
Merge branch 'RFC0008_Following' of https://github.com/Ahelsamahy/BYO…
OrestisTS Feb 22, 2024
ad8f03b
Refactor<following>:Change control logic from fixed values to linear fun
mkbielaw Feb 22, 2024
b55ae26
Refactor<following>:Change following service cpuset in docker-compose
mkbielaw Feb 23, 2024
8046316
refactor<docker-compose.yml>:Place cpu core 3,2 for the service
mkbielaw Feb 25, 2024
62b1f4d
refactor<app/following.py>:Edit the numbers of the linear function
mkbielaw Feb 25, 2024
1afa74b
feat<FOL/dock>: use base image that utilizes GPU
Ahelsamahy Feb 25, 2024
5f24680
refactor<FOL>: Change dir for yolov8.yaml
Ahelsamahy Feb 25, 2024
0b3c9fd
feat<dockerfile>: add docker file that utilizes GPU for Yolov8
Ahelsamahy Feb 27, 2024
773b48a
feat<following>:tracking
mkbielaw Feb 28, 2024
219ec3f
refactor<>:enabled all services
mkbielaw Feb 28, 2024
8ee6cc4
feat<FOL/b_FOL.js>: wrap the switch command function in a class
Ahelsamahy Feb 28, 2024
117a8b3
feat<FOL/b_FOL.js>: create function to change attributes and styles f…
Ahelsamahy Feb 28, 2024
80fc4b9
feat<FOL/a_app.js>: import the togglebutton class and use the styles
Ahelsamahy Feb 28, 2024
04d7520
feat<FOL/a_app.js>: add function to stop FOL on OP interaction
Ahelsamahy Feb 28, 2024
7158fd4
Merge pull request #15 from MWLCDev/RFC0017_SwitchingBetweenFOLandMan…
Ahelsamahy Feb 28, 2024
ca40de1
refactor<>:turned off uncecessary services for local mode
mkbielaw Mar 1, 2024
5caa262
feat<following>:persistent commands during false negatives
mkbielaw Mar 1, 2024
2d16b12
feat<following>:tracking and following the first detection
mkbielaw Mar 1, 2024
1ff8374
refactor<following>:add height reference for control logic
mkbielaw Mar 1, 2024
6ca2e6c
refactor<docker-compose.yml>:Comment unneeded services
OrestisTS Mar 20, 2024
0b4d18f
feat<templates/mobile_controller_ui.html>:Add input fields in the html
OrestisTS Mar 21, 2024
813379f
feat<JS/c_logic.js>:Add functions to hide/show input fields
OrestisTS Mar 21, 2024
3f69b88
feat<JS/d_pixi.js>:Apply hide/show input fields
OrestisTS Mar 21, 2024
96e728d
feat<JS/c_logic.js>:Add listeners, data checkers for input boxes
OrestisTS Mar 21, 2024
b3ad475
feat<templates/mobile_controller_ui.html>:Add input boxes and button
OrestisTS Mar 21, 2024
dfc42c1
refactor<templates/mobile_controller_ui.html>:Change text of speed box
OrestisTS Mar 22, 2024
814864a
feat<JS/c_logic.js>:Send JSON to backend to apply data
OrestisTS Mar 22, 2024
f1901af
feat<JS/a_logic.js>:Show boxes when triangles not in use, and show nums
OrestisTS Mar 22, 2024
042d1c3
feat<JS/c_logic.js>:POST/GET from the backend to get current nums
OrestisTS Mar 22, 2024
1f7f431
refactor<JS/d_pixi.js>:Remove instance of showing boxes
OrestisTS Mar 22, 2024
e1b8587
refactor<templates/mobile_controller_ui.html>:Remake UI for mobile
OrestisTS Mar 22, 2024
724b567
feat<CSS/mobileController.css>:Move CSS code from HTML file to CSS file
OrestisTS Mar 22, 2024
ee5226f
refactor<JS/a,c,d,e.js>:Move functionality to class, add confirm msgs
OrestisTS Mar 22, 2024
bb2d698
refactor<templates/mobile_controller_ui.html>:Link CSS file to HTML file
OrestisTS Mar 22, 2024
91f943c
feat<JS/c_logic.js>:Reinstate confirm text hide/unhide for 3s
OrestisTS Mar 22, 2024
74a4715
Merge branch 'rfc8' into Unified_UI_Changes
OrestisTS Mar 28, 2024
2a39943
refactor
OrestisTS Mar 28, 2024
6651657
Merge branch 'rfc19' into Unified_UI_Changes
OrestisTS Mar 28, 2024
16aebba
refactor
OrestisTS Mar 28, 2024
6968127
Merge branch 'rfc21' into Unified_UI_Changes
OrestisTS Mar 28, 2024
9237fb1
refactor
OrestisTS Mar 28, 2024
ea374e0
feat<following>:added new model to files
mkbielaw Mar 28, 2024
96df91d
refactor<following>:robustness against config changes + logic adjustment
mkbielaw Mar 28, 2024
3687556
refactor<following>:add extra models for testing
mkbielaw Mar 28, 2024
887087e
refactor<>:change ip to 7
mkbielaw Mar 28, 2024
050b31c
refactor<following>:max steering 0.6
mkbielaw Mar 28, 2024
9365988
refactor<>:temp fix for config file error
mkbielaw Apr 3, 2024
c0e5a76
feat<following>:added PID library
mkbielaw Apr 3, 2024
3d6b493
refactor<following>:remove unnecessary files
mkbielaw Apr 3, 2024
6287158
refactor<following>
mkbielaw Apr 4, 2024
d7f806d
Merge remote-tracking branch 'origin/Unified_UI_Changes' into RFC0008…
mkbielaw Apr 4, 2024
fc3b683
refactor<vehicle>:remove double 'tcp'
mkbielaw Apr 4, 2024
468cd37
refactor<following>
mkbielaw Apr 8, 2024
91a0294
refactor<teleop>:quick fix for single segment on Frank
mkbielaw Apr 8, 2024
6fa53a3
refactor<>:removed unecessary services
mkbielaw Apr 8, 2024
bebbb63
refactor<teleop>:quick fix for reverse steering
mkbielaw Apr 8, 2024
cb47af6
refactor<>:change ip to 1
mkbielaw Apr 8, 2024
94d6919
refactor<following>:reducing the max steering above certain throttle
mkbielaw Apr 8, 2024
9f634fb
refactor<following>:dynamically changing the max steering
mkbielaw Apr 8, 2024
04608c8
refactor<following>:best working parameters so far
mkbielaw Apr 9, 2024
69792b4
refactor<following>:slightly faster steering
mkbielaw Apr 9, 2024
aabeb8f
feat<> add deadzone feature
Ahelsamahy Apr 10, 2024
ecf1781
refactor<following>:taking last ID of the list instead of first
mkbielaw Apr 12, 2024
5483e59
Merge branch 'Unified_UI_Changes' into RFC0008_Following
Ahelsamahy Apr 12, 2024
fe9967d
refactor<tel/js> hide autpilot button
Ahelsamahy Apr 12, 2024
cd31390
refactor<following>:more coherent logs
mkbielaw Apr 12, 2024
7646fef
refactor<fol> send command from fol publisher
Ahelsamahy Apr 15, 2024
bffc32b
feat<fol/html> hide inf button
Ahelsamahy Apr 15, 2024
f95b721
feat<following>:Save state of button after refreshing page
mkbielaw Apr 19, 2024
374624f
feat<following>:Dynamic IP for Following
mkbielaw Apr 19, 2024
a3dafd9
feat<following>:Safety measures and refactoring
mkbielaw Apr 19, 2024
44f9a87
Merge branch 'RFC0008_Following' of https://github.com/Ahelsamahy/BYO…
mkbielaw Apr 19, 2024
3fed80d
refactor<following>:no max detections and bigger min conf
mkbielaw Apr 22, 2024
2d08685
refactor<following>:sending button_b=0 in placeholder messages
mkbielaw Apr 22, 2024
e2aeba5
refactor<following>:Bbox values for inference angle
mkbielaw Apr 22, 2024
dd30dd8
refactor<following>:bigger safe distance, AI angle
mkbielaw Apr 22, 2024
0d002ce
feat<following>:top camera following
mkbielaw Apr 23, 2024
2c285f2
refactor<following>: AI angle
mkbielaw Apr 24, 2024
e705504
Merge branch 'master' into RFC0008_Following
mkbielaw Apr 24, 2024
00dc10a
refactor<>:training session saving fix
mkbielaw Apr 24, 2024
8338b45
refactor<following>:Increased distance from the user
mkbielaw Apr 26, 2024
b452417
refactor<following>:max top angle
mkbielaw Apr 26, 2024
3e62881
feat<docker-compose> add service for stream2
Ahelsamahy Apr 30, 2024
b7455ab
feat<docker-compose> add dynamic forth octet for each stream
Ahelsamahy Apr 30, 2024
bc63fab
refactor<camera.template> remove comments
Ahelsamahy Apr 30, 2024
b4bffe8
feat<stream> remove the main if condition for file check and added ar…
Ahelsamahy Apr 30, 2024
14e891c
feat<stream> add ip_ending in change_segment_config func
Ahelsamahy Apr 30, 2024
b5ebcda
doc<docker-compose>
Ahelsamahy Apr 30, 2024
a149ee3
refactor<following>:Third camera
mkbielaw Apr 30, 2024
a0f8c3d
refactor<teleop>:un-reverse steering
mkbielaw May 1, 2024
c091d4b
refactor<following>:using classes and functions :)
mkbielaw May 1, 2024
4706efb
feat<following>:Smooth increase of throttle and steering
mkbielaw May 1, 2024
0f2bf67
refactor<following>: Turning from center and max steering increased
mkbielaw May 2, 2024
17231e7
refactor<following>:Smoothing by a fixed number
mkbielaw May 2, 2024
cab82a7
refactor<following>: Classes, functions and comments
mkbielaw May 2, 2024
e2e09b2
feat<fol> use refactored code from fol main branch
Ahelsamahy May 2, 2024
86f0ced
feat<tel/js> add canvas to show the stream
Ahelsamahy May 2, 2024
1cccad0
feat<tel/js> add state holder for fol button
Ahelsamahy May 2, 2024
03c6ad3
feat<tel/js> add third state for received command
Ahelsamahy May 2, 2024
66e4db1
feat<tel/js> do not resize the triangle when following is working
Ahelsamahy May 2, 2024
099b0c9
refactor<tel> change fol btn id tag
Ahelsamahy May 2, 2024
dfed169
feat<tel> add backend to serve the generated image from fol
Ahelsamahy May 2, 2024
22b0234
refactor<following>:No smooth steering
mkbielaw May 2, 2024
5e44f1a
feat<tel/css> add styles for the canvas
Ahelsamahy May 2, 2024
cfa9a04
Refactor<following>:Bottom camera after refactor
mkbielaw May 3, 2024
a406a55
refactor<following>:No checking height/width ratio
mkbielaw May 3, 2024
1054762
refactor<following>:max steering at max throttle reduced to 20% from 40%
mkbielaw May 3, 2024
66df489
refactor<following>: Top camera, smaller distance when following
mkbielaw May 3, 2024
608467c
feat<following>:Faster yolo model
mkbielaw May 8, 2024
523f520
feat<following>:additional model
mkbielaw May 10, 2024
dbb8375
refactor<following>:Updated models
mkbielaw May 15, 2024
563f8be
refactor<following>:Added different stages of turning the robot
mkbielaw May 15, 2024
efdaa79
refactor<following>
mkbielaw May 17, 2024
a2d7b47
refactor<docker-compose> remove stream for middle camera
Ahelsamahy May 17, 2024
5e7a865
feat<tel/tel_utils> add class to send camera commands
Ahelsamahy May 17, 2024
7a5f6c2
feat<fol> add extra key in sent json to tel
Ahelsamahy May 17, 2024
301cf29
feat<tel> add handler for the received pan from fol
Ahelsamahy May 17, 2024
ac83d3a
feat<fol> add use case for getting camera pan from tel
Ahelsamahy May 17, 2024
b0c7fce
feat<tel> broadcast lower camera's pan while following is working
Ahelsamahy May 17, 2024
0a51266
refactor<teleop>:following request logger
mkbielaw May 22, 2024
ff6abaa
Following with camera movement
mkbielaw May 27, 2024
045e70a
feature<fol>:request thread
mkbielaw May 28, 2024
b00dd91
feat<fol>:starting detection with a thread
mkbielaw May 28, 2024
090f836
refactor<fol>:slowing down the sending and receiving of requests
mkbielaw May 29, 2024
6590078
refactor<tel>:sending multiple requests when the button is pressed
mkbielaw May 29, 2024
a511b17
refactor:optimized teleop and following
mkbielaw May 29, 2024
609416c
refactor<tel> switch from while to if check in state of FOL
Ahelsamahy May 29, 2024
a6349ba
feat<tel/docker> add py--spy in pip
Ahelsamahy May 29, 2024
2eb4ac5
refactor<tel>:separate thread for camera controls
mkbielaw May 29, 2024
fc7a168
refactor<fol>:waiting for 10s if button is pressed before model loaded
mkbielaw May 29, 2024
efe2e72
Merge branch 'CameraMovementFollowing' of https://github.com/Ahelsama…
mkbielaw May 29, 2024
88aa76a
refactor<fol>
mkbielaw May 29, 2024
e4c5c78
Merge branch 'master' into CameraMovementFollowing
mkbielaw May 29, 2024
d9154d3
refactor<fol>:no camera movement
mkbielaw May 30, 2024
f07c605
refactor<fol>:no need to start checking requests before model is loaded
mkbielaw May 30, 2024
922e9e4
Feature<>:Moving wheels in opposite direction
mkbielaw Jun 5, 2024
bb3d87d
feat<following>: Spinning and camera movement while following
mkbielaw Jun 5, 2024
7166673
feat<following>:Added .engine model file
mkbielaw Jun 7, 2024
c852d67
refactor<following>: reduced camera movement duration
mkbielaw Jun 7, 2024
6e3337b
feat<following>:Camera movement following
mkbielaw Jun 7, 2024
ce61a2d
Merge branch 'master' into CameraMovementFollowing
mkbielaw Jun 7, 2024
7cb7fe5
refactor<following>: throttle function values comment
mkbielaw Jun 7, 2024
173ef8d
refactor<docker-compose> unhide the other services
Ahelsamahy Jun 7, 2024
9bec0cb
feat<fol> create empty fol_utils file
Ahelsamahy Jun 7, 2024
2ef329c
refactor<tel> remove unused functions
Ahelsamahy Jun 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added archived/.DS_Store
Binary file not shown.
Binary file added common/.DS_Store
Binary file not shown.
40 changes: 13 additions & 27 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ services:
- CAP_SYS_RAWIO
volumes:
- volume_zerotier_config:/var/lib/zerotier-one:rw
wireguard:
cpuset: '0'
image: masipcat/wireguard-go
container_name: wireguard
restart: always
network_mode: host
devices:
- '/dev/net/tun'
cap_add:
- SYS_ADMIN
- NET_ADMIN
- CAP_SYS_RAWIO
volumes:
- volume_wireguard_config:/etc/wireguard:rw
httpd:
cpuset: '0'
build:
Expand All @@ -61,18 +47,6 @@ services:
volumes:
- volume_ftpd_config:/etc/pureftpd:rw
- volume_byodr_sessions:/home/ftpuser:rw
rosnode:
cpuset: '0'
build:
context: .
dockerfile: rosnode/Dockerfile
restart: always
command: ['python3', 'app.py', '--name', 'rosnode']
network_mode: host
stop_signal: SIGKILL
volumes:
- volume_byodr_sockets:/byodr:rw
- volume_byodr_config:/config:ro
mongodb:
cpuset: '0'
build:
Expand Down Expand Up @@ -116,7 +90,7 @@ services:
- volume_byodr_sockets:/byodr:rw
- volume_byodr_config:/config:rw
pilot:
cpuset: '2'
cpuset: '1'
build:
context: .
dockerfile: pilot/Dockerfile
Expand Down Expand Up @@ -145,3 +119,15 @@ services:
volumes:
- volume_byodr_sockets:/byodr:rw
- volume_byodr_config:/config:ro
following:
cpuset: '3,2'
build:
context: .
dockerfile: following/Dockerfile
restart: always
privileged: true
network_mode: host
stop_signal: SIGKILL
volumes:
- volume_byodr_sockets:/byodr:rw
- volume_byodr_config:/config:rw
71 changes: 71 additions & 0 deletions docker/bionic-torch1.10-py36-cuda10.2.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# This pytorch version is strictly built with cp36. I did try to have a cp310 version
# [torch-1.10.0-cp39-cp39-manylinux2014_aarch64.whl](https://files.pythonhosted.org/packages/03/f6/67e0ef29a03fd1cf585bdec03eb3aaf9f00498474f5c7b59f83d9779a7f1/torch-1.10.0-cp39-cp39-manylinux2014_aarch64.whl) but it didn't work with CUDA.

# Some links I used while making this image
# find supported versions between pytorch and torchvision => https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-pytorch
# https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048
# https://developer.nvidia.com/embedded/jetson-linux-archive
# Supported OS to run CUDA => https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu (most of the other OS do not have optimized version with Balena os)
# Download wheel version for pytorch (in case of updating) => https://download.pytorch.org/whl/torch/
# find optimized builds made for Nano on Balena => Nvidia Jetson Nano SD-CARD in https://docs.balena.io/reference/base-images/base-images-ref/
# numpy build https://gitlab.com/pdboef/tensorrt-balena/-/blob/master/Dockerfile.tensorrt and https://github.com/zrzka/python-wheel-aarch64/releases
# for tensorflow https://gitlab.com/pdboef/tensorrt-balena/-/tree/master from https://forums.balena.io/t/jetson-nano-image-with-tensorrt-for-python-projects/19272
# main optimized blena docker image => https://github.com/balena-io-library/base-images/blob/master/balena-base-images/device-base/jetson-nano/ubuntu/bionic/run/Dockerfile
# the python optimized image =>https://github.com/balena-io-library/base-images/blob/master/balena-base-images/python/jetson-nano/ubuntu/bionic/3.9.16/run/Dockerfile

#Images to switch between
# FROM balenalib/jetson-nano-ubuntu-python:bionic
# FROM balenalib/jetson-nano-ubuntu-python:3.6-bionic-run

# Image name : jetson-nano-torch1.10-py36-cuda10.2
# FROM balenalib/jetson-nano-ubuntu:bionic
FROM balenalib/jetson-nano-ubuntu:bionic

# Combine ENV statements and don't prompt with any configuration questions
ENV DEBIAN_FRONTEND=noninteractive \
CUDA_HOME=/usr/local/cuda-10.2 \
UDEV=1

# Update to 32.7 repository, add Universe repository, and install required packages
RUN sed -i 's/r32.6 main/r32.7 main/g' /etc/apt/sources.list.d/nvidia.list && \
apt-get update -qq && \
apt-get install -y --no-install-recommends software-properties-common && \
add-apt-repository universe && \
apt-get install -y --no-install-recommends lbzip2 git wget unzip jq xorg tar python3 libegl1 binutils \
python3-gi python3-dev python3-gst-1.0 python3-pip \
nvidia-l4t-cuda nvidia-cuda libopenmpi-dev cuda-toolkit-10-2 \
cuda-samples-10-2 libcudnn8 libopenblas-base libomp-dev python3-zmq

# Clean up in a separate RUN command to enforce your requirement
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /usr/local/cuda-10.2/doc

RUN pip3 install --upgrade pip --quiet

# Install BSP binaries for L4T 32.7.2 if they don't exist and perform cleanup
RUN if [ ! -f jetson-210_linux_r32.7.2_aarch64.tbz2 ]; then \
wget -q https://developer.nvidia.com/embedded/l4t/r32_release_v7.2/t210/jetson-210_linux_r32.7.2_aarch64.tbz2; \
fi && \
if [ -f jetson-210_linux_r32.7.2_aarch64.tbz2 ]; then \
tar xf jetson-210_linux_r32.7.2_aarch64.tbz2 && \
cd Linux_for_Tegra && \
sed -i 's/config.tbz2\"/config.tbz2\" --exclude=etc\/hosts --exclude=etc\/hostname/g' apply_binaries.sh && \
sed -i 's/install --owner=root --group=root \"${QEMU_BIN}\" \"${L4T_ROOTFS_DIR}\/usr\/bin\/\"/#install --owner=root --group=root \"${QEMU_BIN}\" \"${L4T_ROOTFS_DIR}\/usr\/bin\/\"/g' nv_tegra/nv-apply-debs.sh && \
sed -i 's/chroot . \// /g' nv_tegra/nv-apply-debs.sh && \
./apply_binaries.sh -r / --target-overlay && cd .. && \
rm -rf jetson-210_linux_r32.7.2_aarch64.tbz2 Linux_for_Tegra; \
fi && \
echo "/usr/lib/aarch64-linux-gnu/tegra" > /etc/ld.so.conf.d/nvidia-tegra.conf && ldconfig

# PyTorch installation with quiet flag to suppress progress output
ARG PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl
ARG PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl
RUN wget -q --no-check-certificate ${PYTORCH_URL} -O ${PYTORCH_WHL} && \
pip3 install ${PYTORCH_WHL} --quiet && \
rm ${PYTORCH_WHL}

# Numpy installation with quiet flag
ARG WHL_URL_PREFIX=https://github.com/zrzka/python-wheel-aarch64/releases/download/jetson-nano-1.1
RUN curl -LO ${WHL_URL_PREFIX}/numpy-1.16.4-cp36-cp36m-linux_aarch64.whl && \
python3 -m pip install numpy-1.16.4-cp36-cp36m-linux_aarch64.whl --quiet && \
rm numpy-1.16.4-cp36-cp36m-linux_aarch64.whl
49 changes: 49 additions & 0 deletions docker/bionic-torch1.11-cp38-cuda10.2.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Files inside yolo config directory will be referred to as /workspace/ultralytics/ultralytics/cfg/models/v8/
# building command ==> docker buildx build --platform linux/arm64,linux/amd64 -t mwlvdev/jetson-nano-ubuntu:bionic-torch1.10-cp38-cuda10.2 . --push
# Start from the base image
FROM balenalib/jetson-nano-ubuntu:bionic

# Environment variables for non-interactive installation and path configuration
ENV DEBIAN_FRONTEND noninteractive
ENV PATH="/workspace/ultralytics/venv/bin:$PATH"

# Add Kitware GPG key to avoid errors on apt-get update
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1A127079A92F09ED

# Add Kitware GPG key, update sources list for Nvidia, and install dependencies
RUN apt-get update && \
# Update to 32.7 repository in case the base image is using 32.6
sed -i 's/r32.6 main/r32.7 main/g' /etc/apt/sources.list.d/nvidia.list && \
apt-get install -y --no-install-recommends cuda-toolkit-10-2 cuda-samples-10-2 libcudnn8 lbzip2 xorg wget tar libegl1 git \
python3.8 python3.8-venv python3.8-dev python3-pip \
libopenmpi-dev libomp-dev libopenblas-dev libblas-dev libeigen3-dev libcublas-dev && \
# Clean up
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Download and install BSP binaries for L4T 32.7.2, and perform configurations
RUN wget https://developer.nvidia.com/embedded/l4t/r32_release_v7.2/t210/jetson-210_linux_r32.7.2_aarch64.tbz2 && \
tar xf jetson-210_linux_r32.7.2_aarch64.tbz2 && \
cd Linux_for_Tegra && \
sed -i 's/config.tbz2\"/config.tbz2\" --exclude=etc\/hosts --exclude=etc\/hostname/g' apply_binaries.sh && \
sed -i 's/install --owner=root --group=root \"${QEMU_BIN}\" \"${L4T_ROOTFS_DIR}\/usr\/bin\/\"/#install --owner=root --group=root \"${QEMU_BIN}\" \"${L4T_ROOTFS_DIR}\/usr\/bin\/\"/g' nv_tegra/nv-apply-debs.sh && \
sed -i 's/chroot . \// /g' nv_tegra/nv-apply-debs.sh && \
./apply_binaries.sh -r / --target-overlay && cd .. && \
rm -rf jetson-210_linux_r32.7.2_aarch64.tbz2 Linux_for_Tegra && \
echo "/usr/lib/aarch64-linux-gnu/tegra" > /etc/ld.so.conf.d/nvidia-tegra.conf && ldconfig

# Setup the working environment
WORKDIR /workspace

# Clone the YOLOv8 repository and setup Python environment
RUN git clone https://github.com/ultralytics/ultralytics.git && \
cd ultralytics && \
python3.8 -m venv venv && \
pip install -U pip wheel gdown && \
# Download pre-built PyTorch and TorchVision packages and install
gdown https://drive.google.com/uc?id=1hs9HM0XJ2LPFghcn7ZMOs5qu5HexPXwM && \
gdown https://drive.google.com/uc?id=1m0d8ruUY8RvCP9eVjZw4Nc8LAwM8yuGV && \
pip install torch-*.whl torchvision-*.whl && \
rm torch-*.whl torchvision-*.whl && \
# Install the Python package for YOLOv8
pip install .
Binary file removed docs/img/autopilot/ambiguous_corridor.png
Binary file not shown.
Binary file removed docs/img/autopilot/blocked_passage.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/img/autopilot/browser_route_pause.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/browser_route_selector1.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/browser_route_start.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/corridor_average.png
Binary file not shown.
Binary file removed docs/img/autopilot/corridor_crossing.png
Binary file not shown.
Binary file removed docs/img/autopilot/corridor_merge.png
Binary file not shown.
Binary file removed docs/img/autopilot/double_crossing.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/img/autopilot/filezilla_newroutes.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/filezilla_robot_side.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/json_30_startrampup.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/json_50_endrampup.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/json_80_stopbeforedown.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/labyrinth.png
Binary file not shown.
Binary file removed docs/img/autopilot/labyrinth2.png
Binary file not shown.
Binary file removed docs/img/autopilot/max_speed_zero.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/navigationpoint_choice.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/navigationpointpictures.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/ros2_node_name_setting.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/rover_front.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/rover_frontOud.jpg
Binary file not shown.
Binary file removed docs/img/autopilot/two_junctions.png
Binary file not shown.
Binary file removed docs/img/autopilot/uncertain.png
Diff not rendered.
Binary file removed docs/img/controller/cert_20lockiconclicked.jpg
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed docs/img/controller/cert_55trustopen.jpg
Diff not rendered.
Binary file removed docs/img/controller/dash_center_autopilot.png
Diff not rendered.
Binary file removed docs/img/controller/dash_center_black.png
Diff not rendered.
Binary file removed docs/img/controller/dash_center_blue.png
Diff not rendered.
Binary file removed docs/img/controller/dash_center_red.png
Diff not rendered.
Binary file removed docs/img/controller/dash_center_teleop.png
Diff not rendered.
Binary file removed docs/img/controller/msg_another_user_in_control.png
Diff not rendered.
Binary file removed docs/img/controller/msg_connection_lost.png
Diff not rendered.
Binary file removed docs/img/controller/msg_controller_not_detected.png
Diff not rendered.
Binary file removed docs/img/controller/ps4_autopilot.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_autopilot_overrule.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_camera.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_cameraOud.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_forward_backward.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_forward_backwardOud.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_overview.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_reverse_gear.jpg
Diff not rendered.
Binary file removed docs/img/controller/ps4_teleop.jpg
Diff not rendered.
Binary file removed docs/img/controller/teleop_feedback.jpg
Diff not rendered.
Binary file removed docs/img/controller/turn_left.png
Diff not rendered.
Binary file removed docs/img/controller/turn_right.png
Diff not rendered.
Binary file removed docs/img/controller/turn_straight.png
Diff not rendered.
Binary file removed docs/img/controller/ui_menu_options.png
Diff not rendered.
Binary file removed docs/img/controller/ui_overview.jpg
Diff not rendered.
Binary file removed docs/img/controller/ui_overviewOud.jpg
Diff not rendered.
Binary file removed docs/img/controller/wheel_black.png
Diff not rendered.
Binary file removed docs/img/controller/wheel_blue_speed.png
Diff not rendered.
Binary file removed docs/img/controller/wheel_red.png
Diff not rendered.
Binary file removed docs/img/controller/wheel_red_speed.png
Diff not rendered.
Binary file removed docs/img/controller/xbox_white.png
Diff not rendered.
Binary file removed docs/img/drawings/ZZ_Archief/img204400v09.jpg
Diff not rendered.
Binary file removed docs/img/drawings/ZZ_Archief/img206000P1v018.jpg
Diff not rendered.
Binary file removed docs/img/drawings/ZZ_Archief/img206000P1v019.jpg
Diff not rendered.
Binary file removed docs/img/drawings/ZZ_Archief/img206000P2v018.jpg
Diff not rendered.
Binary file removed docs/img/drawings/ZZ_Archief/img206000P2v019.jpg
Diff not rendered.
Binary file removed docs/img/drawings/img204400v011.jpg
Diff not rendered.
Binary file removed docs/img/drawings/img206012v021.jpg
Diff not rendered.
Binary file removed docs/img/drawings/img206020v022.jpg
Diff not rendered.
Binary file removed docs/img/drawings/img208000v07.jpg
Diff not rendered.
Binary file removed docs/img/index/rover_garden.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204110.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204120.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204215.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204405.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204415.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img204425.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206120.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206230.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206235.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206245.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206275.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206310.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206315.jpg
Diff not rendered.
Binary file removed docs/img/instructions/img206510.jpg
Diff not rendered.
Binary file removed docs/img/readme/hover_vid.jpg
Diff not rendered.
Binary file removed docs/img/readme/rover_front_small.jpg
Diff not rendered.
Binary file removed docs/img/startup/managed_ip.png
Diff not rendered.
Binary file removed docs/img/zerotier/client_application_menu.png
Diff not rendered.
Binary file removed docs/img/zerotier/enter_network_id.png
Diff not rendered.
Binary file removed docs/img/zerotier/hub_menu.png
Diff not rendered.
Binary file removed docs/img/zerotier/hub_network_members.png
Diff not rendered.
Binary file removed docs/img/zerotier/hub_overview_small.png
Diff not rendered.
Binary file removed docs/img/zerotier/login_email_password.png
Diff not rendered.
Binary file removed docs/img/zerotier/login_to_zerotier.png
Diff not rendered.
Binary file removed docs/img/zerotier/manually_add_member.png
Diff not rendered.
Binary file removed docs/img/zerotier/network_id_and_name.png
Diff not rendered.
Binary file removed docs/img/zerotier/your_networks.png
Diff not rendered.
Loading