![]() |
Victor 884 calibration
How do you calibrate a victor 884 so when using an xbox 360 controller the motors do not turn when not moving the joysticks.
|
Re: Victor 884 calibration
That should be changed in your program. Output the values you receive from your joysticks to screen and when your joysticks are centered set that value to neutral.
|
Re: Victor 884 calibration
Quote:
Pavan. |
Re: Victor 884 calibration
All teams should be calibrating speed controllers to their control system. It is the only way to insure that you have full range in both directions and insuring that the joystick will cause a 127 when released (center position). Although the Victors come calibrated to known joystick values they have not been matched to your joysticks. Do your drivers a favor and calibrate.
|
Re: Victor 884 calibration
In this case, the first thing I would do is calibrate the Chicklet. Follow the directions in the manual here. If you calibrate your robot code or Victors to match whatever the joystick is outputting now you could create a dangerous situation. Consider this: if your Chicklet is outputting a value of 110 when the joystick is centered, and you calibrate to this, then if the Chicklet gets unplugged (setting the joystick value to 127), your robot will drive forward. As a rule of thumb, you always want to start by calibrating your joystick such that it outputs 127 when it is centered.
|
Re: Victor 884 calibration
Quote:
|
Re: Victor 884 calibration
Quote:
|
Re: Victor 884 calibration
On my Xbox controller, My return-to-center values are 110 to 140, depending on from which way its returning to the center. I just put an input deadband in that covers these values.
Jacob |
Re: Victor 884 calibration
Here is some code that can be used to scale the joysticks:
Code:
/* Typedefs so that compiler-independent types can be used. These should beCode:
/* #defines as an example */ |
Re: Victor 884 calibration
Quote:
This is why we recommend the Logitech Dual action instead of the X-box controller. The X- box is not as consistent when returning to center. |
Re: Victor 884 calibration
I would actually recommend that new teams with no experience in calibrating the victors avoid doing so at all costs unless you can get a qualified person to help. We tried it in 2005, when we had all rookie team-members, and it caused us nothing but harm. The 'bot would go crazy during autonomous, and we could never get the controls to respond right. Looking back now, we can see that this was all do to the fact that we had zero experience in electrical/programming, and made mistakes... but they were easy ones to make. Try to stick to the trim-tabs on the joystick. In cases like with the Xbox controller, your dead band is an awesome and simple solution to the problem.
|
Re: Victor 884 calibration
This is why I love the USB Chicklet. With the Logitech 3D Pro, full forward is EXACTLY 254, full reverse EXACTLY 0, and neutral EXACTLY 127. You don't need to worry about scaling code, or about calibrating to joysticks and not to software.
|
Re: Victor 884 calibration
Quote:
|
Re: Victor 884 calibration
Quote:
|
| All times are GMT -5. The time now is 11:43. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi