fix compiling error

This commit is contained in:
LuisPoveda 2023-11-07 11:59:07 +01:00 committed by bernat
parent 8fc7af31fe
commit 406f5e1460
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ namespace ros2 {
efd::Publisher* _publisher { nullptr };
efd::Topic* _topic { nullptr };
efd::DataWriter* _datawriter { nullptr };
efd::TypeSupport _type { new carla_msgs::msg::CollisionEventPubSubType() };
efd::TypeSupport _type { new carla_msgs::msg::CarlaCollisionEventPubSubType() };
CarlaListener _listener {};
carla_msgs::msg::CollisionEvent _event {};
carla_msgs::msg::CarlaCollisionEvent _event {};
};
bool CarlaCollisionPublisher::Init() {