roslibjs.getParam returns "Service /rosapi/get_param_names does not exist"
Posting on behalf of coworkers so I don't have full output.
wiki.ros.org/roslibjs/Tutorials explains the usage of ros.getParams
. Calling the following snippet returns undefined object.
const test = new ROSLIB.Param({
ros: this.api,
name: "/our_custom/custom_param"
});
//this.paramRefs["bolles_support_version"].get(
test.get(
result => {
console.dir(result);
if (callback) {
callback(result);
}
},
error => {
console.dir(error);
this.props.addAlert({
variant: "error",
message: error
});
}
);
Calling this.api.getParams() returns:
Service /rosapi/get_param_names does not exist
On ROS "backend", there's this node running:
<node pkg="rosbridge_server" type="rosbridge_websocket" name="rosbridge_webbridge" output="screen" respawn="true">
What is missing on our setup?