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

Use serialnumber in camera names #101

Merged
merged 6 commits into from Jan 12, 2021
Merged

Use serialnumber in camera names #101

merged 6 commits into from Jan 12, 2021

Conversation

MatthijsBurgh
Copy link
Contributor

Fixes #100

@MatthijsBurgh
Copy link
Contributor Author

@reinzor @awesomebytes who is the best person to review this?

@MatthijsBurgh
Copy link
Contributor Author

@mikeferguson @130s could you maybe take a look at this?

Copy link
Member

@130s 130s left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@mikeferguson mikeferguson left a comment

Choose a reason for hiding this comment

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

Backwards compatibility looks correct to me - only suggestion is perhaps the ros parameter name should be more descriptive/clear - something like "use_serialnumber_as_name" (but maybe others thing name_serialnumber is descriptive enough - I don't feel strongly on this)

@MatthijsBurgh
Copy link
Contributor Author

@130s @mikeferguson

  • Backwards compatibility is 100%. By using the default (false), the behaviour doesn't change at all.
  • I have renamed the parameter to serialnumber_as_name. I think this is much clearer.
  • I don't think there are any changes that should be documented in file you suggested. I do have added it to the launch files (Which I cleaned a bit).

Copy link
Member

@mikeferguson mikeferguson left a comment

Choose a reason for hiding this comment

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

Continues to look good to me - I'll give @130s a few days to review.

Copy link
Member

@130s 130s left a comment

Choose a reason for hiding this comment

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

  • I don't think there are any changes that should be documented in file you suggested. I do have added it to the launch files (Which I cleaned a bit).

Well technically for those users who want to utilize the new options via launch file, there's an operational change (i.e. how to enable those options). However I guess a convention might be that those who are familiar enough with ROS to execute camera driver they can easily figure out the usage by looking at the out-most launch (openni2.launch). So I'm +1.

(I've increasingly dealt with experienced engineers who don't have prior knowledge about ROS. I fee like for some of those people these undocumented convention is still difficult)

@130s 130s merged commit 45a5e77 into ros-drivers:noetic-devel Jan 12, 2021
@130s
Copy link
Member

130s commented Jan 12, 2021

And I think this is valuable to backport to prior releases (ROS Melodic, Kinetic). I'm on it now. After that I can release and trigger binary pkg generation.

@MatthijsBurgh
Copy link
Contributor Author

I think the noetic-devel branch can be used for the Melodic release. I don't know about Kinetic.

@130s
Copy link
Member

130s commented Jan 12, 2021

Let's move the release conversation to #103

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.

StringID instead of serialnumber?
3 participants