Closed Podcakero closed 5 years ago
What is the status of this issue @Podcakero
we return the difference in the heights of the two detected blocks to determine how much we should rotate. when the difference equals 0 we then return (((x1-x2)/2) -150) where x1 is the left target, x2 is the right target, and 150 is the middle of the camera video stream. when this equals 0 we return the value of the lidar rangefinder - 100 to set our forwards speed. we stop when this equals 0
I'm assuming that this is split into 3 different methods? Where is this in the code? Also you might want to make the 150 a variable incase we change the camera resolution.
its the arduino code. its all in loop.
there are commands in java that read in the data sent and do the actions when needed
i can better explain it to you if you are coming today. ill work on a flowchart/diagram detailing it
Awaiting PixyCam to be installed on robot
Pixycam is installed on robot need time to test
Position and angle have been determined for awhile. This needs testing. #33 takes care of that
Talk with Douglas to figure out geometry math. Find out what the getAngle() method does