[ros-users] [Discourse.ros.org] [Next Generation ROS] Initia…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Geoffrey Biggs via ros-users
Dato:  
Til: ros-users
CC: Geoffrey Biggs
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Initializing ROS 2 parameters


[quote="wjwwood, post:4, topic:3542"]
Even with that we still need to find a way to support initializing the parameters with the nodelet style of loading a node, where you run a process and then dynamically load your node into that process with a service call.
[/quote]


Although it's not necessarily the best way, one way we have used successfully to do this is to pass a string containing the parameters formatted like the arguments to a URL ("blurgle.com?arg1=val1&arg2=val2" etc.). The advantage of this approach is that it's easy to adapt to different styles of service call. The disadvantage is translating all parameters to text, which must be reparsed, and it being unwieldy for complex data structures.





---
[Visit Topic](https://discourse.ros.org/t/initializing-ros-2-parameters/3542/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>