Help. When I try to code my 6 motor drive that is a 36:60 with 3.25 inch wheels, I tried to make the robot faster by using the velocity code, but It doesn’t work. I don’t know what to do.
Change the forever for the set velocity into a different place such as where you put the first 2 set velocity. so Set Conveyer velocity to 600rpm and put that under there instead of under forever.
I dont know whats going on, but I tried it and it doesn’t work
What kind of controller are you trying to code? Split arcade, arcade, or tank?
Your velocity setting code isn’t doing anything. When you are spinning you specifiy what speed you want the motors to spin at (in volts). If you want the drive to go faster, you could mess with the number you are dividing the sum. Also the speed left and speed right calculations look off.
You have these switched which will cause the robot to turn when you go forward on the 3 axis. It seems like you are correcting for this by changing the direction. But instead you should just switch axis 4 and 3 on the speed right calculation, to make sure that you are keeping the correct signs when driving and not dividing the wrong numbers.
the corrected calculation looks like this.
This should make your drive go faster and more straight (this is the fastest you can go straight)
I am trying to go for arcade control.
Ok, thank you! But only issue is that the motors max are 12 wat and 100/8.3 is 12 so I don’t think I can go higher.
How fast it goes now is the fastest it will get without physically changing the robot. However 36:60 should be a decent speed. Are you using blue or green cartridges? If green I would recommend switching to blue. If you are limited to only green then you can switch the 36 and 60 tooth gears.
I would also recommend setting the speed in volts not rpm just so it’s more readable.