Go to Post You don't become great because of your sponsors, you become sponsored because of your greatness. - Bdf809 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2017, 19:36
BetaBlues's Avatar
BetaBlues BetaBlues is offline
Registered User
FRC #5975 (Beta Blues)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Portland, Oregon
Posts: 2
BetaBlues is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2017, 20:41
ryan.mitchell ryan.mitchell is offline
Registered User
FRC #1512 (Big Red)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Middletown, Delaware
Posts: 14
ryan.mitchell is an unknown quantity at this point
Re: Code Support for 2017 Sensors

Quote:
Originally Posted by BetaBlues View Post
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!
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2017, 20:46
ryan.mitchell ryan.mitchell is offline
Registered User
FRC #1512 (Big Red)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Middletown, Delaware
Posts: 14
ryan.mitchell is an unknown quantity at this point
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!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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