Skip to content

Conversation

@0RayZhang0
Copy link

Thank you for this very convenient and helpful plugin. However, there is a problem of data loss when the output.max and output.min are out of the range -π to π because the result of function std::atan2 is between -π to π. I have made some simple modifications to make it suitable for any desired angle.

This code has been tested under the PX4 Collision Prevention module where (0,2π) is needed.

@0RayZhang0 0RayZhang0 closed this Apr 18, 2024
@0RayZhang0 0RayZhang0 reopened this Apr 18, 2024
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.

1 participant