Recording video while simultaneously running other functions in background

2 ビュー (過去 30 日間)
Anthony
Anthony 2020 年 3 月 9 日
回答済み: Sai Bhargav Avula 2020 年 3 月 23 日
I am running a script that tells a robot to move and records data from the robot. I am looking to implement a video record function that does not interupt my existing code where I can automatically strart recording video of the robot experiment just before the experiment and end the recording just as the experiment ends.
Any suggestions that don't interfere with my current code too drastically?

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 3 月 23 日
Hi,
You can create a simple VideoWriter object. Open the object when you run the robot and write the frame and close it when the experiment is completed.
Hope this helps!

カテゴリ

Help Center および File ExchangeROS Toolbox についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by