How to mix the input from two sticks to control 2 motors
Posted: Sat Oct 26, 2019 11:14 am
Hi,
I am sorry if I am using the wrong terms, but I am brand new to RC control hobby. Due this I do not even know what terms to search for.
I have two motors, two ESC, one FRSky x8r, and a turnigy 9x pro flashed with Er9x I got from a friend - using Mode 2. I am able to setup simple things like an RC car having one motor and one servo.
However, right I am doing a new project on my 3d printer, I want to build a bulldozer. The 3d modeling is going well, but I am struggling to setup the RC part. What I want:
left stick left/right: steering
right stick up down: throttle, forward/backwards
Each of the tracks of my bulldozer is run by its own motor, each motor has its own ESC.
Goal: if I push the right stick forward, both motors should turn "forward" the same speed. But if I use the left stick left/right, the motor of the inner side of the desired driving curve should go slower.
To make it more clear:
left stick / right stick / desired result
full left / up / drive forward, only the right motor, 100%
half left / up / drive forward, left motor 50%, right motor 100%
middle / up / drive forward, both motors 100%
half right / up / drive forward, left motor 100%, right motor 50%
full right / up / drive forward, only the left motor, 100%
Edit:this part is working adding the left stick in the mixer to both motor channels, and reverse the outcome on the second. However, it works forward this way, but not backwards.
I would need:
full left / down / drive backward, only the right motor, 100%
half left / down / drive backward, left motor 50%, right motor 100%
middle / down / drive backward, both motors 100%
half right / down / drive backward, left motor 100%, right motor 50%
full right / down / drive backward, only the left motor, 100%
The way using the added channel to the mixer of both motors is resulting in:
full left / down / drive backward, only the LEFT motor, 100%
...
full right / down / drive backward, only the RIGHT motor, 100%
Which is the wrong way.
I hope you get what I mean and can help me.
I appreciate any pointer to the right terms, or to manuals how to setup this using my hardware/software listed at the top of the posting.
Regards,
Peter
I am sorry if I am using the wrong terms, but I am brand new to RC control hobby. Due this I do not even know what terms to search for.
I have two motors, two ESC, one FRSky x8r, and a turnigy 9x pro flashed with Er9x I got from a friend - using Mode 2. I am able to setup simple things like an RC car having one motor and one servo.
However, right I am doing a new project on my 3d printer, I want to build a bulldozer. The 3d modeling is going well, but I am struggling to setup the RC part. What I want:
left stick left/right: steering
right stick up down: throttle, forward/backwards
Each of the tracks of my bulldozer is run by its own motor, each motor has its own ESC.
Goal: if I push the right stick forward, both motors should turn "forward" the same speed. But if I use the left stick left/right, the motor of the inner side of the desired driving curve should go slower.
To make it more clear:
left stick / right stick / desired result
full left / up / drive forward, only the right motor, 100%
half left / up / drive forward, left motor 50%, right motor 100%
middle / up / drive forward, both motors 100%
half right / up / drive forward, left motor 100%, right motor 50%
full right / up / drive forward, only the left motor, 100%
Edit:this part is working adding the left stick in the mixer to both motor channels, and reverse the outcome on the second. However, it works forward this way, but not backwards.
I would need:
full left / down / drive backward, only the right motor, 100%
half left / down / drive backward, left motor 50%, right motor 100%
middle / down / drive backward, both motors 100%
half right / down / drive backward, left motor 100%, right motor 50%
full right / down / drive backward, only the left motor, 100%
The way using the added channel to the mixer of both motors is resulting in:
full left / down / drive backward, only the LEFT motor, 100%
...
full right / down / drive backward, only the RIGHT motor, 100%
Which is the wrong way.
I hope you get what I mean and can help me.
I appreciate any pointer to the right terms, or to manuals how to setup this using my hardware/software listed at the top of the posting.
Regards,
Peter