rosflight / rosflight_ros_pkgs

ROS packages for the ROSflight autopilot
http://rosflight.org/
BSD 3-Clause "New" or "Revised" License
86 stars 56 forks source link

Plane Doesn't Fly #36

Closed superjax closed 6 years ago

superjax commented 6 years ago

So I fixed #24, and we can now fly the plane. However, I'm pretty sure something is wrong with the dynamics, because when I get enough airspeed that we start to run the aerodynamics, the plane goes into a flat spin. It's sort of amusing to watch, but it's not actually what I want. Haha.

superjax commented 6 years ago

I tried adding wheels per @gellings suggestion. Still didn't work. I suspect that something is wrong in the dynamics. Perhaps later, I'll compare them with the book.

gellings commented 6 years ago

I just looked over the dynamics and I haven't found anything yet. I'll keep looking at them if we are sure they are the problem. Are we sure that its not a problem with gazebo, we did have to do a funny rotation to make the module line up right. Could the dynamics be calculated in one direction and applied in another?

gellings commented 6 years ago

see PR #37, it was a bug introduced to the dynamics after all.