Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse ROS CLI arguments (rqt_gui_cpp) #262

Open
jacobperron opened this issue Mar 21, 2022 · 0 comments
Open

Parse ROS CLI arguments (rqt_gui_cpp) #262

jacobperron opened this issue Mar 21, 2022 · 0 comments

Comments

@jacobperron
Copy link
Contributor

We are not parsing any user-provided command-lines arguments for ROS configuration:

int argc = 0;
char** argv = 0;
// Initialize any global resources needed by the middleware and the client library.
// This will also parse command line arguments one day (as of Beta 1 they are not used).
// You must call this before using any other part of the ROS system.
// This should be called once per process.

I don't think the same issue exists for Python code, since by default rclpy.init() will look at sys.argv, and we're using defaults:

This prevents us from passing ROS parameters, remaps, and other ROS args when starting rqt apps. For example, it prevents us from using the QoS overrides feature, which requires that we set parameters at startup.

Supporting CLI args may require changes in qt_gui_core: https://github.com/ros-visualization/qt_gui_core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant