Hello Jacob! I am joining the competition of AUV’s and i can not control my vehicle by scripts. Finally i found this code and it worked but it does not set the velocity of each motors, all of motors are turning same velocity. Can you share examples or can you say what should i do?
Hi @mech, welcome to the forum
Not sure what exactly you’re referring to here. You can control the rotational speed of a thruster (RPM) by the relationship specified in our T200 technical details (there’s a chart of RPM vs ESC PWM input value). Assuming you’re running our companion computer and a Pixhawk with ArduSub on it (with a valid frame for your AUV design) you should be able to use pymavlink to send control commands to the Pixhawk.
The code in this thread is for operating in ACRO mode (some details here), which you may not require. I’d suggest you start with working your way through our pymavlink examples, and you can post follow-ups if a particular piece of functionality isn’t working as expected, or isn’t clearly documented in an understandable way
Hello. How do you stop the rc override at certain seconds? I tried doing the loop algorithm by having values to either 1900 (forward) or 1100 (reverse) and once the loop is done, I implemented an override value of 1500 (stop) which is supposed stop my robot from moving, however, it did not. It only worked when I used recursive functions.
I got my full details about the problem here:
Hi @angela804, welcome to the Blue Robotics forum
I’ve responded to your original post over on the general ArduPilot forum, both because you’re using ArduRover and because that’s where you gave the actual details of your post.