You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.
I would like to set a parameter (in the parameter server) for a node using rosrun,
because I need to run a lot of nodes, each one with a different configuration.
I'd expect to see the parameter myParam in the parameter server, with the value of 55.
But it doesn't work.
(With _myParam:=55 and myParam:=55 I got RosRuntimeException: Invalid graph name: 55)
In fact, with the commandrosparam list, myParam doesn't show up
and I cannot even get it with the code inside the class of the node:
I also tried to look in the rosjava code, starting from RosRun.java
and I found out that in CommandLineLoader.java
the params defined as __myParam:=55 are collected:
in the Map remappingArguments by the method parseArgv() and
in the Map specialRemappings by the method parseRemappingArguments() called by build()
but then only the ones corresponding to the command line variables defined in CommandLineVariables.java are considered.
So I'm also asking if I'm missing something in the code, or if it's missing something in the code, or if I'm totally wrong.
So, is there a way to make it work?
The text was updated successfully, but these errors were encountered:
I would like to set a parameter (in the parameter server) for a node using rosrun,
because I need to run a lot of nodes, each one with a different configuration.
Running the command:
I'd expect to see the parameter myParam in the parameter server, with the value of 55.
But it doesn't work.
(With
_myParam:=55
andmyParam:=55
I gotRosRuntimeException: Invalid graph name: 55
)In fact, with the command
rosparam list
, myParam doesn't show upand I cannot even get it with the code inside the class of the node:
I also tried to look in the rosjava code, starting from RosRun.java
and I found out that in CommandLineLoader.java
the params defined as
__myParam:=55
are collected:but then only the ones corresponding to the command line variables defined in CommandLineVariables.java are considered.
So I'm also asking if I'm missing something in the code, or if it's missing something in the code, or if I'm totally wrong.
So, is there a way to make it work?
The text was updated successfully, but these errors were encountered: