ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how can i build package B on machine B without having package A on that machine?

best practice would be to refactor package A into package A and a separate package which hosts just the messages/services/action definitions.

What you describe is the main rationale for doing that: you can build subscribers and clients without needing the packages containing the publishers or servers in the same workspace.

how can i build package B on machine B without having package A on that machine?

best practice would be to refactor package A A into package A A and a separate package which hosts just the messages/services/action definitions.

Then both A and B depend on the message package.

What you describe is the main rationale for doing that: you can build subscribers and clients without needing the packages containing the publishers or servers in the same workspace.