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

make it possible to publish initialpose via rviz #23

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

cfs4819
Copy link

@cfs4819 cfs4819 commented Sep 21, 2023

Subscribe /initialpose topic. When we click "2D Pose Estimate" and then select a point in the rviz, the op_bridge will move the ego vehicle to the point via "set_transform()" function automaticly.
The trans_utils is copied from ros-bridge. https://github.com/carla-simulator/ros-bridge/blob/master/carla_common/src/carla_common/transforms.py

@hatem-darweesh
Copy link
Owner

Thank you for the pull request,
I will check it as soon as I can.

Copy link

@mraditya01 mraditya01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well on the newest ros2-humble branch, the initialization become a little bit slower but we are able to do 2D Pose Estimation on RVIZ and it got reflected very nicely on CARLA. The autonomous function also work after the new pose.

@datvuthanh
Copy link

Hi @mraditya01, Could you see my issue here: #26 ?
Thank you

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.

4 participants