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

RoundAngle function's radian assertion causes memory dump #1

Closed
deksprime opened this issue Aug 3, 2018 · 1 comment
Closed

RoundAngle function's radian assertion causes memory dump #1

deksprime opened this issue Aug 3, 2018 · 1 comment

Comments

@deksprime
Copy link

When simulating the copter, if the yaw angle becomes exactly -180 the program crashes. This is notified by the trace
copter_viewer: /home/xxx/multicopter_design/projects/copter_simulation/src/inertia_sensor.cpp:88: const double copter_simulation::RoundAngle(double): Assertion `radian >= -M_PI && radian < M_PI' failed. Aborted (core dumped)

Commenting out this resolves the issue.

@ghost
Copy link

ghost commented Aug 3, 2018

Thank you for catching this! It should be fixed by commit 19fcbdd now.

@ghost ghost closed this as completed Aug 3, 2018
This issue was closed.
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

No branches or pull requests

1 participant