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

First takeoff in pybullet #13

Merged
merged 13 commits into from
Mar 10, 2019
Merged

First takeoff in pybullet #13

merged 13 commits into from
Mar 10, 2019

Conversation

avikde
Copy link
Owner

@avikde avikde commented Mar 8, 2019

  • check lift magnitude and try to get it reasonable
  • try to make it fly up. need to understand applyExternalForce better. Try to apply a fake force that should make it fly up
  • compare fake force to aero force till it can fly up
  • add gravity

Will leave controlled flight (even using old stroke deviation ideas) to the next PR.

@avikde
Copy link
Owner Author

avikde commented Mar 8, 2019

Some observation of dq reveals that

  • dq[0] = stroke vel ~= peak 12 rad/s
  • dq[1] = hinge vel ~= peak 18 rad/s

EDIT: the problem was that timestep in the sim was still the default.

@avikde
Copy link
Owner Author

avikde commented Mar 8, 2019

pybullet debugging.xlsx

@avikde
Copy link
Owner Author

avikde commented Mar 9, 2019

Created an issue: bulletphysics/bullet3#2152

@avikde
Copy link
Owner Author

avikde commented Mar 10, 2019

Pretty nice flapping kinematics!
ezgif com-video-to-gif (1)

@avikde
Copy link
Owner Author

avikde commented Mar 10, 2019

Without fixed base it appears to spin around a lot

@avikde
Copy link
Owner Author

avikde commented Mar 10, 2019

With applyExternalForce [0,0,1], a plot of zdot(t) looks like this
image

So zdd ~= 17 m/s^2, so force was m= 0.055kg*acc ~= 1. Oops, mass was 55g not mg.

@avikde
Copy link
Owner Author

avikde commented Mar 10, 2019

Another video of flapping kinematics, after mass and hinge parameters were updated
ezgif com-video-to-gif

@avikde
Copy link
Owner Author

avikde commented Mar 10, 2019

Finally flying! https://youtu.be/Qm0_yIEXycU

@avikde avikde merged commit 84cd371 into master Mar 10, 2019
@avikde avikde deleted the takeoff branch March 10, 2019 19:46
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

1 participant