Hey guys,
I wanted your opinion on the way I have calculated the row we should use for the core part of the code (That we can change once completion is done). So currently as of Stephen-Robot-Completion-v.0.6 code. The robot uses *cameraView.height9/10; This allows it to see the 10th row in front of the robot which makes the turning really smooth. However I notice from my code that if the height is increased then it no longer becomes the 10th row. it is the first 10th percent of the height instead.
So I was wondering how people thought about changing it to: cameraView.height - 10;** This way no matter the height it will always see the 10th row in front of it. I know it is not a big issue just a touch up hence why I said after completion is done. :)
Hey guys, I wanted your opinion on the way I have calculated the row we should use for the core part of the code (That we can change once completion is done). So currently as of Stephen-Robot-Completion-v.0.6 code. The robot uses *cameraView.height9/10; This allows it to see the 10th row in front of the robot which makes the turning really smooth. However I notice from my code that if the height is increased then it no longer becomes the 10th row. it is the first 10th percent of the height instead. So I was wondering how people thought about changing it to: cameraView.height - 10;** This way no matter the height it will always see the 10th row in front of it. I know it is not a big issue just a touch up hence why I said after completion is done. :)