Move camera around as simulation goes on
Hello. I am simulating multi robots moving along a path. What i want is the camera to be able to move around as the simulation goes on so that the robots do not go out of vision. The follow mode would work but its zoom is so small it can only cover one robot. besides I cant change the view when its active. So what i want is more like follow a scene. If possible i would also want the camera to occasionally switch view angles. say view the robots from side view? How can i achieve this? Thanks.
I don't know for sure but I think the follower plugin should work for this. Try getting the pos of the object by subscribing to the topic on which the object publishes its pose then plan your trajectory accordingly. I will suggest using cv_bridge.
is it a gazebo plugin or a ros plugin? I will look into it though. Thanks.
@alexantosh it's a gazebo plugin.
hello, looked into it but it doesnt seem to achieve what i want. thanks though