|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#31
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
We use encoders on the wheels and prefer limit switches on elevators and beam breaks to track game pieces. The Grayhill encoders are pretty tough and smooth. This year we used hall effects from wcproducts and loved them. For beam breaks we like the Optek OPB720B family. We are getting away from mechanical limit switches unless we can protect them so there is no bending or stress. Going past the optical or hall effect sensors is not as big a problem as mechanical sensors.
Finally the maxbotix sensors are great for ultrasound ranging and the ADXRS453 the best gyros (at a reasonable cost) we've used lately. Last edited by wireties : 27-07-2015 at 03:50. |
|
#32
|
|||
|
|||
|
Re: Which sensors should be used throughout the robot?
We 3d printed an adapter and housing to connect a tape measure to a 10 turn potentiometer as our lift has around 60 inches of travel. Total cost: around 1/4th of an encoder. We also could not use an encoder easily because of our gearbox configuration.
|
|
#33
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
A question for those teams trying to limit the use of mechanical limit switches, don't you need some to have a "dry" connection to stop your mechanism at the extreme limits?
We have used and continue to use mechanical limit switches to feed directly into the jaguars to stop the jaguar if the limit switch is hit. We have struggled to mount them securely and precisely so they do the job without breaking. They always seem to be an afterthought. So I am looking for something better. |
|
#34
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
Quote:
HTH |
|
#35
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
Quote:
http://www.amazon.com/ME-8169-Flexib...qid=1438006707 |
|
#36
|
|||
|
|||
|
Re: Which sensors should be used throughout the robot?
gyros and encoders
|
|
#37
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
I have to take a moment and point out the amazing NavX board from Kauai Labs: http://www.kauailabs.com/store/index...&product_id=56
It integrates directly with the RoboRIO and provides a single fused heading as well as individual sensor feedback. There has been a lot of work going on the last few weeks for making the LabView libraries even more robust for the board for the coming season. I suspect the other platforms are seeing similar upgrades. |
|
#38
|
|||||
|
|||||
|
Re: Which sensors should be used throughout the robot?
Quote:
|
|
#39
|
|||
|
|||
|
Re: Which sensors should be used throughout the robot?
Quote:
Be careful zip-tieing the wire down. I've seen cases where there was added backlash due to the wire moving when changing directions. We now always make a small lexan bracket and use that to secure the encoder rotationally. It couples the high frequency information in much better. |
|
#40
|
|||
|
|||
|
Re: Which sensors should be used throughout the robot?
Quote:
The FPGA image on the roboRIO supports DMA. That lets you save the state of all of the sensors, counters, and encoders to a buffer every time the event happens, and then go retrieve it when you have time. We patched WPILib last year to enable it, but the patches should be upstreamed this year. DMA is very handy and useful. This is how we calibrated 4 of the 5 encoders this year on our robot. |
|
#41
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
Quote:
Also, I'm not super familiar with JNI or the fancier parts of WPILIB, but it looks to me like you just pass your Handler function into the FGPA, which I assume would be watching it on a specified thread already. It might be different if you are working with WPILIBC though, since WPILIBJ just stops once you hit the native calls and I don't remember where/if you can look up with implementation. |
|
#42
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
What are some good gyros to use? I know the nav-x is supposed to be good, but my team would rather use something a bit simpler. Are there any special changes needed in the code if the gyros used are not the KoP ones?
|
|
#43
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
Can some of these be used for FTC this year with the new control system?
It says it will take digital, analog, PWM, and I2C. I'm trying to learn about the new sensor possibilities before the season starts. http://www.modernroboticsinc.com/cor...rface-module-2 |
|
#44
|
|||
|
|||
|
Re: Which sensors should be used throughout the robot?
Quote:
Describing both is pretty simple. Most sensors that return a on/off or true/false value are digital sensors. These include things like the brake beam sensors and hall effect sensors lifted. Analog sensors are continuous, and ususally output a voltage between 0V and 5V. A potentiometer would fall in this catagory. Of course, check with the FTC Game Manual when it is fully released to make sure that whatever sensor you're trying to use is legal. I don't see a technical reason why most of the sensors on this thread couldn't be used on a FTC robot. Encoders are a bit counterintuitive; they actually take up two digital ports. |
|
#45
|
||||
|
||||
|
Re: Which sensors should be used throughout the robot?
Quote:
A lot of the single purpose gyros have significant drift that you have to account for, including the gyros included in the Kit. As for code, you'll need to look at the sensor you are looking to use and start by searching for existing code/libraries that other teams or people might have created. If that doesn't work then you need to reference the datasheet for the part and start writing your own libraries. I can tell you that from a "getting started" standpoint, the LabView samples with the Kit sensors are a great place to begin. I suspect the C++/Java samples for those sensors are good places to start as well. For our team, we're big fans of the NavX (we also wrote and maintain the LabView libraries with Scott's gracious help). It is simple to code for and provides a fused heading without a significant amount of drift for field oriented driving. I hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|