Skip to content

Allows propagations of cmd args to rclcpp::init#178

Merged
gonzodepedro merged 1 commit intomasterfrom
gonzalodepedro/fix-propagate-args-to-rcl-init
Mar 27, 2019
Merged

Allows propagations of cmd args to rclcpp::init#178
gonzodepedro merged 1 commit intomasterfrom
gonzalodepedro/fix-propagate-args-to-rcl-init

Conversation

@gonzodepedro
Copy link
Copy Markdown
Contributor

Signed-off-by: Gonzalo de Pedro gonzalo@depedro.com.ar

This changes the order of initialization of nodes. By initializing firs the ROS2 node it allows cmd args to be passed to it.

Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>
@gonzodepedro gonzodepedro added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) labels Mar 21, 2019
@dirk-thomas
Copy link
Copy Markdown
Member

How about command line arguments for ROS 1 now?

@gonzodepedro
Copy link
Copy Markdown
Contributor Author

Command line arguments processing in ROS2 doesn't interfere, it process the ones that understands and doesn't modify the argc and argv. ROS1 command line arguments processing OTH removes arguments from the argv. That's why passing them first to ROS2 and later to ROS1 doesn't affect neither of them, while passing first to ROS1 and then to ROS2 ends up in the arguments for ROS2 being ignored.

@gonzodepedro
Copy link
Copy Markdown
Contributor Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@gonzodepedro
Copy link
Copy Markdown
Contributor Author

Linux-aarch64 and Windows CI jobs test failed on test already known to fail, not related to this PR

@gonzodepedro gonzodepedro merged commit dc25bc3 into master Mar 27, 2019
@gonzodepedro gonzodepedro removed in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) labels Mar 27, 2019
@gonzodepedro gonzodepedro deleted the gonzalodepedro/fix-propagate-args-to-rcl-init branch March 27, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants