View unanswered posts | View active topics It is currently Thu Nov 23, 2017 6:25 pm






Reply to topic  [ 3 posts ] 
Precise 90 degree turns 
Author Message
Rookie

Joined: Sun Feb 01, 2015 2:27 am
Posts: 3
Post Precise 90 degree turns
I am trying to make precise 90 degree turns when I turn my robot in teleop. I use one joystick to move one motor forward and back and another joystick for the other one. So when I move one joystick forward and the other back it turns in a specific direction. But, I want to make the turn very "square" and 90 degrees. Right now it doesn't do that and one motor goes faster then the other. How do I do this?


Thu Feb 19, 2015 3:19 am
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Precise 90 degree turns
Hi there,

In the future, please do not tack your question onto another post. Just create a new one. I have done this for you now.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Thu Feb 19, 2015 3:42 am
Profile WWW
Rookie

Joined: Thu Nov 06, 2014 2:23 am
Posts: 9
Post Re: Precise 90 degree turns
There are several alternatives for this. Here are some ideas

Closed Loop Control (the most accurate)
- Use a gyro sensor and slow down around 80 or 85 degree

Open Loop Control
- Use quite low power (20-30%)
- If encoder is available use driving to a motor position or driving with a constant speed for a constant time
- Without encoder, drive a given time
- Measure the actual angle and based on analyzed results, adjust the turning parameters


Thu Feb 19, 2015 10:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.