Showing posts with label EFORSB. Show all posts
Showing posts with label EFORSB. Show all posts

Wednesday, February 10, 2010

EFORSB v2 programming Sneak peak

You all noticed that I have RobotC now, and I actually have alot of programs for the EFORSB v2.

The First Entry is an if-then statement:

task main()
{
while(true)
{
motor(motorA) = 75;
motor(motorB) = 75;
motor(motorC) = 75;
{
if(SensorValue(S4) > 25)
{
motor(motorA) = 75;
motor(motorB) = 38;
motor(motorC) = 75;
}
else
{
motor(motorA) = 75;
motor(motorB) = 75;
motor(motorC) = 38;
}
wait1Msec(3000);
}
}
}

the second entry is a basic programming that is fairly simple "as well as my first" :

task main()
{
motor(motorA) = 75;
motor(motorB) = 75;
motor(motorC) = 75;

while(SensorValue(S4) > 25)
{
motor(motorA) = 75;
motor(motorB) = 38;
motor(motorC) = 75;
wait1Msec(3000);
}
motor(motorA) = -75;
motor(motorB) = -75;
motor(motorC) = -75;

while(SensorValue(S1) == 0);
{
motor(motorA) = 0;
motor(motorC) = 0;
motor(motorC) = 0;
}
}

Sunday, January 3, 2010

EFORSB v2 Update

Here it is, my newest robot... The EFORSB v2, the second version of the first one I made about a year ago.
This robot doesn't have a program yet, but it will have one unlike the first one. And you will see it on the NXTLog when I made the program. You may have noticed the new spot from the Mini Brutal Sumo v2. Here is the link to It's MOCPages:
It will be uploaded on the NXTLog as soon as I finish the RobotC program, right now im just evaluating RobotC, and just getting used to it.
Updates for the robot video probably won't come for a while, I need to edit it, because it was having issues with youtube, but it will come. Thanks.