rapyuta-robotics / RapyutaSimulationPlugins

Apache License 2.0
18 stars 9 forks source link

RobotROS2Interface's RobotROS2Node outer as BaseRobot #201

Closed Tadinu closed 1 year ago

Tadinu commented 1 year ago

This error happens only in uncooked standalone mode (PIE or packaged works fine)

[2023.08.24-04.42.16:853][  0]LogRapyutaCore: Warning: [RRBaseRobot.cpp@171, virtual void ARRBaseRobot::PreInitializeComponents()] [InConveyor_GEN_VARIABLE_BP_Conveyor_C_CAT_739] ROS2InterfaceClass has not been configured, probably later in child BP class!
[2023.08.24-04.42.16:858][  0]LogOutputDevice: Warning: 

Script Stack (0 frames) :

Ensure condition failed: MyOwnerWorld [File:./Runtime/Engine/Private/Components/ActorComponent.cpp] [Line: 1396] 
[2023.08.24-04.42.16:945][  0]LogStats: FPlatformStackWalk::StackWalkAndDump -  0.030 s
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: === Handled ensure: ===
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: 
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: Ensure condition failed: MyOwnerWorld  [File:./Runtime/Engine/Private/Components/ActorComponent.cpp] [Line: 1396] 
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: 
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: Stack: 
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d689b0c2 libUnrealEditor-Engine.so!UActorComponent::RegisterComponent() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/Components/ActorComponent.cpp:1396]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b06e0207 libUnrealEditor-rclUE.so!UROS2NodeComponent::Init() [Plugins/rclUE/Source/rclUE/Private/ROS2NodeComponent.cpp:101]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b0f7d721 libUnrealEditor-RapyutaSimulationPlugins.so!URRRobotROS2Interface::InitRobotROS2Node(ARRBaseRobot*) [Plugins/RapyutaSimulationPlugins/Source/RapyutaSimulationPlugins/Private/Robots/RRRobotROS2Interface.cpp:131]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b0f7d0d8 libUnrealEditor-RapyutaSimulationPlugins.so!URRRobotROS2Interface::Initialize(ARRBaseRobot*) [Plugins/RapyutaSimulationPlugins/Source/RapyutaSimulationPlugins/Private/Robots/RRRobotROS2Interface.cpp:38]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b0f79727 libUnrealEditor-RapyutaSimulationPlugins.so!ARRBaseRobot::InitROS2InterfaceImpl() [Plugins/RapyutaSimulationPlugins/Source/RapyutaSimulationPlugins/Private/Robots/RRBaseRobot.cpp:291]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b0f79276 libUnrealEditor-RapyutaSimulationPlugins.so!ARRBaseRobot::InitROS2Interface() [Plugins/RapyutaSimulationPlugins/Source/RapyutaSimulationPlugins/Private/Robots/RRBaseRobot.cpp:277]
[2023.08.24-04.42.16:945][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d6b68846 libUnrealEditor-Engine.so!AController::Possess(APawn*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/Controller.cpp:330]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d783a4ce libUnrealEditor-Engine.so!APawn::SpawnDefaultController() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/Pawn.cpp:352]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d7838bec libUnrealEditor-Engine.so!APawn::PostInitializeComponents() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/Pawn.cpp:152]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f88b0f78f19 libUnrealEditor-RapyutaSimulationPlugins.so!ARRBaseRobot::PostInitializeComponents() [Plugins/RapyutaSimulationPlugins/Source/RapyutaSimulationPlugins/Private/Robots/RRBaseRobot.cpp:181]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d713bcc8 libUnrealEditor-Engine.so!ULevel::RouteActorInitialize(int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/Level.cpp:3294]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d83fa6f0 libUnrealEditor-Engine.so!UWorld::InitializeActorsForPlay(FURL const&, bool, FRegisterComponentContext*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/World.cpp:4768]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d8215a45 libUnrealEditor-Engine.so!UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/UnrealEngine.cpp:14841]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d8210318 libUnrealEditor-Engine.so!UEngine::Browse(FWorldContext&, FURL, FString&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/UnrealEngine.cpp:14037]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d6e2e778 libUnrealEditor-Engine.so!UGameInstance::StartGameInstance() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/GameInstance.cpp:634]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89d6dc5469 libUnrealEditor-Engine.so!UGameEngine::Start() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/GameEngine.cpp:1219]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x0000000000236072 UnrealEditor!FEngineLoop::Init() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Launch/Private/LaunchEngineLoop.cpp:4372]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x0000000000248de3 UnrealEditor!GuardedMain(char16_t const*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Launch/Private/Launch.cpp:180]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89cf7802d2 libUnrealEditor-UnixCommonStartup.so!CommonUnixMain(int, char**, int (*)(char16_t const*), void (*)()) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:269]
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00007f89cf455083 libc.so.6!__libc_start_main(+0xf2)
[2023.08.24-04.42.16:946][  0]LogOutputDevice: Error: [Callstack] 0x00000000002351b9 UnrealEditor!_start()

Another one

[2023.08.24-05.15.10:684][637]LogScript: Warning: Script Msg: A null object was passed as a world context object to UEngine::GetWorldFromContextObject().
[2023.08.24-05.15.10:684][637]LogScript: Warning: Last function called:
    /Script/RapyutaSimulationPlugins.RRRobotROS2Interface.UpdateJointState

-> Use Robot->GetWorld()