How/where do you set robot wheel radius to enable pointTurn() and other such commands to work with standard angles/left/right? At the moment 90 degrees is a 360 (roughly).

Thanks!

Cheers

Sat Sep 21, 2013 7:03 pm

rcahoon

Site Admin

Joined: Tue Oct 09, 2012 10:34 amPosts: 192

Re: configure wheel radius for pointTurn()

Hi tstex,Can you paste your code into a post so that we can see it? (use the [code][/code] tags to format it correctly) This will help us help you.

The best advice I can give right now is that there's nothing inherent in the pointTurn function to measure rotation (per the documentation). Usually you would couple this function with one of the wait functions or one of the until functions. If you're using it with the untilRotations function, a common misconception is that this is rotations of the robot, but it's actually counting rotations of the wheels. The number of wheel rotations required to turn the robot 90 degrees will depend on both the radius of the wheels and how far apart the wheels are.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum