frc1418 / 2015-robot

Team 1418's Robot code for 2015
Apache License 2.0
1 stars 1 forks source link

Create a program to test the distance sensors #3

Closed virtuald closed 9 years ago

virtuald commented 9 years ago

We will need help from @lleontan to create a UI that shows them relative to a box

virtuald commented 9 years ago

Tasks:

virtuald commented 9 years ago

SmartDashboard stuff: http://robotpy.readthedocs.org/en/latest/wpilib/SmartDashboard.html

wpilib.SmartDashboard.putNumber('name', value)
virtuald commented 9 years ago

FYI: Your equations didn't work properly.

lleontan commented 9 years ago

I'll get on it tommorow.

Matt-Puentes commented 9 years ago

Let me try this again 22.73x^-0.7533 for the larger sensor 7.330x^-0.7685 for the smaller one where X is the distance in cm The equations were right, my code was just terrible