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

KD-tree attempt #494

Draft
wants to merge 28 commits into
base: dynamically-feasible-trajectories
Choose a base branch
from

Conversation

nicovanduijn
Copy link
Collaborator

This is a hacking branch that attempts to replace the histogram with a KD-tree for nearest-neighbor searches.

Doesn't work well at all right now, I just wanted to share my findings if somebody is interested.

May be most useful if looked at on a commit-by-commit basis, I tried to keep them functionally separate

baumanta and others added 27 commits September 2, 2019 11:53
* add new test for histogram compression

* fix elevation cropping at compression
* use fsm in local planner waypoint generator

* add direct state to local planner fsm

* adapt local planner waypoint generator tests to the state machine

* remove unused code

* clean up state machine in local planner

* modify cost function to get back on the prev to current waypoint
line after the obstacle is avoided

* init state machine in loiter state and uncomment code

* fix tests for new cost function and state machine initialization

* fix uninitialized variables and remove unused variables

* SLPState -> PlannerState for local planner state machine

* improve cost function to go back to the line previous-current goal only
if there aren't any obstacle in the direction of the goal. This prevents
indecision when avoiding wide obstacles
This commit changes the star planner to distinguish between setpoints
sent to the position controller and the actual positions we would then end
up in.
- penalize for big angular changes between parent-child nodes in the tree
- penalize for big angular changes at the tree root between iteration
…int in that direction, rather than nearest distance in that direction
* -------------------------------------------------------------------
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/.
Copy link
Contributor

Choose a reason for hiding this comment

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

Remind me to make a BSD license of this when this is closer to being merged

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.

None yet

4 participants