Commit 39d1c50f authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Rename getSensor(name) --> findSensor(name)

parent b143d3fa
......@@ -45,7 +45,7 @@ PublisherFalko::PublisherFalko(const std::string &_unique_name, const ParamsServ
max_points_ = getParamWithDefault<int>(_server, prefix_ + "/max_points", 1e3);
extrinsics_ = _server.getParam<bool>(prefix_ + "/extrinsics");
sensor_ = _problem->getSensor(_server.getParam<std::string>(prefix_ + "/sensor"));
sensor_ = _problem->findSensor(_server.getParam<std::string>(prefix_ + "/sensor"));
// dynamic_ptr_cast(sensor_)
if (!sensor_)
throw std::runtime_error("sensor not found");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment