Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added option to change pose of camera at runtime by publishing on topic #443

Closed
wants to merge 1 commit into from

Conversation

jbmag
Copy link
Contributor

@jbmag jbmag commented Dec 18, 2020

Answer to issue #436

  • uses new attribute allow_transform from object.json
  • if allow_transform is set to true (only for camera sensors) the camera object subscribes to a new topic /carla/<parent>/<sensor_name>/update_pose
  • Tested using rviz by remapping the topic /carla/ego_vehicle/spectator_pose, and by using the carla_rviz_plugin to move the view around. It works for all type of cameras, including when they are not attached to any vehicle.
  • Not sure if that's the goal, but this should be able to replace the current spectator_camera node.

@fpasch is that what you had in mind?


This change is Reviewable

@jbmag jbmag requested a review from fpasch December 18, 2020 17:10
@jbmag jbmag linked an issue Dec 18, 2020 that may be closed by this pull request
@jbmag jbmag changed the title Closes #436 : added option to change pose of camera at runtime by publishing on topic added option to change pose of camera at runtime by publishing on topic Dec 18, 2020
@jbmag jbmag closed this Dec 23, 2020
@jbmag jbmag deleted the jbmag/allow_camera_transform branch January 4, 2021 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make attached sensor transform changeable during runtime
1 participant