Integrating HailoRT on DonkeyCar

Hey,

I’m a UCSD student working on a project using DonkeyCar and an RPI. I trained a self-driving model on my car and converted that model to a .hef file. I am trying to integrate HailoRT into the drive function of donkeycars manage.py, which is currently set to use .h5/.tflite models generally.

How could I go about doing this?

Hey @user136,

Welcome to the Hailo Community!

I recommend this Async Python API: Hailo-Application-Code-Examples/runtime/python/utils.py at main · hailo-ai/Hailo-Application-Code-Examples · GitHub

You can see how it’s used here:

If you prefer something more built-in that uses GStreamer and pipeline-based approaches, please check out our examples here: