# EVT Camera Driver Example Software

Source: https://forum.modalai.com/topic/498/evt-camera-driver-example-software
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: rb5
Posted: 2021-10-14 17:34:09 UTC by mrawding
Replies: 3 · Views: 1339

## mrawding · 2021-10-14 17:34:09 UTC

Hello,

I am trying to spin up a ROS2 node to run the single camera on the EVT board. Are there any software packages and/or source code available to interface with the single camera on the EVT?

## Reply by modaltb (ModalAI staff) · 2021-10-18 21:03:01 UTC

Hi @mrawding ,

Not much just right now but in the next week or two we'll have some public facing camera code up.

-Travis

## Reply by mrawding · 2021-11-16 19:30:38 UTC

Hi Travis,

Any update on the public facing code? It would be great if there is a gstreamer example on how to interface with the /dev/rb5-camera* pipes and get the frame data. 

From what I gathered, it looks like the rb5-camera-server is using the camx API + gstreamer instead of HAL3 and Camera3 API like it does on the voxl.

## Reply by modaltb (ModalAI staff) · 2021-11-17 18:35:24 UTC (in reply to mrawding)

Hi @mrawding ,

The current early release on the EVT hardware relies on gstreamer....  for example:

```
cd /data/misc/camera
rm *

gst-launch-1.0 -e qtiqmmfsrc camera=0 name=tracker ! video/x-h264,format=NV12,width=640,height=480,framerate=30/1 ! queue ! h264parse ! avdec_h264 ! videoconvert ! pngenc ! multifilesink enable-last-sample=false location="/data/misc/camera/cam0_img_%d_.png"
```

This will save images to the path specified.  We're actively working on getting the same interfacing as VOXL up on this ;).  Next few weeks should have some good PUBLIC REPO updates.
