Skip to content

Commit b038a17

Browse files
committed
Use switch_time instead of the wrong switching_time in Defaults
1 parent 71ee89c commit b038a17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cuckoo_time_translator/include/cuckoo_time_translator/DeviceTimeTranslator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class DeviceTimeTranslator {
9191
public:
9292
/**
9393
* @param nameSpace used for topics and parameters
94-
* @param defaults defaults for the configuration parameters (filter_algo, switching_time)
94+
* @param defaults defaults for the configuration parameters (filter_algo, switch_time)
9595
*/
9696
DeviceTimeTranslator(const NS & nameSpace, const Defaults & defaults);
9797

cuckoo_time_translator/src/DeviceTimeTranslator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Defaults::Impl {
7272
setParam("filter_algo", static_cast<int>(filterAlgorithm));
7373
}
7474
void setSwitchTimeSecs(double secs){
75-
setParam("switching_time", secs);
75+
setParam("switch_time", secs);
7676
}
7777
void apply(ros::NodeHandle & nh) const{
7878
for(auto && op: operations){

0 commit comments

Comments
 (0)