View Single Post
  #3   Spotlight this post!  
Unread 06-02-2017, 20:31
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: 13
BetaBlues is an unknown quantity at this point
Re: Code for Ultrasonic Sensor

Quote:
Originally Posted by MuskieProgramme View Post
In general, an ultrasonic sensor gives you a number. The number corresponds to distance. You can use that distance to (for example) calculate how far the robot needs to move, then move that distance.

For more specific instructions, it might be helpful if you specified which ultrasonic sensor you are using.
Our ultrasonic sensor is by Rockwell Automation: HRVL-MaxSonary-EZ MB1013
Reply With Quote