Project

General

Profile

Revision 211

Modified smart_run_around_fsm to fix the direction and make it smoother

View differences:

smart_run_around_fsm.h
13 13
#define LEFT 37             //Left
14 14
#define RIGHT 39            //Right
15 15

  
16
#define BACKUP_MAX 15
16
#define BACKUP_MAX 20
17 17
#define CRAZY_MAX 200       //The number of counts between "crazy moments"
18
#define STRAIT_SPEED 200    //The speed when going strait or backing up.
18
#define STRAIT_SPEED 185    //The speed when going strait or backing up.
19 19
#define TURN_CONSTANT 2
20 20
#define PCONTROL_CRAZY_LIMIT 80
21 21

  

Also available in: Unified diff