This node allows to spawn a camera, attached to an ego vehicle and move its pose via a ros topic.
To run it:
roslaunch carla_spectator_camera carla_spectator_camera.launch
The camera pose can be set by publishing to:
Topic | Type |
---|---|
/carla/<ego vehicle name>/spectator_pose |
geometry_msgs.PoseStamped |