Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Code Support for 2017 Sensors (http://www.chiefdelphi.com/forums/showthread.php?t=154146)

BetaBlues 23-01-2017 19:36

Code Support for 2017 Sensors
 
We have been trying to program the sensors available from FIRST Choice, namely the Photoelectric and Ultrasonic Proximity Sensors, both by Rockwell Automation. Which libraries should we use for these sensors?

Thanks!
BetaBlues

ryan.mitchell 24-01-2017 20:41

Re: Code Support for 2017 Sensors
 
Quote:

Originally Posted by BetaBlues (Post 1635317)
We have been trying to program the sensors available from FIRST Choice, namely the Photoelectric and Ultrasonic Proximity Sensors, both by Rockwell Automation. Which libraries should we use for these sensors?

Thanks!
BetaBlues

For the ultrasonic proximity sensor this might be what you are looking for: http://wpilib.screenstepslive.com/s/...asonic-sensors

For the photoelectric sensors I believe that you calibrate them to see a certain color and then they output a certain voltage if they the color and a certain voltage if they dont, so digital. Therefore, this may be of use: http://first.wpi.edu/FRC/roborio/rel...italInput.html

If you can get it working, please let me know because we are interested in using them also!

ryan.mitchell 24-01-2017 20:46

Re: Code Support for 2017 Sensors
 
Oh, also if you scroll down a bit on this page: http://wpilib.screenstepslive.com/s/...ntrol-behavior
It will give an example on how to use a digital input. Also, please correct me if I am wrong about how the photoelectric sensor works!


All times are GMT -5. The time now is 21:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi