Skip to content

Commit

Permalink
[RosInterface] fix bad subscriber init
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Oct 31, 2024
1 parent f860bea commit 8ebb6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/RosInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ namespace ontologenius {

RosInterface::RosInterface(const std::string& name) : onto_(new Ontology()),
reasoners_(name),
subscriber_(name),
feeder_echo_(getTopicName("insert_echo", name), getTopicName("insert_explanations", name)),
#ifdef ONTO_TEST
end_feed_(true),
Expand Down Expand Up @@ -162,7 +163,6 @@ namespace ontologenius {

periodic_reasoning_thread.join();
feed_thread.join();

subscriber_.stop();
subscription_thread.join();
}
Expand Down

0 comments on commit 8ebb6ff

Please sign in to comment.