Error starting camera: tof
-
@Alex-Gardner
Hi,I am getting an error while running voxl-camera-server it's not getting connected to TOF camera, the output is shown below.
voxl:/$ voxl-camera-server WARNING Failed to set priority, errno = 1 This may be because the FIFO scheduler is not available when running in a console. It should work properly when run as a systemd background process on boot. WARNING: failed to set scheduler ------ voxl-camera-server: Starting camera server Started Camera: tracking Started Camera: stereo ERROR: Invalid Preview Format! Encountered error starting camera: tof, exiting Stopped Camera: tracking Stopped Camera: stereocan you tell me how to resolve this issue. below I have also attached voxl-camera-server.conf file.
voxl:/$ cat /etc/modalai/voxl-camera-server.conf { "version": 0.1, "cameras": [{ "name": "tracking", "enabled": true, "frame_rate": 30, "type": "ov7251", "camera_id": 1, "ae_desired_msv": 60, "ae_filter_alpha": 0.600000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 1 }, { "name": "stereo", "enabled": true, "frame_rate": 30, "type": "ov7251", "camera_id": 2, "camera_id_second": 3, "ae_desired_msv": 60, "ae_filter_alpha": 0.600000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 1 }, { "name": "tof", "enabled": true, "frame_rate": -1, "type": "pmd-tof", "camera_id": 0 }]Thanks!
-
Hi,
It looks like you're running a version of camera server that doesn't yet support tof. We did a major refactor of camera server a few months ago and are finally merging tof support back into the mainline. How did you install this version? The complied versions shouldn't be available on any of our non-beta repos.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login