View Single Post
  #55   Spotlight this post!  
Unread 24-02-2011, 12:48
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,580
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: Programming Minibot

This tread makes me chuckle a bit. Ok there are 2 languages really that you should use. either the LabVIEW with a FTC toolkit. or RobotC. Those who like C or Java or even LabVIEW programmers should be able to handle RobotC. It's really easy. say for example all you use are motors and a touch sensor. the code for that is this easy. All you have to use is a built in motors and sensors configuration program which you tell it the location of all of your hardware relative to the NXT. You won't have to use any specific templates due to the fact that the minibot is purely autonomous no outside control needed. for most robot's it's really this simple. Now from experience we aren't using the NXT system we are doing everything in hardware. that's why we have a 2.8 second minibot. sooo go at it as you wish.

wait1Msec(1200000) \\<--that's two minutes of wait time before enabling the while loop below so you wont have random wheels spinning the entire time.


while(nTouchsenor=0)
{
motor[motorD]=100;
motor[motorG]=100:
}
motor[motorD]=0; //or a negative number to drive it back down.
motor[motorG]=0;
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker