ros2-java / ros2_java

Java and Android bindings for ROS2
Apache License 2.0
173 stars 93 forks source link

Lack support for parameter/namespace definition from launchfile or cli #219

Open devis12 opened 2 years ago

devis12 commented 2 years ago

Hi, I noticed that whenever I specify a parameter or the namespace of the node directly on the cli, just before launching the node, or in a launch description generator py script I'm not able to get them to work, i.e. parameter value is not correctly overridden and the same goes for the namespace. Doing the same with rclcpp or rclpy, I've never had any issue so far. If there is any specific workaround, can you point me to it? I've tried to hardcoded the namespace in the createNode function within the RCLJava class and the native method does correctly its job: the main issue here regards taking it from the cli or launchfile