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
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 496
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.
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