Skip to content

Commit 605769d

Browse files
committed
(fix) actually show ros frontend sink config
1 parent 05a6b00 commit 605769d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hydra_ros/include/hydra_ros/frontend/ros_frontend_publisher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class RosFrontendPublisher : public GraphBuilder::Sink {
6262
const DynamicSceneGraph& graph,
6363
const BackendInput& backend_input) const override;
6464

65-
std::string printInfo() const override { return "RosFrontendPublisher"; }
65+
std::string printInfo() const override;
6666

6767
protected:
6868
void processMeshDeltaQuery(const MeshDeltaSrv::Request::SharedPtr req,

hydra_ros/src/frontend/ros_frontend_publisher.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ void RosFrontendPublisher::call(uint64_t timestamp_ns,
101101
dsg_sender_->sendGraph(graph, rclcpp::Time(timestamp_ns));
102102
}
103103

104+
std::string RosFrontendPublisher::printInfo() const { return config::toString(config); }
105+
104106
void RosFrontendPublisher::processMeshDeltaQuery(
105107
const MeshDeltaSrv::Request::SharedPtr req,
106108
MeshDeltaSrv::Response::SharedPtr resp) {

0 commit comments

Comments
 (0)