|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: Radio Control and Ultrasonic Sensor
Another way of doing it is to break up the Arcade command into two sets of commands, reading the joystick value and driving the motors. Then whenever the ultrasonic sensor is reading a low value, only allow joystick values that drive backwards or away from the target. For forward joystick values, send stopped, the way you are doing now.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|