Im currently working on a project where i have to make a robot move to a location using cartesian coordinates. When it arrives at the coordinate it's standing on a line, that it has to follow using a PID expresssion. For some reason the robot just stands still, when it's supposed to follow the line, and make a weird noise (sort of like radio static).
The code I've been using is:
http://cs.au.dk/~lefevre/LEGO/LEGO%20En ... tCart.java
http://cs.au.dk/~lefevre/LEGO/LEGO%20En ... PIDLF.java
http://cs.au.dk/~lefevre/LEGO/LEGO%20En ... rdCar.java
GuardbotCart's navigation using the cartesian coordinates works fine and GuardBotPIDLF makes the robot follow the line as planned, but when GuardBotPIDLF is instantiated within the GuardbotCart class, the isssue arises. It seems that the to programs are fighting for control of the motors, bur I've no idea how to avoid this.
Hope you guys can help