Skip to content

Commit e73fe41

Browse files
Make possible to change Node name.
1 parent 8961271 commit e73fe41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/dynamic_graph_bridge/sot_loader.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class SotLoader : public SotLoaderBasic {
8383
geometry_msgs::msg::TransformStamped freeFlyerPose_;
8484

8585
public:
86-
SotLoader();
86+
SotLoader(const std::string &aNodeName=std::string("SotLoader"));
8787
virtual ~SotLoader();
8888

8989
// \brief Create a thread for ROS and start the control loop.

src/sot_loader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ struct DataToLog {
5656
}
5757
};
5858

59-
SotLoader::SotLoader()
60-
: SotLoaderBasic(),
59+
SotLoader::SotLoader(const std::string &aNodeName)
60+
: SotLoaderBasic(aNodeName),
6161
sensorsIn_(),
6262
controlValues_(),
6363
angleEncoder_(),

0 commit comments

Comments
 (0)