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

[BUG]: Divide by 0 error when calculating acceleration #110

Closed
evan-palmer opened this issue Aug 12, 2022 · 0 comments · Fixed by #111
Closed

[BUG]: Divide by 0 error when calculating acceleration #110

evan-palmer opened this issue Aug 12, 2022 · 0 comments · Fixed by #111
Assignees
Labels
bug Something isn't working

Comments

@evan-palmer
Copy link
Contributor

evan-palmer commented Aug 12, 2022

Describe the bug

There is an occasional error that occurs when computing the acceleration during collision avoidance checking. When this occurs, this causes the system to fail.

To Reproduce

Steps to reproduce the behavior:

  1. Execute a collision avoidance example (i.e., collision_avoidance.py or collision_avoidance_no_flight.py)

Expected behavior

The system should properly anticipate and handle a potential 0 denominator

Stack Traceback

This occurs in the message_listeners.py file. A fix has been pushed to the branch icra_2023 and can be ported to the main branch

Project Version

v0.1.0

Desktop

The error occurred on a Dell XPS 13 running Ubuntu 22.04 natively. The script was run from within the development container.

Additional context

N/A

@evan-palmer evan-palmer added the bug Something isn't working label Aug 12, 2022
@evan-palmer evan-palmer self-assigned this Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant