View Single Post
  #1   Spotlight this post!  
Unread 12-02-2003, 11:46
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
Gyros.. how annoying!

Ok, anybody out there know how to use these *(#$#( gyro's? Its like the only part I can't figure out how to use.. and of course nobody on our team has ever used them either so thats always a big help too.

Basically, just need to detect when the robot is at an angle or something.. like when you drive onto the ramp. or when you get to the top. etc. Anyways, if you can help, I would be ever so grateful. Code always a plus
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}

Visit my completely useless website! http://randomperson.cjb.net