Skip to content

Amrnav 4933 add exact mode #12

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

Merged
merged 4 commits into from
Jun 21, 2023
Merged

Amrnav 4933 add exact mode #12

merged 4 commits into from
Jun 21, 2023

Conversation

tonynajjar
Copy link

No description provided.

@tonynajjar tonynajjar changed the title hAmrnav 4933 add exact mode Amrnav 4933 add exact mode Jun 19, 2023
@tonynajjar tonynajjar requested a review from jplapp June 19, 2023 12:33
// TODO(anyone): find the best function, e.g convex power functions
scale = cos(alpha_delta);
else {
scale = (alpha_delta < M_PI / 6) ? 1.0 : 0.0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

would be nice to make this threshold a parameter to experiment with

@tonynajjar
Copy link
Author

@jplapp implementation as a parameter is done. Regarding the service to toggle between exact_mode, I just realized that a much cleaner way would be to use the add_on_set_parameters_callback. However I'm now thinking it's not worth the effort since we will migrate eventually to the new controller architecture and there they use https://github.com/PickNikRobotics/generate_parameter_library. If you're okay with that, i'm ready to merge after your review

@tonynajjar tonynajjar requested a review from jplapp June 20, 2023 08:00
@tonynajjar tonynajjar merged commit d6959d0 into humble Jun 21, 2023
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