team2181 / FRC2016

FRC Team 2181 2016 Robot Deploy Code
0 stars 2 forks source link

Testing Distance Over Time #13

Closed Brekmister closed 8 years ago

Brekmister commented 8 years ago

In order to get Time/Distance, we need to measure how far the robot goes in a certain time period.

How we get the measurement: Robot.cpp there is a function named Robot::Test, Inside that function, someone has to code the procedure that runs a motor for a set power and time.

It should go along the lines of this:

setMotor(.5), Wait(1), setMotor(0), Wait(5) This is not correct syntax. Part of this is you finding the correct way of coding this in Robot.cpp.

If you can get this done, then everything else will be a cinch except for debugging and camera recognition.

Comment below if you have any issues, questions, concerns, or you need better explanation regarding this.

Brekmister commented 8 years ago

Upload to a new branch once your finished and I will look over it. DO NOT FORK!!!!!!

AbiChi commented 8 years ago

Put some code in my branch, we haven't tested it yet though

webtekz commented 8 years ago

Animal-nerd above had the right idea, but it ends up being slightly more complex than that. I fixed it myself, mainly due to the fact that I have some personal issues that I am dealing with and I won't be able to come to a few meetings, so time is of the essence. I duly apologize.

Resolved by 78f9b0cbcb490ea9414687eec37a30a962bdfce0

Brekmister commented 8 years ago

Sure, I tried helping her until I actually was not mentally able to. Since I was home sick On Feb 19, 2016 8:31 AM, "Stevan" notifications@github.com wrote:

Animal-nerd above had the right idea, but it ends up being slightly more complex than that. I fixed it myself, mainly due to the fact that I have some personal issues that I am dealing with and I won't be able to come to a few meetings, so time is of the essence. I duly apologize.

Resolved by 78f9b0c https://github.com/team2181/FRC2016/commit/78f9b0cbcb490ea9414687eec37a30a962bdfce0

— Reply to this email directly or view it on GitHub https://github.com/team2181/FRC2016/issues/13#issuecomment-186236399.

webtekz commented 8 years ago

I'm sorry to hear that. And as far as that problem I mentioned, it really is going to be an issue, I'll talk to you guys about this in private soon enough. We really do have a problem, actually.