recording_manager¶
Module Contents¶
Classes¶
The recording manager aims at storing the information collected by the sensors |
Attributes¶
- recording_manager.path¶
- recording_manager.using_kinetic¶
- class recording_manager.RecordingManager(name, child_names)¶
Bases:
harmoni_common_lib.service_manager.HarmoniServiceManagerThe recording manager aims at storing the information collected by the sensors TODO: fix the topic names
- cv_bridge¶
Init subscribers
- start(self)¶
Will start a long running action. This could be reading hardware and publishing it to a topic or running a behavior pattern. For atomic actions use do()
Start actions can be long running or indefinate.
- Raises
NotImplementedError – To be used, this function should be overwritten by the child class.
- _record_audio(self, data, child)¶
Record audio file
- _record_video(self, data, child)¶
Record vide file
- _audio_data_callback(self, data, child)¶
Do something when audio data has been received
- _video_data_callback(self, data, child)¶
Do something when video data has been received
- _audio_merge_data_callback(self, data, child)¶
Do something when audio data has been received
- _video_merge_data_callback(self, data, child)¶
Do something when video data has been received
- _merge_audio_video(self)¶
Merges audio and video in a single file
- recording_manager.main()¶