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

Add support for multiple frame prefixes #126

Open
wants to merge 2 commits into
base: indigo-devel
Choose a base branch
from

Conversation

DavidWatkins
Copy link

If there are multiple cameras in the same scene there will be name conflicts with respect to the ar tags. This change allows the user to specify prefixes to the frame output by the specific ar_track_alvar node.

@@ -544,6 +547,13 @@ int main(int argc, char *argv[])
cam_info_topic = "camera_info";
}

if(frame_prefix == "" && pn.param("frame_prefix", frame_prefix) == "") {
ROS_ERROR("Param 'frame_prefix' has to be set to prevent ar conflicts");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why enforcing the prefix?

Many people use only one camera.

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