navigation test
theloneduck
Posts: 20
I am working on a robot test platform to test some assumptions on the navigation algorithm (will a random movement cover the area I want?).· My test bed is simply a cheap RC car with 2 motors (one to drive and one for turning).·click here to see the car.
I have 2 H-Bridges for controlling the motors and they share a 7.2 volt battery (from a real RC car).· I know my steering HBridge circuit is broken for turning right but I can work around that (will fix it later since Im out of components).· Turning to the left has been verified multiple times with a 9 volt battery.
In the code, when I try to turn left, nothing happens but I can power the drive HBridge all day long.· When I re-wire the bread board (while its running) to move the signal from the FWD pin to the LFT pin, nothing happns.· Same with the RT pin.· Any thoughts on how else to troubleshoot this?
Attached is the code.
I have 2 H-Bridges for controlling the motors and they share a 7.2 volt battery (from a real RC car).· I know my steering HBridge circuit is broken for turning right but I can work around that (will fix it later since Im out of components).· Turning to the left has been verified multiple times with a 9 volt battery.
In the code, when I try to turn left, nothing happens but I can power the drive HBridge all day long.· When I re-wire the bread board (while its running) to move the signal from the FWD pin to the LFT pin, nothing happns.· Same with the RT pin.· Any thoughts on how else to troubleshoot this?
Attached is the code.
bs2
5K