how to make the program execute two other programs depends on the sensor scanning

1 view (last 30 days)
I have robot act depending on the sensor scaning.
i want the sensor scan and if there is obstacle infront it, increase it hight and make another scanning. if there is no obstacle infront of it step forward. but if there is obstacle, execute the next step in the program

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!