Skip to content

Commit e80a4a9

Browse files
authored
Merge pull request #58 from ethz-asl/fix/wrong_parameter_name_in_default
Use switch_time instead of the wrong switching_time in Defaults
2 parents a68218e + 17748ae commit e80a4a9

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
@@ -93,7 +93,7 @@ class DeviceTimeTranslator {
9393
public:
9494
/**
9595
* @param nameSpace used for topics and parameters
96-
* @param defaults defaults for the configuration parameters (filter_algo, switching_time)
96+
* @param defaults defaults for the configuration parameters (filter_algo, switch_time)
9797
*/
9898
DeviceTimeTranslator(const NS & nameSpace, const Defaults & defaults);
9999

cuckoo_time_translator/src/DeviceTimeTranslator.cpp

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

0 commit comments

Comments
 (0)