Project

General

Profile

Revision 1115

Added by Rich Hong about 15 years ago

Smart run around mostly works!!!

Thanks to Brian for fixing a bug in motion code
divide by 0 zero error in motion.c

Makefile cleans .csim and copy it over

GUI no longer fill the robot

View differences:

smart_run_around_fsm.c
61 61
  }
62 62
  
63 63
  //Checks the forward distance to see if it should back up, if so...state backwards.
64
  printf("d2: %d\n",d2);
65 64
  if((d2!=-1)&&(d2 < 150)){
66 65
      backup_count=BACKUP_MAX;
67 66
      avoid_state=BACKWARDS;

Also available in: Unified diff