Wednesday, February 24, 2010

New google Groups

I made a new google groups, the group is called "NXT/RCX group" and you can post anything from RCXs to NXTs. I made the groups specifically Mindstorm users, so if you can, spread the word. thanks

Wednesday, February 17, 2010

Updates

For updates, I have a few things to say. My sensor has arrived, so I'll be adding it to my EFORSB soon and take pictures, make a movie, and add it to the NXTLOG. Unfortunately, Im not able to upload my brutal sumo video, can someone please email me music that youtube would find acceptable.

email: nxtpuny@gmail.com or just go to the bottom of the blog to get my email.

Also, my family and I are going to move out of our Apartment and will move to a house, so if you see a different location of robot movies, you can probably guess. See you in the next post.

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;
}
}