I am trying to get my nxt to balance on two wheels by using an accelerometer (tiltsensor) to detect if it is falling. However I cant seem to get it to work. It does not react fast enough to movement and just keeps falling over. Does anyone have any tips on how I could get it working.
Also should I used the tiltsensor to measure which way it is leaning, or whether or not it is falling? And should I allow time for the motors to speed up before changing direction as it does not seem to move fast enough?
Any help is appreciated.
Thanks.
