I’m building a Rover using Mission Planner, and I followed the instructions in the documentation, which led me to this GitHub repository: GitHub - jazzl0ver/ardupilot-rover-l298n: How to setup Ardupilot based Rover with L298N motor driver to control with reverse simple DC brushed motors.
Is it necessary to use a Lua script to implement the H-bridge logic? I’m having problems with the Lua script, so I would like to implement it using only Mission Planner parameters.
I’m connecting my directional servo to the MAIN OUT 1 pin and my two motors (left and right) to the same output (ENA and ENB connected to MAIN OUT 2) since I intend to control both of them with the throttle function.
IN1 to IN4 are connected to AUX 3 to AUX 6.
MOT_PWM_TYP is set to 3.
Do you have any suggestions on how I can do this? Am I following the correct path?