restore . as parameter separator (#372)
This commit is contained in:
parent
1c42a75f43
commit
b68b761462
1 changed files with 3 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue