
Re: NEED HELP! The motors are running without being told to.
Hi !
I'm experiencing the same problem, so I though I'll describe it here in more details.
I'm using examplary code 'single joystick control.c' for testing and I have problems with motors whenever connection between Cortex and Joystick is lost.
I have a feeling that ( when there's no connection ) some default values for joystick channels are assumed. And they're not set to zero! They're set to maximum or minimum values, therefore this piece of code:
makes my robot move in a circle (it's right motor is on full speed, while left motor is not moving).
Is there any possibility to add sth like this
in Robotc? To prevent robot behaving like crazy?