[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: Konstantin Schauwecker via ros-users
Dato:  
Til: ros-users
CC: Konstantin Schauwecker
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Initializing ROS 2 parameters


Sorry for asking this seemingly noob question, but I wasn't able to find the answer anywhere: How can you set a parameter to an initial value when launching a node?

I understand that ROS 2 will use a python based launch system, which isn't yet available (is that still so?). On the github page for the new launch system there were some few examples, but they didn't seem to set any parameters.

I would have assumed that parameters can be set through command line arguments, like it was possible in ROS 1. Certainly the ROS 1 syntax doesn't work anymore. I wasn't able to locate any code that parses parameters in the RCL github repository. Is this functionality not yet implemented? Is it recommended to just use ordinary command line arguments instead (through getop etc.)?

Thanks





---
[Visit Topic](https://discourse.ros.org/t/initializing-ros-2-parameters/3542/1) 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>