Skip to content

Add traffic sign launch file #411

Add traffic sign launch file

Add traffic sign launch file #411

Triggered via pull request March 1, 2024 01:42
Status Cancelled
Total duration 6m 36s
Artifacts

build_and_unitest.yml

on: pull_request
Setup environment
29s
Setup environment
Matrix: Build Image and Run Unit Testing Suite
Confirm Build and Unit Tests Completed
0s
Confirm Build and Unit Tests Completed
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 notices
src/perception/camera_object_detection/camera_object_detection/yolov8_detection.py#L50
self.compressed = self.get_parameter("compressed").value self.crop_mode = self.get_parameter("crop_mode").value self.save_detections = bool(self.get_parameter("save_detections").value) - self.counter = 0 # For saving detections + self.counter = 0 # For saving detections if self.save_detections: if not os.path.exists("detections"): os.makedirs("detections")
src/perception/camera_object_detection/camera_object_detection/yolov8_detection.py#L68
depth=10, ), ) - + self.orig_image_width = None self.orig_image_height = None
src/perception/camera_object_detection/camera_object_detection/yolov8_detection.py#L128
Returns: list: A list containing the bounding box coordinates in the format [x1, y1, w1, h1] in the original image frame. - + """ width_scale = self.orig_image_width / self.image_size height_scale = self.orig_image_height / self.image_size
src/perception/camera_object_detection/camera_object_detection/yolov8_detection.py#L295
feed = "" self.publish_vis(annotated_img, msg, feed) self.publish_detections(detections, msg, feed) - + if self.save_detections: cv2.imwrite(f"detections/{self.counter}.jpg", annotated_img) self.counter += 1
src/perception/camera_object_detection/launch/traffic_signs_launch.py#L2
from launch_ros.actions import Node from ament_index_python.packages import get_package_share_directory import os + def generate_launch_description(): ld = LaunchDescription()
src/perception/camera_object_detection/launch/traffic_signs_launch.py#L22
# finalize ld.add_action(camera_object_detection_node) - return ld \ No newline at end of file + return ld
Build Image and Run Unit Testing Suite (perception, camera_object_detection)
Canceling since a higher priority waiting request for 'camera_object_detection-Build and Test Monorepo-refs/pull/83/merge' exists
Setup environment
Detected infrastructure changes
Setup environment
Using mkchiu-traffic_sign_detection as the source branch
Setup environment
Using main as the target branch