Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Retrieve users input from Plug-in GUI

Answered

Comments

2 comments

  • Anton Babinov
    • Network Optix team

    Hello Riles,

    which specific parameter do you want to use? All relevant parameters from GUI are saved in m_deviceAgentSettings structure and can be accessed from DeviceAgent::cookSomeObjects() ” function. Below is the example of how you can print the value of generateCars parameter:

     

    std::vector<IMetadataPacket*> DeviceAgent::cookSomeObjects()
    {
        std::unique_lock<std::mutex> lock(m_objectGenerationMutex);
    
        std::vector<IMetadataPacket*> result;
    
        NX_PRINT << __func__ << " (): generate cars = " << m_deviceAgentSettings.generateCars;
    
        if (m_lastVideoFrameTimestampUs == 0)
            return result;
    
        if (m_frameTimestampUsQueue.empty())
            return result;
    
            . . .
    }
    0
  • Norman
    • Network Optix team

    Hi @...,

    We have not heard back from you in a while, so we are going to assume your question has been answered and set this topic to 'Answered'.

    0

Please sign in to leave a comment.