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

Fix Python install #122

Merged
merged 4 commits into from
May 22, 2023
Merged

Fix Python install #122

merged 4 commits into from
May 22, 2023

Conversation

pac48
Copy link
Collaborator

@pac48 pac48 commented May 22, 2023

This PR fixes the install behavior for colcon build. Now both symlink and non-symlink install correctly and can be imported. Also, I changed the admittance_parameters import admittance_controller to generate_parameter_module_example.admittance_parameters import admittance_controller. I believe it's better this way to avoid cluttering the Python namespace.

There is an unfortunate side effect to installing with symlink. Since the install location is linked to the source, the generated code appears in the project's source code. I don't know if there is any way around this.

@tylerjw tylerjw merged commit e11eb34 into PickNikRobotics:main May 22, 2023
@pac48 pac48 deleted the fix-python-install branch July 25, 2023 16:20
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