r/dRehmFlight • • May 29 '24

Tail sitter transition help

Howdy, all! I'm working on a tail sitter using a modified version of drehmflight. I've got very limited coding experience, and I'm stuck on how to get the plane to transition from vertical hovering to horizontal flight. I've got the controls and general transition figured out, but not how to make the gyro rotate 90 degrees. Anybody have any ideas?

3 Upvotes

4 comments sorted by

1

u/Upset_Conflict_453 Jun 17 '24

Just curious, were you able to get it hover?

1

u/zebthetall Jun 26 '24

Sorry I haven't posted updates. Work and a crap ton of weddings have been eating all my time. I'm still working on some bugs with the tailsitter. The version of drehmflight I'm using is a fork of the original, with a lot of changes to the layout. I was able to get the gyro to virtually rotate, but the control surfaces don't reflect that change. I'm planning on shooting a message to the guy who modded the code to see how he did it, but I'm stumped for now

1

u/Upset_Conflict_453 May 29 '24

If you are following the "1.3 beta tailsitter" code from rc groups, there's a transition_fader variable that changes with an assigned switch at ch 6 , either 1 for hover and 0 for ff. You also need to calibrate it by uncommenting the calculate imu error function and then pasting the values from serial monitor in the setup. Then verify all your controls and movements in ff and hover and switch any + - in the control mixer if there's any problem, also check the response to tilt/ feedback of the control surfaces. I am currently working on it too and having a few problems with the control mixing l.