Giter Club home page Giter Club logo

Comments (2)

zhonghong322 avatar zhonghong322 commented on June 14, 2024
  • First, use the following interface to enable timestamp reset
    void setTimestampResetConfig(const OBDeviceTimestampResetConfig &config);

Method of invocation::
OBDeviceTimestampResetConfig resetConfig;
resetConfig.enable = true;
resetConfig.timestamp_reset_delay_us = 0;

    resetConfig.timestamp_reset_signal_output_enable = true;

    device->setTimestampResetConfig(resetConfig);
  • timestamp reset
    1、If resetting the timestamp through software, use the following interface (typically, when multiple devices are synchronized, it is sufficient to send the reset command to the master device,
    which will automatically trigger the timestamp reset signal through TIMER_SYNC_OUT to the slave devices):

     Method of invocation:
     device->timestampReset();
    

    2、If resetting the timestamp through a hardware signal, use an external trigger signal to reset it.

*Notes:
The hardware timestamp reset feature and software clock synchronization feature (context::enableMultiDeviceSync() or context::enableDeviceClockSync()) are mutually exclusive for Femto Mega and Femto Bolt.

1、To enable hardware timestamp reset:
resetConfig.enable = true; //Indicates the use of the hardware timestamp reset feature

2、To disable hardware timestamp reset and use software clock synchronization during multi-device synchronization: (Please refer to MultiDeviceSync.cpp)
resetConfig.enable = false; //Disables the hardware timestamp reset feature, allowing the use of software clock synchronization during multi-device synchronization

from orbbecsdk.

tim-depthkit avatar tim-depthkit commented on June 14, 2024

@zhonghong322 I am already performing the above steps to enable the timestamp reset functionality as well as calling timestampReset() on the device. This works successfully ~99% of the time, however I am reporting an issue or bug that it has occasionally not worked, and the device required a reboot in order for it to begin working again.
Note that this issue was encountered using firmware 1.0.6, I have not yet seen it happen on 1.0.9, but I have not done extensive testing with the new firmware yet.
I request your team look into potential causes within the device firmware code.

from orbbecsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.