Skip to content

orbbec/MIPI_Camera_Platform_Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORBBEC Camera Driver for GMSL Interface

Introduction to GMSL Camera Driver

This repository contains driver files for Orbbec GMSL interface cameras, designed to facilitate integration of GMSL interface cameras for developers and customers.

Directory Structure

  • bin: Pre-built binary files for Orbbec GMSL cameras; ready for direct integration.
  • doc: Documentation related to GMSL integration, primarily in MD or PDF format.
  • src:
    • kernel: Source code for driver adaptation.
    • patch: Platform-specific patch files.
  • tools: Example programs for validating GMSL functionality.

Branch Description

  • main: Stable release branch containing tested code and binary files.
  • gemini-335Lg: Development branch for Gemini 335Lg camera adaptation.

GMSL Integration Workflow

Supported Camera Models and Platforms

Camera Model Hardware Platform Manufacturer Software Version GMSL Adapter Board
Gemini 335Lg Jetson AGX Orin DevKit NVIDIA Jetpack 6.0/6.1/6.2 FG96-8CH-V2(Max9296)/Leopard LI-JAG-ADP-GMSL2-8CH(Max96712)

GMSL Integration Procedures

System Block Diagram

  • Hardware Connection Diagram

The diagram above illustrates a complete hardware connection setup for GMSL cameras. When adapting to different hardware platforms, design differences mainly exist between the Carrier Board and the GMSL Camera Board, requiring both software and hardware adaptation. For detailed hardware and software design specifications, please refer to the steps below.

  • Software Data Flow Diagram

Hardware Integration Requirements

Orbbec has adapted various deserializer chips such as MAX9296/96712. For detailed hardware design specifications and instructions, please refer to Hardware Design Guide.

Software Driver Installation

Orbbec has adapted the Gemini 335Lg for different platforms and deserializer chips. For each platform, pre-compiled binaries, source code patches, and kernel source code are provided to facilitate integration for various customers. Developers and customers should select the appropriate driver installation method based on their carrier board, software version, and deserializer chip model.

  • Pre-compiled Driver Installation

    • For detailed installation steps, refer to the ReadMe in the bin directory.
  • Patch Driver Installation

    • For detailed installation steps, refer to the ReadMe in the patch directory.
  • Kernel Source Installation

    • Under development, coming soon.

GMSL Camera Performance Metrics

After successful GMSL camera integration, the following performance metrics should be monitored:

  • Timestamp stability
  • Frame rate stability
  • Synchronization accuracy For testing methodology and tools, please refer to Performance Test Guide

Usage Limitations of GMSL Cameras

GMSL cameras interface with various deserializer chips such as MAX9296 and MAX92716. Orbbec GMSL cameras support multiple streams including depth, color, IR, and IMU data, but certain usage limitations apply:

  • GMSL only supports V4L2 and YUYV format; MJPG format is not supported. RGB output is derived from YUYV format conversion.
  • Metadata for Gemini-335Lg is provided via a separate node, while metadata for other models is embedded within video frames, which remains transparent to users.
  • When using the Max96712 as a deserializer chip, due to the characteristics of the Max96712 chip, a multi - machine synchronous trigger signal must be provided in the secondary_synced mode. Otherwise, data flow interruption will occur when switching the data stream
  • Two cameras connected on the same MAX9296, MAX96712 LinkA/B, or MAX96712 LinkC/D have the following limitations:
    • Before driver version v12.02, there was a restriction that the RGB of one camera and the right IR of another camera could not stream simultaneously. After driver version v12.02, the restriction was modified to that the RGB of one camera and the left IR of another camera cannot stream simultaneously.
    • Before driver version v12.02, there was a restriction that the DEPTH of one camera and the left IR of another camera could not stream simultaneously. After driver version v12.02, the restriction was modified to that the DEPTH of one camera and the right IR of another camera cannot stream simultaneously.
    • The combined maximum number of active streams from both cameras is limited to four (satisfying the above two conditions ensures compliance).

For further known limitations, please refer to Usage Limitations of Orbbec GMSL Cameras

Issue Reporting for GMSL Usage

To streamline issue resolution for developers and customers during GMSL camera integration, we adopt GitHub Issues for tracking feedback due to variations in hardware and software environments. Please follow the guidelines below for issue reporting:

  • First check existing issues before submitting a new one.
  • If no solution is found, submit a new issue using the provided template to expedite problem diagnosis.

About

Orbbec official MIPI platform driver for gmsl products.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages