|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Jaguar Motor Control
Quote:
Quote:
|
|
#2
|
||||
|
||||
|
Re: Jaguar Motor Control
Quote:
Also, there is a slack in the chain and we can't fix it mechanically because the of the layout of the gearboxes (when you flip them the chain gear is on the other side). Isn't there a way to fix this via software (IE, adjusting the value for each motor controller?) |
|
#3
|
||||
|
||||
|
Re: Jaguar Motor Control
Quote:
|
|
#4
|
||||
|
||||
|
Re: Jaguar Motor Control
If this didn't change anything no code can fix your problem. Make sure when you used MotorControl correctly, and Opened a motor in begin and closed it in finish and didn't have any conflicting PWMs with a motor in a RobotDrive open. RobotDrive is supposed to make programming a drive base easier, but is very convention over configuration. If you don't like the convention, then you'll have to go somewhere else I believe.
|
|
#5
|
||||
|
||||
|
Re: Jaguar Motor Control
Ok, it is possible to do this but you will not be using the Arcade Drive. You need to check the values and while the value of a joystick axis is over a certain number you need to begin to take away from the motor output. So you need to read info from 2 axises; 1 for speed and the other to sense when the speed needs to be reduced so you would use "While Axis 1 > 0.2 or Axis 1 <-0.3 (Axis 2 - Axis 1)... This is rather hard to explain through text, but you need to create an algorithm for deprecation of motor speed and a float system so you dont take away speed imediatley. Good luck!
|
|
#6
|
||||
|
||||
|
Re: Jaguar Motor Control
I'm confused. Is there no way to simply adjust the values for each individual motor.
|
|
#7
|
|||||
|
|||||
|
Re: Jaguar Motor Control
Quote:
For instance, multiple one joystick by .9 to reduce it to 90% of the power of the other joystick in Tank Drive. If you want full control of individual motors, then you have to declare them as individual motors and setup your own drive logic, rather than using Open 2/4 Motor or Tank/Arcade/Holonomic Drive. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|