AdamParlane / aut-swarm-robotics

AUT 2017 BE (hons/tech) final year project
2 stars 3 forks source link

mfAdvancedMove moving backwards on second iteration #141

Closed AdamParlane closed 7 years ago

AdamParlane commented 7 years ago
        case M_FORMATION:
        //placeholder
            //mfAdvancedMove(0, 90, 50, 100, &sys);
            mfAdvancedMove(0, 0, 50, 25, &sys);
            sys.pos.targetHeading = 0;
            sys.pos.targetSpeed = 50;
            break;

With Obstacle Avoidance disabled; this will move forward on the first iteration, and then backwards on any subsequent iteration. Tested on pink robot. Symptoms appeared on dark blue too

AdamParlane commented 7 years ago

Resolved by Matt by removing mouse from mfAdvancedMove