Fix random walk continual obstacle avoidance #201
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix random walk continual obstacle avoidance
What does this pull request do?
Fixes continuous random walk and obstacle avoidance. There were two issues. One, the propellers are being registered as obstacles. This is not fully fixed yet. For now, propellers have been turned invisible on the Nucleus server side. We have to address that in future. Two, the method for checking how far along the global plan we were had a bug. This has been fixed now. Three, made random walk replan if the drone fails to move for 3 seconds.
Which issue number does this address?
#200
Add videos and images if possible.

How did you implement it?
Edited
droan_local_planner.hpp. Also tuned parameters, such as setting safety weight in droan to 5.0.Testing
How do you run the tests?
Manual testing on the fire_academy.usd scene. Takeoff, global plan, then let it do its thing.
What do the tests do?
Manual test. Ensures continuous random walk and obstacle avoidance works.
What are the expected results of the tests?
Drone should fly random walk pretty continuously. Sometimes the drone still does get stuck in a corner and can't escape, occasionally the drone does pass through a wall. These are deeper bugs that need to be fixed later.
Did you update the docs (and where)?
Initial docs updated, see the paths in
mkdocs.ymlunder "local" signifying DROAN. I think in the future we should put all of DROAN things under the same folder. Need to fill out more docs in the future.