System which recordings videos from log playback There are two ways to specify what entities in the log playback to follow and record videos for: 1) by entity name and 2) by region. See the system parameters. More...
#include <gz/sim/systems/LogVideoRecorder.hh>
Public Member Functions | |
| LogVideoRecorder () | |
| Constructor. More... | |
| ~LogVideoRecorder () final=default | |
| Destructor. More... | |
| void | Configure (const Entity &_entity, const std::shared_ptr< const sdf::Element > &_sdf, EntityComponentManager &_ecm, EventManager &_eventMgr) final |
| Documentation inherited. More... | |
| void | PostUpdate (const UpdateInfo &_info, const EntityComponentManager &_ecm) final |
| Documentation inherited. More... | |
Public Member Functions inherited from System | |
| System ()=default | |
| Constructor. More... | |
| virtual | ~System ()=default |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from System | |
| using | PriorityType = int32_t |
| Signed integer type used for specifying priority of the execution order of PreUpdate and Update phases. More... | |
Static Public Attributes inherited from System | |
| constexpr static PriorityType | kDefaultPriority = {0} |
| Default priority value for execution order of the PreUpdate and Update phases. More... | |
| constexpr static std::string_view | kPriorityElementName |
| Name of the XML element from which the priority value will be parsed. More... | |
Detailed Description
System which recordings videos from log playback There are two ways to specify what entities in the log playback to follow and record videos for: 1) by entity name and 2) by region. See the system parameters.
When recording is finished. An end string will be published to the /log_video_recorder/status topic and the videos are saved to a timestamped directory
System Parameters
<entity>Name of entity to record.<region>Axis-aligned box where entities are at start of log<min>Min corner position of box region.<max>Max corner position of box region.
<start_time>Sim time when recording should start<end_time>Sim time when recording should end<exit_on_finish>Exit gz-sim when log playback recording ends
Constructor & Destructor Documentation
◆ LogVideoRecorder()
| LogVideoRecorder | ( | ) |
Constructor.
◆ ~LogVideoRecorder()
|
finaldefault |
Destructor.
Member Function Documentation
◆ Configure()
|
finalvirtual |
Documentation inherited.
Implements ISystemConfigure.
◆ PostUpdate()
|
finalvirtual |
Documentation inherited.
Implements ISystemPostUpdate.
The documentation for this class was generated from the following file:
Public Member Functions inherited from