We found the secret sauce... For faster response --- GetRawDistance Being new to this whole robotic thing we sometimes struggle with understanding how everything works together to make the robot successfully navigate the competitions. Our biggest issue was getting the robot to respond to the sensor inputs in a timely manner. IE. Not running straight into a wall, then deciding to turn... It would have been awesome if we had read this comment in the provided code to get sensor inputs faster by using GetRawDistance() instead of GetDistance() way earlier in the process. This one change turned our robot from a drunken sailor bouncing off every wall it could find, to an occasional bump or scrape and 4-6 hours of headaches into 2 hours of headaches tweaking the power and turn settings for optimal performance. Comments are closed.
|
AuthorThe hope is this will be a team blog that members of the CNM HackerSpace Robotics Team will contribute too. Archives
April 2018
Categories |