rapyuta-robotics / turtlebot3-UE

Apache License 2.0
40 stars 16 forks source link

How do I set the camera installed on my turtolbot3 as the first camera in play? #67

Closed Buddies-as-you-know closed 1 year ago

Buddies-as-you-know commented 1 year ago

I want to designate the first camera in play as the camera installed in turtolbot3 in unreal engine 5. However, I have to change the blue print and I don't know which blue print to change. How do I set the camera installed on my turtolbot3 as the first camera in play?

yuokamoto commented 1 year ago

please check https://docs.unrealengine.com/4.26/ja/InteractiveExperiences/UsingCameras/SwitchingCameras/

Buddies-as-you-know commented 1 year ago

I installed the camera, but the camera actor does not appear in the blueprint. And I have to change the blueprint, but I want to connect to ROS2, so when I'm playing while maintaining this state I want to connect to turtlebot's camera. Screenshot from 2023-07-12 12-20-30 Screenshot from 2023-07-12 12-20-43

yuokamoto commented 1 year ago

you can assign any actor which have camera component as a target

image (56)

this is more general question about UE and not related to this repo. you can search more on UE doc and forum. https://forums.unrealengine.com/t/set-view-target-from-camera-component/311905