|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Programmers on the Drive Team
What sort of PID do you use for drive train?
|
|
#2
|
||||
|
||||
|
Re: Programmers on the Drive Team
This year we are using the Talon SRX's built in PID that takes input from an encoder (4 Six Inch Vex Pro Mecanum Wheels, 1 encoder connected to each motor and then connected directly to the talon).
|
|
#3
|
|||||
|
|||||
|
Re: Programmers on the Drive Team
Our driver last year (still TBD this year) is the captain of programming this year. We have a very simple robot (4 actuators: H drive plus lift). He didn't feel that we needed to do very much with the slew driving; we have an arcade drive on our tank wheels and another joystick for strafing.
However, with no active intake and less than 1/4" tolerance to grab the side of the totes, pickup of game pieces takes a long time if being controlled from a distance away behind the polycarbonate. In addition to a camera which will both provide a driver feed and do some automated tote-finding, we have installed five sensors on the lift (four limit switches and an encoder), two rangefinders (distance to game piece or wall left and right), and four touch sensors (two curb feelers to find the scoring platform, and two on the lift face so we know wen we've touched a tote at both left and right ends). The practice 'bot is alternating between drive sessions and programming sessions to semi-automate pickup, stacking, and scoring motions. |
|
#4
|
||||
|
||||
|
Re: Programmers on the Drive Team
While I am not a programmer I was the driver on my team from 2013-2014.
In addition to the button that slowed down the overall speed of the robot (I used 1/3, but it can be slowed down to a number of different variants, whatever works for you really) I also had 2 buttons that would slowly turn the robot left or right, but still allow you to drive full speed, this helped with lining up for the high goal/3 pt. goal in 2013 & 2014. In terms of ease of driving I had another 2 buttons that would spin the robot 180 degrees either left or right, holding the stick forward while doing this would allow the robot to drive around a radius. And lastly there was a button on my controller that would flip the axis of robot, so now driving with the back end of my robot was like driving forwards and vice versa. These buttons might not be necessary to every robot because it definitely depends on your strategy of the game and robot design but for us it made sense. That being said the more the season went on I found myself using these buttons less and less and eventually stopped using them altogether. |
|
#5
|
||||
|
||||
|
Re: Programmers on the Drive Team
We added RGB LED strips on the sides of our elevator. They change color depending on what level our elevator is at so that we can clearly see our mechanisms height. It's pretty helpful!
![]() |
|
#6
|
||||
|
||||
|
Re: Programmers on the Drive Team
Working on an auto-pickup button. Otherwise, changing which side of the robot is the "front" based on which driver trigger is pressed.
|
|
#7
|
|||||
|
|||||
|
Re: Programmers on the Drive Team
I'm not on the drive team, but I take it upon myself to make changes to the control scheme/add features to fit the individual driver's needs. We've added automation to the opening/closing of our intake based off of the stake of the intake's wheels, a "slow button" for the driver, and created an auto-stacking button for the manipulator.
|
|
#8
|
|||
|
|||
|
Re: Programmers on the Drive Team
I'm the lead programmer and one of the drivers this year. I added in an automated program for our lifting device that utilized various limit switch sensors for different states. One can just hold down a button, and the lift will cycle itself appropriately based on the current state. So we can have one driver positioning for collection while the other driver simply holds down the button while totes are being collected. No need to manually control the lift and manually align totes for stacking!
|
|
#9
|
||||
|
||||
|
Re: Programmers on the Drive Team
Quote:
|
|
#10
|
|||||
|
|||||
|
Re: Programmers on the Drive Team
Quote:
Code:
_________/\ ┌───────┐ \ │ │ \ └───────┘ Edit: I attached a photo of how our roller limit switches were mounted. Last edited by GeeTwo : 06-03-2015 at 00:39. |
|
#11
|
||||
|
||||
|
Re: Programmers on the Drive Team
Why did you guys decide on limit switches instead of encoders?
|
|
#12
|
||||
|
||||
|
Re: Programmers on the Drive Team
I have a score button(for placing the totes) and I have control of the roller mechanism. I usually also put an inverse throttle trigger on there for myself(This was super useful last year)
Programming to your needs specifically is super useful |
|
#13
|
||||
|
||||
|
Re: Programmers on the Drive Team
Quote:
|
|
#14
|
||||
|
||||
|
Re: Programmers on the Drive Team
Three words: magnetic limit switches. Switched (rim-shot) to these in 2013 and have never looked back.
http://www.mcmaster.com/#magnetic-switches/=w8hmkk We used numerous magnetic limit switches, supplemented with encoders, to pre-program positions for our tote collector and to implement safety-interlocks on most of our robot's mechanisms. |
|
#15
|
||||
|
||||
|
Re: Programmers on the Drive Team
i am primary driver this year, (not a programer) Really the only thing that our programer aded to the drive is a 50% slowdown on the drive for when getting rcs of the step. We are not even using a gyro on our mecnum drive this year. We had one that worked but i felt that it was just not needed. It almost made the drive feel like it was unnatural. The drive is so much more fluid without it.
On another note, last year i had a button to reverse the front and back of the bot. We shot one direction and picked up the other direction. It was a nice function to show off but it became disorienting to drive with, i always forgot witch way it was going to go if i had been stopped for to long. Never used it much. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|