View unanswered posts | View active topics It is currently Wed Jul 23, 2014 6:40 am






Reply to topic  [ 2 posts ] 
I NEED A BIG HELP PLEASE!! 
Author Message
Rookie

Joined: Tue Mar 01, 2011 6:16 pm
Posts: 21
Post I NEED A BIG HELP PLEASE!!
im going to a competition next week, and i need to know how i can make the robot accelerat without any sensors. My problem is that the robot begins to a high power, and When it starts to run, he leans back. I need any type of acceleration i mean i need the robot to move first at 20 power, after 40 after 50.
sorry for my bad english


Tue Jun 14, 2011 5:23 am
Profile
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: I NEED A BIG HELP PLEASE!!
You can use a for loop.
Code:
for(int i = 20; i < 100; i++){
  motor[wheel] = i;
  wait1MSec(50);
}


you can change the wait timing to make it accelerate faster or slower.

_________________
sudo rm -rf /


Tue Jun 14, 2011 8:27 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.