Fixing TransformBroadcaster *this on rolling (#1443)

This commit is contained in:
matlabbe
2026-08-07 14:03:56 -07:00
committed by GitHub
parent 99436c6e87
commit 0b60e52914
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ CoreWrapper::CoreWrapper(const rclcpp::NodeOptions & options) :
tfBuffer_ = std::make_shared<tf2_ros::Buffer>(this->get_clock());
tfListener_ = std::make_shared<tf2_ros::TransformListener>(*tfBuffer_);
tfBroadcaster_ = std::make_shared<tf2_ros::TransformBroadcaster>(this);
tfBroadcaster_ = std::make_shared<tf2_ros::TransformBroadcaster>(*this);
bool publishTf = true;
std::string initialPoseStr;