Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trying to figure out the yaw control for a tank model
#1
Hello,
I'm using the mamba F405 FC stack with a radiomaster R88 receiver and radiomaster X16s transmitter. I'm using these components to control a tank, rover vehicle. I have all the components working properly in Betaflight. I have 2 motors and can drive the tank forwards and backwards. I have the motors configured as bidirectional and the 3D motor configuration in Betaflight is set for the high, middle and low range of the throttle control.


I can't figure out how to get the yaw (right, left) to work, so I can't turn the tank. What should happen when I use left or right yaw is that the motors should turn in opposite directions. The Betaflight receiver tab shows all the controls on the transmitter working correctly. Any idea what I need to do to get the yaw control working?

Thanks
Reply
Login to remove this ad | Register Here
#2
You won't be able to do it with Betaflight. The whole concept behind the PID controller in the Betaflight firmware running on a flight controller is to tilt the onboard gyro to a designated setpoint and have authority over the individual motors and servos in order to achieve that without the aircraft tumbling out of the sky, You therefore aren't going to be able to configure Betaflight to manually control individual motors for the wheels of a ground based vehicle.

For what you want to do you will need to look at using something like ArduPilot firmware instead...

https://ardupilot.org/rover
Reply
#3
INAV can do some of this.

Pawel has a video on the topic and also a couple of tutorials doing this with INAV:



https://quadmeup.com/how-to-setup-inav-on-a-rover/

https://quadmeup.com/inav-for-tracked-rovers/
Reply
#4
This should be possible with a custom motor mix in Betaflight, but I agree it would be much easier to just use iNav.
Reply
#5
https://rotorbuilds.com/build/26600

another vote for arduino :-) just because of that example above, not from experience. maybe you can get nice aupport from the guy on rotorbuilds for your tank and arduino
Reply
#6
thanks everyone for your suggestions. I'm trying the latest version of INAV on my tank rover.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  FPV Tank project finished! Spiff 21 5,877 11-Aug-2020, 07:02 AM
Last Post: wllmlutz
  Build Convert a toy tank into a TinyTrack B. Von Bla 3 1,561 26-Feb-2019, 03:21 PM
Last Post: Drone0fPrey


Login to remove this ad | Register Here