View unanswered posts | View active topics It is currently Sun Jul 21, 2019 4:31 am






Reply to topic  [ 3 posts ] 
Arm Position Challenge... Arm doesn't reach bumper sensor 
Author Message
Rookie

Joined: Mon Jul 14, 2014 11:17 am
Posts: 2
Post Arm Position Challenge... Arm doesn't reach bumper sensor
Any ideas of why the program stops before reaching the bumper sensor?

task main()
{
setRobotType(VexIQClawbot);

setMotor(motor10, 50);
setTouchLEDColor(port3, colorRed);
waitUntil(getBumperValue(bumperSensorNL) == 1);
setTouchLEDColor(port3, colorGreen);
stopMotor(motor10);
forward(5, rotations, 50);
moveMotor(motor11, 10, degrees, 50);
moveMotor(motor10, -315, degrees, 50);
backward(5, rotations, 50);
}


Mon Jul 14, 2014 11:37 am
Profile
Rookie

Joined: Thu Mar 13, 2014 8:22 am
Posts: 10
Post Re: Arm Position Challenge... Arm doesn't reach bumper senso
Did you make sure everything was correct with the Motors and Sensors setup? everything is plugged into the right ports and so on?


Tue Jul 15, 2014 12:29 pm
Profile
Rookie

Joined: Mon Jul 14, 2014 11:17 am
Posts: 2
Post Re: Arm Position Challenge... Arm doesn't reach bumper senso
Yes,

It finally worked when I started the bumper-sensor with a negative value


Wed Jul 16, 2014 2:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.