/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:148:78: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
motion_model_configs.emplace_back(static_cast<std::string>(motion_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:148:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
motion_model_configs.emplace_back(static_cast<std::string>(motion_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:148:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
motion_model_configs.emplace_back(static_cast<std::string>(motion_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:149:78: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(motion_model["type"]), motion_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:149:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(motion_model["type"]), motion_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:149:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(motion_model["type"]), motion_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:166:85: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(motion_model_config["type"]), motion_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:166:92: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(motion_model_config["type"]), motion_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:166:92: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(motion_model_config["type"]), motion_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp: In member function ‘void fuse_optimizers::Optimizer::loadSensorModels()’:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:214:78: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
sensor_model_configs.emplace_back(static_cast<std::string>(sensor_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:214:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
sensor_model_configs.emplace_back(static_cast<std::string>(sensor_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:214:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
sensor_model_configs.emplace_back(static_cast<std::string>(sensor_model["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:215:78: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(sensor_model["type"]), sensor_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:215:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(sensor_model["type"]), sensor_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:215:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(sensor_model["type"]), sensor_model);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:233:85: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(sensor_model_config["type"]), sensor_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:233:92: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(sensor_model_config["type"]), sensor_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:233:92: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(sensor_model_config["type"]), sensor_model_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:247:96: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [9]’)
const bool ignition = config.config.hasMember("ignition") ? static_cast<bool>(config.config["ignition"]) : false;
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:247:107: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
const bool ignition = config.config.hasMember("ignition") ? static_cast<bool>(config.config["ignition"]) : false;
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:247:107: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
const bool ignition = config.config.hasMember("ignition") ? static_cast<bool>(config.config["ignition"]) : false;
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:261:24: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [14]’)
&& (config.config["motion_models"].getType() == XmlRpc::XmlRpcValue::TypeArray))
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:261:40: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
&& (config.config["motion_models"].getType() == XmlRpc::XmlRpcValue::TypeArray))
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:261:40: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
&& (config.config["motion_models"].getType() == XmlRpc::XmlRpcValue::TypeArray))
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:263:60: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [14]’)
XmlRpc::XmlRpcValue motion_model_list = config.config["motion_models"];
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:263:76: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
XmlRpc::XmlRpcValue motion_model_list = config.config["motion_models"];
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:263:76: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
XmlRpc::XmlRpcValue motion_model_list = config.config["motion_models"];
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp: In member function ‘void fuse_optimizers::Optimizer::loadPublishers()’:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:307:72: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
publisher_configs.emplace_back(static_cast<std::string>(publisher["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:307:79: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
publisher_configs.emplace_back(static_cast<std::string>(publisher["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:307:79: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
publisher_configs.emplace_back(static_cast<std::string>(publisher["name"]),
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:308:72: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(publisher["type"]), publisher);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:308:79: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(publisher["type"]), publisher);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:308:79: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(publisher["type"]), publisher);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:326:79: error: ambiguous overload for ‘operator[]’ (operand types are ‘const XmlRpc::XmlRpcValue’ and ‘const char [5]’)
static_cast<std::string>(publisher_config["type"]), publisher_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: candidate: const XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) const <near match>
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:97:24: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:326:86: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(publisher_config["type"]), publisher_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](int) <near match>
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:98:18: note: conversion of argument 1 would be ill-formed:
/mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:326:86: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
static_cast<std::string>(publisher_config["type"]), publisher_config);
^
In file included from /opt/abunt/include/ros/node_handle.h:52:0,
from /opt/abunt/include/diagnostic_updater/diagnostic_updater.h:42,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/include/fuse_optimizers/optimizer.h:37,
from /mnt/943ec2c2-6cda-4cd0-887c-1fed9ec45b2e/fuse_ws/src/fuse/fuse_optimizers/src/optimizer.cpp:38:
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const string&) <near match>
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:100:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: candidate: XmlRpc::XmlRpcValue& XmlRpc::XmlRpcValue::operator[](const char*) <near match>
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }
^~~~~~~~
/opt/abunt/include/xmlrpcpp/XmlRpcValue.h:101:18: note: passing ‘const XmlRpc::XmlRpcValue*’ as ‘this’ argument discards qualifiers
CMakeFiles/fuse_optimizers.dir/build.make:110: recipe for target 'CMakeFiles/fuse_optimizers.dir/src/optimizer.cpp.o' failed
make[2]: *** [CMakeFiles/fuse_optimizers.dir/src/optimizer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:2793: recipe for target 'CMakeFiles/fuse_optimizers.dir/all' failed
make[1]: *** [CMakeFiles/fuse_optimizers.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
XmlRpcValue const& operator[](int i) const { assertArray(i+1); return _value.asArray->at(i); }
XmlRpcValue& operator[](int i) { assertArray(i+1); return _value.asArray->at(i); }
XmlRpcValue& operator[](std::string const& k) { assertStruct(); return (*_value.asStruct)[k]; }
XmlRpcValue& operator[](const char* k) { assertStruct(); std::string s(k); return (*_value.asStruct)[s]; }