Skip to content
Snippets Groups Projects
Commit bd7d0c89 authored by asantamaria's avatar asantamaria
Browse files

FIX typo in cfg file

parent 3dab046f
No related branches found
No related tags found
1 merge request!1Dev/fixes updates and maintenance
......@@ -40,6 +40,6 @@ gen = ParameterGenerator()
# Name Type Reconfiguration level Description Default Min Max
#gen.add("velocity_scale_factor", double_t, SensorLevels.RECONFIGURE_STOP, "Maximum velocity scale factor", 0.5, 0.0, 1.0)
gen.add("Config_mode", int_t, 0, "LidarLite configuration mode", 0, 1, 5)
gen.add("config_mode", int_t, 0, "LidarLite configuration mode", 0, 0, 5)
exit(gen.generate(PACKAGE, "LidarLiteDriver", "LidarLiteDriver"))
......@@ -66,7 +66,7 @@ LidarLiteDriver::config_update(Config& new_cfg, uint32_t level)
case iri_base_driver::RUNNING:
this->config_mode_ = new_cfg.Config_mode;
this->config_mode_ = new_cfg.config_mode;
try {
this->laser_ptr_->set_new_config(this->config_mode_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment