NorviewFIRSTRobotics / FRCStrongHold2016

http://www.norviewrobotics.org/
1 stars 0 forks source link

Issues getting Ultrasonic pairing functioning #13

Closed primetoxinz closed 8 years ago

primetoxinz commented 8 years ago

When setting up the ultrasonics, having the "automatic mode" set to false would stop the echo signal from sending anything. I will be debugging this more tomorrow in my free block, but I am very confused by it

Seairth commented 8 years ago

If I am recalling correctly, you are creating two Ultrasonic objects. If you enable automatic mode, then the objects each take turns pinging. If you have automatic mode off, then you need to initiate the ping yourself. Unfortunately, I don't remember how to do it manually. Was it enough to simply get the distance?