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

Removing code from nodes #298

Conversation

davelkan-zz
Copy link

Currently several classes exist in the camera_calibration/nodes directory. This prevents anyone from importing these classes for use in other projects. Moving the classes to their own file in the camera_calibration/src directory would allow importing of these classes without impacting functionality of the package. Besides doing this I noticed a few imports that did not appear to be used, so I removed these.

I have tested successfully the cameracalibrator.py and camerachecker.py and using a monocular camera but do not have a stereo set up to test with.

@davelkan-zz
Copy link
Author

build failures appears unrelated to this pr

@vrabaud
Copy link
Contributor

vrabaud commented Oct 22, 2017

agreed. Can you please use "git mv" so that we can keep the history of those classes ? Thx.

@davelkan-zz
Copy link
Author

davelkan-zz commented Oct 23, 2017

Tried using git mv but same result. Looked into and apparently git history is based on filename. Using git mv tells the history to look at a new filename, however adding back the original filename, which is necessary in this case in order to preserve the functionality without requiring users to suddenly memorize a new executable. I'm looking into solutions now, but i'm currently not sure how to get the history attached to src/ files as requested.

@davelkan-zz
Copy link
Author

davelkan-zz commented Oct 23, 2017

This pr has been replaced by #301 and will be closed shortly.

@vrabaud vrabaud closed this in b73c17d Nov 5, 2017
@vrabaud
Copy link
Contributor

vrabaud commented Nov 5, 2017

Thx for trying. Changes were too big for git. I replicated your method with different commits. Thx !

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.

None yet

3 participants