|
Page 1 of 1
|
[ 3 posts ] |
|
Arm Position Challenge... Arm doesn't reach bumper sensor
Author |
Message |
cavalier
Rookie
Joined: Mon Jul 14, 2014 11:17 am Posts: 2
|
 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 |
|
 |
dstehouwer
Rookie
Joined: Thu Mar 13, 2014 8:22 am Posts: 10
|
 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 |
|
 |
cavalier
Rookie
Joined: Mon Jul 14, 2014 11:17 am Posts: 2
|
 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 |
|
|
|
Page 1 of 1
|
[ 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
|
|