|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Drivers Control
On 3309 this year we used 2 Xbox 360 controllers. The base driver (me) used the controller in a "Halo/Cheesy Drive" control scheme to drive our WCD base. The left stick was throttle and the right stick was turn. We also had some good autocorrect code using a gyro so our robot would actually drive straight. We used the right analog trigger so when it was held we would be in low gear and switch back to high when it was released.
The second driver used his Xbox controller to run the shooter, with buttons for preset speeds. There was also a button which when held would shoot when the wheel was at the right RPM. The right stick was for small turning adjustments (to let him help me line up at the pyramid) and the right stick was for our dumper. |
|
#2
|
||||
|
||||
|
Re: Drivers Control
We used a steering wheel for a swerve drive, and I know that bomb squad has done the same in the past.
We had swerve so that the two front wheels would always be at the same angle, and the rear wheels would always be at the same angle. We had two modes. In the first mode, we had no control over our orientation. We had one joystick that set the direction that robot would travel. The second mode used a steering wheel and two pedals. The pedals set the robot's speed. The wheel changed the turning radius. If the point we where were turning around was outside the robot's frame perimeter, the robot "snaked" and the wheels would go like this /.../ \...\ This would also have the two left wheels drive a little bit faster, as they had to travel a farther distance. If the point of turning was inside of the robot's frame perimeter, it would just skid steer turn. Also, we had two buttons which control "crab mode", which would add 90 degrees to the wheel angle and caused the robot to go sideways. This worked for one year for a very strange driver, but the year after, we just went with two joysticks. |
|
#3
|
||||
|
||||
|
Re: Drivers Control
Quote:
|
|
#4
|
||||
|
||||
|
Re: Drivers Control
We did the math. The steering wheel angles were mapped to a turning circle radius. Then, we figured out what the radius for the inner wheels was and the radius for the outer wheels was. We found the ratio of the two radii, set the outer wheels to the speed set by the pedals, and multiplied the pedal speed by the ratio of the inner/outer radius to get the speed for the inner wheels.
It only made a difference for really the tighter turns. It also helped in 09 to maintain traction with the floor. |
|
#5
|
||||
|
||||
|
Re: Drivers Control
:-)
Quote:
|
|
#6
|
||||
|
||||
|
Re: Drivers Control
Quote:
|
|
#7
|
||||
|
||||
|
Re: Drivers Control
We really loved our gamepad + joystick setup this year. The gamepad was used by the driver. Our main driver this year preferred tank drive, I prefer cheesy drive. While I find that cheesy allows most people to perform better, it really depends on your driver. Also we tried xbox controllers last year but we prefer the gamepads because the joysticks are located right next to each other.
The operator controls really can vary year to year. We've used a logitech joystick for the past few years because we haven't needed anything else. Ideally we would have custom buttons for each year, but we don't have enough manpower to design and build a control board each year. For now, if we ever run into a situation where we need more buttons/joysticks we will likely use an xbox controller/gamepad. |
|
#8
|
||||
|
||||
|
Re: Drivers Control
Well... it's pretty hard to beat this as far as controllers go. It made our robot look about twice as awesome as it really was :D It's plug & play :P
|
|
#9
|
||||
|
||||
|
Re: Drivers Control
I've only been on my team 2 years, but as the lead programmer, I've set up a number of different controls systems for our team to use. We've tried the following for driving:
Two logitech joysticks for tank-drive One logitech joystick arcade style using the x axis(left to right) One logitech 3D joystick arcade style using the z axis(twist) One Xbox controller In addition, we used the throttle lever at the bottom of the joystick to throttle the maximum speed up and down, and we used a side thumb button to invert driving, when the robot was turned around. The result was that our drivers(and myself) preferred using a the logitech 3D joystick to drive arcade style using the z axis to turn, and we used a second logitech joystick to control various other functions on the robot including our shooter(2012) and our climbing mechanism(2013) |
|
#10
|
|||
|
|||
|
Re: Drivers Control
2008: This was before my year, but in 2008, 957 used a steering wheel and two beige kit joysticks. The robot had ackermann steering, so the steering wheel controlled the angle of the front wheels. The joystick controlled the left and right drive motors. It did not work very well...
2009: Since we had a crab-drive robot that didn't work very well, I don't recall what we used (it may have had 2 modes, but I'm not sure). 2010 and 2011: Standard tank drive with 2 kit joysticks T-shirt launcher: Also standard tank drive, but the older beige (pre-2009) kit joysticks 2012 and 2013: Mecanum drive with 2 kit joysticks Here's the setup we use for mecanum (someone mentioned it in a thread several years ago, but I can't find it): Linear motion was controlled by the average position of the two joysticks Rotation was controlled by the difference in the Y axes of the joysticks In essence, if you move the joysticks "together" (keep them in identical positions), you get only translational motion. If you move one forward and one backwards (as you would when turning a tank drive robot), you cause the robot to turn. In 2012, I did some testing to compare this setup with using a single 3-axis (four if you count the throttle) joystick, and found that it gives you more control and precision than a single joystick. With a single joystick, it was easy to mix up the lateral and translational axes and there was limited precision in rotational control. |
|
#11
|
||||
|
||||
|
Re: Drivers Control
Starting in 2013, 846 has a been using a steering wheel for turning and a joystick for throttle. We tried out the idea after seeing 971 use a steering wheel setup. Having the turn and throttle components on separate controls allows us to drive straight and turn in place more easily, and it also allows better control of arc turning (turning while driving forwards/backwards).
We found this as the optimal driving scheme after experimenting with several other setups as well: 2011-2012 - Single joystick for forward and turn, forward and back motion for throttle, joystick twist for turn. This made arc turning difficult because both motions were controlled with one hand. Turning in general was also difficult because the twist was more sensitive and turning with the wrist was more difficult to control precisely. Off-season - We also tried two other setups during off-season, tank drive and vector drive. Tank drive used two joysticks, one to control the left side and one to control the right side. This made the driving feel more natural, but it also made precise control difficult. Driving straight was difficult and precise turning speed was hard to control. Vector drive used the angle of the joystick to specify the direction of the robot and the magnitude to control the speed. The robot would turn automatically to face the angle pointed by the joystick and move forward at that speed. Although this field-centric setup made it easier to go the direction we wanted, it was difficult to control for tight manipulations. Last edited by raphaelchang : 01-09-2013 at 01:59. |
|
#12
|
|||||
|
|||||
|
Re: Drivers Control
Quote:
|
|
#13
|
||||
|
||||
|
Re: Drivers Control
2011- cyborgx joystick arcade drive style on a west coast drive
2010/2012- cyborgx joystick on a mechanum drive also arcade style 2013- xbox controller with an arcade style drive on the a modified kit bot chassis my favorite was the xbox controller it was a lot more comfortable to drive with and the co-driver also had one controlling the shooter |
|
#14
|
||||
|
||||
|
Re: Drivers Control
2011: We used 1 Logitech controller for arcade drive, and a custom board for positioning the arm. It had a "Mini me" version of our arm with potentiometers and correct arm segment lengths that we used for custom positioning. It also had buttons in a layout for the drivers to press, along with sweep and station, and "Barf and flip", which was used for clearing the tubes.
2012: 1 xbox controller for octocanum control. Also controlled bride manipulator. 1 logitech for turret, intake, and firing control. 2013: 1 flight controller, 1 logitech. The flight controller had a constant rate throttle, and an arcade joystick for turning. Also controlled hanging. Logitech controlled all disk handling and lateral aiming, in addition to firing. |
|
#15
|
|||
|
|||
|
Re: Drivers Control
Us FRC old-timers remember the old black Flightsticks (with just a trigger and top button) that were replaced in the KOP in 2004 by the crappy beige joysticks in the kit from 2004-2008.
MANY teams continued using the far superior black Flightsticks until they were completely dead, especially for controlling the drivebase with. Some teams modified them to add extra buttons, or different handles. It was an interesting time. In 2009, most teams used the Logitech joysticks we know and love today. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|