restore . as parameter separator (#372)

This commit is contained in:
Mikael Arguedas 2017-09-12 08:43:42 -07:00 committed by GitHub
parent 1c42a75f43
commit b68b761462

View file

@ -198,7 +198,9 @@ NodeParameters::list_parameters(const std::vector<std::string> & prefixes, uint6
std::lock_guard<std::mutex> lock(mutex_);
rcl_interfaces::msg::ListParametersResult result;
const char separator = '/';
// TODO(mikaelarguedas) define parameter separator different from "/" to avoid ambiguity
// using "." for now
const char separator = '.';
for (auto & kv : parameters_) {
bool get_all = (prefixes.size() == 0) &&
((depth == rcl_interfaces::srv::ListParameters::Request::DEPTH_RECURSIVE) ||