Skip to content

Commit

Permalink
removed sorting of nodes from service wrapper (now performed in visua…
Browse files Browse the repository at this point in the history
…lization function)
  • Loading branch information
authaldo committed Jan 27, 2024
1 parent 6db0776 commit 272eff5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/service_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* @author Dominik Authaler
* @date 22.01.2023
*
* Utility class wrapping all the service related calls.
* Utility class wrapping all the service related calls. This class has been initially inserted in order to allow
* using the tool together with ROS 1 by simple replacing this class. However, as of 01/2024 there are no plans to do
* so.
*/

#include "service_wrapper.hpp"
Expand Down Expand Up @@ -126,9 +128,6 @@ void ServiceWrapper::handleRequest(const RequestPtr &request) {
nodeNames.push_back(extractedNodeName);
}

// sort nodes alphabetically
std::sort(nodeNames.begin(), nodeNames.end());

auto response = std::make_shared<NodeNameResponse>(std::move(nodeNames));

responseQueue.push(response);
Expand Down

0 comments on commit 272eff5

Please sign in to comment.