[QST] What dose simpleNode::setNodePeriod() mean?

Required Info:

  • Software Version
    DRIVE OS 6.0.6
  • Target OS
    Linux
  • SDK Manager Version
    1.9.2.10884
  • Host Machine Version
    native Ubuntu Linux 20.04 Host installed with DRIVE OS DOCKER Containers

Expected behavior

Answer the qst from developer.

What is NodePeriod? Is it different from period of Epoch and HyperEpoch?
What does the interface of setNodePeriod mean?

https://github.com/ZhenshengLee/nv_driveworks/blob/525ba604eb88431e7a37d8e318b1ae722acfb5bb/driveworks-5.14/include/dwcgf/node/SimpleNode.hpp#L554-L557

    /**
    * Sets the node's period
    * The value set can be retrieved with getNodePeriod.
    */
    dwStatus setNodePeriod(uint32_t period) override;

Thanks.

The node period is the period of the epoch a node is running in. The setter is being called by the runtime (the loader process) after a node is constructed.

Calling the setter doesn’t affect the schedule in any way. The information is meant to be used by a node to know how frequently it is intended to be run.

1 Like

OK, it’s just a info setter called by loader in init runtime.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.