View Single Post
  #2   Spotlight this post!  
Unread 04-02-2017, 19:40
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 45
MuskieProgramme is an unknown quantity at this point
Re: Code for Ultrasonic Sensor

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.
Reply With Quote