Skip to content

Commit

Permalink
fix(params): align parameter retrieval with rosbridge changes
Browse files Browse the repository at this point in the history
Related to RobotWebTools/rosbridge_suite#972

- fixed name and type of rosapi service
  • Loading branch information
Mehsias authored Dec 5, 2024
1 parent 94f5192 commit 6229ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Param.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default class Param {
get(callback, failedCallback) {
var paramClient = new Service({
ros: this.ros,
name: '/rosapi/get_param',
serviceType: 'rosapi/GetParam'
name: '/rosapi/get_param_names',
serviceType: 'rosapi_msgs/srv/GetParamNames'
});

var request = {name: this.name};
Expand Down

0 comments on commit 6229ddc

Please sign in to comment.