Hi Axelera Community,
Has anyone here successfully run the Axelera Voyager SDK with ROS 2? I’m currently working on integrating the video_infer
node with ROS 2 and would really appreciate hearing from anyone who has tried this setup.
My Setup:
-
Hardware: Aetina board
-
SDK Version:
voyager-sdk v1.2.5
-
ROS 2: Humble (on Ubuntu 22.04)
-
Python: 3.10 (using a virtual environment)
-
Model Used:
yolov5s-v7-coco
Inference Server:
python3 inference_server.py yolov5s-v7-coco none --port 50051 --no-display
ROS 2 Node:
ros2 run axelera_infer video_infer
What’s Working:
-
The inference server starts successfully and shows:
Server started, listening on 50051 INFO : Using device metis-0:1:0
-
The ROS2 node launches and shows:
oINFO] Fvideo_infer_node]: Starting video inference node... .INFO] Fvideo_infer_node]: Sending inference request... .INFO] Fvideo_infer_node]: StreamInfer started successfully
-
No errors are thrown on either side.
Problem:
-
The stream only seems to run a few frames:
Stream Playing: 71%|████████████████████████████████████▍ | 5/7
-
I get a warning:
WARNING : pyglet could not access the display, OpenGL is not available: No standard config is available.
-
No output is displayed or saved. There’s no way to confirm if detections are actually being performed.
My Questions:
-
Has anyone successfully used ROS2 with the Voyager SDK?
-
How can I view or log the inference output from
video_infer
(e.g., bounding boxes, confidence, labels)? -
Is there a clean way to enable display or save visual results in a headless environment?
-
Any tips on modifying the code to dump detection data to file or annotate frames using OpenCV?
Would love to hear from anyone who's tried this or has suggestions.
Thanks in advance!
– Saiteja Jampula