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

Relative position control should take into account yaw. #7

Open
david-boles opened this issue Oct 24, 2019 · 0 comments
Open

Relative position control should take into account yaw. #7

david-boles opened this issue Oct 24, 2019 · 0 comments

Comments

@david-boles
Copy link
Contributor

Confirmed with Prof. Tellex, the math for position control using the previous image needs to account for the yaw of the drone when that image was taken. Also, the current pose's yaw should be updated. I believe, for x, y, theta in the global coordinate frame, and dx, dy, dtheta in the previous image's coordinate frame, the math looks like:

theta' = theta + dtheta
x' = x + cos(theta)dx - sin(theta)dy
y' = y + cos(theta)dy + sin(theta)dx

Scaling between the coordinate frames should be the same because altitude is taken into account before this math happens. Also, this obviously still assumes the camera is pointing straight down.

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