MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / StartRecording

Method StartRecording

Source/URLab/Private/MuJoCo/Core/AMjManager.cpp:604–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602// --- Recording / replay ---
603
604void AAMjManager::StartRecording()
605{
606 AMjReplayManager* ReplayMgr = Cast<AMjReplayManager>(UGameplayStatics::GetActorOfClass(GetWorld(), AMjReplayManager::StaticClass()));
607 if (ReplayMgr)
608 {
609 ReplayMgr->StartRecording();
610 UE_LOG(LogURLab, Log, TEXT("StartRecording called on ReplayManager."));
611 }
612 else
613 {
614 UE_LOG(LogURLab, Warning, TEXT("ReplayManager not found in scene!"));
615 }
616}
617
618void AAMjManager::StopRecording()
619{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected