-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Added moveByRotorSpeed command for QuadX #890
Conversation
Enables to move the quadcopter in X configuration by setting each rotor speeds in rad/sec with the command moveByRotorSpeed.
Hi @zbenic, I was thinking about bit better way to implement this. One way I thought about was to rename existing mveByAngle to moveByAngleZ and then add another method moveByAngleThrottle. That's what I exactly did in this commit: b4a934b Notice that moveByAngleThrottle ultimately is implemented in simple_flight controller. Also, instead of yaw, I'm using yaw_rate because that's what RC does. However if you want yaw instead it's very simple change. I haven't tested this thoroughly but hopefully this provides good starting point for your purpose. |
Thanks for the info, but in my case your proposed solution is not suitable. |
In that case, may be we should add new moveByPassthrough API? I thought you needed same control as RC (which internally would end up using PIDs). |
Yeah, I don't need the same control as RC as the plan is to simulate autonomous multirotor. |
Enables to move the quadcopter in X configuration by setting each rotor speeds in rad/sec with the command moveByRotorSpeed.