How do you stop and start recorder?

Hi Team Green!

I’m using the python cask method.

In the Recorder component documentation I only see a flag for starting recording automatically:
https://docs.nvidia.com/isaac/isaac/doc/doc/component_api.html?highlight=start_recording_automatically

Q1. How do you start and stop recording manually?
Q2. If there is no method for Q1. How do you turn off recording?

Thank you for all of your help!

Mike

Stopping the Recorder codelet will stop recording. The most obvious time this happens is when the entire application stops and all codelets are stopped, but you can dynamically stop the codelet as well.

Hi @hemals , thank you for the fast response! How would one dynamically start and stop a codelet?

You can try accessing the backend as so to get a pointer to a Node and start it from within a Component:

alice::Node* node = node()->app()->findNodeByName(name);
app()->backend()->node_backend()->startNode(node);