Open joecaraccio opened 4 years ago
This also would give us a integer value versus a boolean value. I need to revist our intake 'algorithm' but that might be better? Only trigger after a certain grip? I guess we accomplish the same thing with just moving around the garage door sensor, I am wondering with constant sampling that this device does if it would help eliminate any false positives.
Brian is ordering one of these, they use CAN. Getting an integer value instead of a boolean value feedback from our sensors will make detecting false positives easy
@maxh65000 @smi1eybone Here is the sensor... Brian order 3 of them, should be here later this week: https://www.playingwithfusion.com/productview.php?pdid=96
Bottom of that page has links as to how to control it. They added an FRC Software Lib installation: https://www.playingwithfusion.com/docview.php?docid=1205
The User Manual is here: https://www.playingwithfusion.com/include/getfile.php?fileid=7091
Javadocs: https://www.playingwithfusion.com/frc/2020/javadoc/com/playingwithfusion/package-summary.html
(We are using the TimeofFlight sensor). Looks like we can just inflate a simple class and have some nice functions to call of that. The work with this is going to be understanding how to use these values.. You'll have to come up with some methods of sampling to make sure you are seeing 'real samples'. This is going to be a big improvement over the garage door sensor.
I noticed this on Youtube last night: https://www.youtube.com/watch?v=Ub-Sub5ncyM
Take a look, this thing looks incredibly stable. It is just a Lidar sensor which senses distance. I wonder if this would be helpful in correcting potential garage door sensor bugs.