-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* renaming yolov8_ros to yolo_ros * README fixes * yolo-world added * label is class_name * new inference params - iou - imgsz_height - imgsz_width - half - max_det - augment - agnostic_nms - retina_masks * yolo-base.launch.py renamed to yolo.launch.py * ultralytics upgraded * dockerfile created * dockerfile fixed * github actions for ci * workflow for github actions * formatting fixes * github actions ci fixed * black formatter * ci fixes * ci fixes * --diff added to rickstaa/action-black@v1 * lgeiger/black-action@master * python_formatter * docker readme fixed * minor fix in ci.yml * CI name fixed
- Loading branch information
Showing
53 changed files
with
1,249 additions
and
935 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CI with Formatting Check and Docker Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
python_formatter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Black Formatter | ||
uses: lgeiger/black-action@master | ||
with: | ||
args: ". --check --diff" | ||
|
||
docker_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Build Docker | ||
uses: docker/build-push-action@v6 | ||
with: | ||
push: false |
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,3 +1,2 @@ | ||
.vscode | ||
__pycache__ | ||
yolov8m-seg.pt |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG ROS_DISTRO=humble | ||
FROM ros:${ROS_DISTRO} AS deps | ||
|
||
# Create ros2_ws and copy files | ||
WORKDIR /root/ros2_ws | ||
SHELL ["/bin/bash", "-c"] | ||
COPY . /root/ros2_ws/src | ||
|
||
# Install dependencies | ||
RUN apt-get update \ | ||
&& apt-get -y --quiet --no-install-recommends install \ | ||
gcc \ | ||
git \ | ||
python3 \ | ||
python3-pip | ||
RUN pip3 install -r src/requirements.txt | ||
RUN rosdep install --from-paths src --ignore-src -r -y | ||
RUN pip3 install sphinx==8.0.0 sphinx-rtd-theme==3.0.0 | ||
|
||
# Colcon the ws | ||
FROM deps AS builder | ||
ARG CMAKE_BUILD_TYPE=Release | ||
RUN source /opt/ros/${ROS_DISTRO}/setup.bash && colcon build | ||
|
||
# Source the ROS2 setup file | ||
RUN echo "source /root/ros2_ws/install/setup.bash" >> ~/.bashrc | ||
|
||
# Run a default command, e.g., starting a bash shell | ||
CMD ["bash"] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
opencv-python==4.8.1.78 | ||
opencv-python>=4.8.1.78 | ||
typing-extensions>=4.4.0 | ||
ultralytics==8.3.3 | ||
ultralytics==8.3.18 | ||
super-gradients==3.7.1 | ||
lap==0.4.0 |
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.