Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Kits
  3. VOXL-CAM
  4. Error starting camera: tof

Error starting camera: tof

Scheduled Pinned Locked Moved VOXL-CAM
3 Posts 2 Posters 409 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anubhav
    Regular
    wrote on last edited by
    #1

    @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: stereo
    

    can 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!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Anubhav
        Regular
        wrote on last edited by
        #3

        Hi @Alex-Gardner,

        The problem is solved and TOF camera is working fine now, previously I have flashed voxl system image 3.8 and now I have again re-flashed it with 3.3 system image.

        Thanks for your input!

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups