# voxl-camera-server only finds 5 out of 6 cameras

Source: https://forum.modalai.com/topic/2194/voxl-camera-server-only-finds-5-out-of-6-cameras
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: rb5
Posted: 2023-05-25 12:48:51 UTC by Martin Brandt
Replies: 9 · Views: 1798

## Martin Brandt · 2023-05-25 12:48:51 UTC

Hi, we have an issue with running the voxl-camera-server on the RB5 Flight on voxl for RB5 version 0.9.5. The voxl-camera-server only finds 5 cameras, and running with the -s parameter we get all 5 feeds in the voxl portal, specifically the front left stereo camera is missing. We have inspected the ribbon connectors for anything loose but not found anything.
Running voxl-camera-server with stereo only or tracking only it runs, but not with stereo+tracking or only hi-res (using config files from running voxl-configure-cameras). And running stereo only we do not get the two stereo camera feeds, but rather the front right stereo camera and the tracking camera feeds in voxl portal. Does this hint at a hardware problem? Do you have any further debugging tips?

```
rb5:~$ voxl-camera-server -d1
existing instance of voxl-camera-server found, attempting to stop it
------ voxl-camera-server: Starting camera server
Attempting to open the hal module
SUCCESS: Camera module opened on attempt 0
----------- Number of cameras: 5

Cam idx: 0, Cam slot: 1, Slave Address: 0x00E4, Sensor Id: 0x7750
Cam idx: 1, Cam slot: 2, Slave Address: 0x00C0, Sensor Id: 0x7750
Cam idx: 2, Cam slot: 3, Slave Address: 0x0020, Sensor Id: 0x0214
Cam idx: 3, Cam slot: 4, Slave Address: 0x00E2, Sensor Id: 0x7750
Cam idx: 4, Cam slot: 5, Slave Address: 0x00E4, Sensor Id: 0x7750

```

## Reply by tom (ModalAI staff) · 2023-05-25 16:27:07 UTC

@Martin-Brandt Can you do `voxl-camera-server -l`

## Reply by Martin Brandt · 2023-05-26 06:36:35 UTC

```
rb5:/$ voxl-camera-server -l
Attempting to open the hal module
SUCCESS: Camera module opened on attempt 0
Aborted
```

It aborts. However, with the `-s` parameter we get

```
rb5:/$ voxl-camera-server -s
existing instance of voxl-camera-server found, attempting to stop it
Assuming type: OV7251 for camera 0
Assuming type: OV7251 for camera 1
Assuming type: IMX214 for camera 2
Assuming type: OV7251 for camera 3
Assuming type: OV7251 for camera 4

------ voxl-camera-server: Camera server is now running
^C
received SIGINT Ctrl-C

------ voxl-camera-server INFO: Camera server is now stopping
WARNING: Deleting buffers: 1124073472 of 1124073488 still in use

Segmentation fault:
Fault thread: voxl-camera-ser(tid: 2835)
Segmentation fault
```

where it finds 5 of the cameras.

## Reply by Martin Brandt · 2023-06-05 08:39:13 UTC (in reply to tom)

@tom ^ Forgot to tag

## Reply by tom (ModalAI staff) · 2023-06-06 16:57:21 UTC

@Martin-Brandt If you run `voxl-camera-server -s` and open voxl-portal, are you able to see which camera isn't enumerating?

## Reply by Martin Brandt · 2023-06-07 07:27:34 UTC (in reply to tom)

@tom Yes, the front left stereo camera is not seen in voxl-portal, the rest are there.

## Reply by tom (ModalAI staff) · 2023-06-07 17:09:34 UTC

@Martin-Brandt There's likely a hardware issue with that sensor, I would check for tears or too extreme of bends in that camera flex.

## Reply by Martin Brandt · 2023-06-08 09:07:20 UTC (in reply to tom)

@tom We already opened up the flight deck and did not see any tears or folds in the cable. The drone has not done any real flights yet, only a couple 30s indoor flight tests. So it is more or less straight from the factory (it was, however, bought in late 2021).

## Reply by Martin Brandt · 2023-06-22 06:51:54 UTC (in reply to tom)

@tom Hi, any further debugging tips on this? If not we will send an RMA.

## Reply by tom (ModalAI staff) · 2023-06-22 16:11:56 UTC (in reply to Martin Brandt)

@Martin-Brandt Starting the RMA process is probably the best option as opening it up yourself risks damaging other components
