Obstacle Detection using Ultrasonic Sensor | Getting Started with VEX Robotics Using MATLAB and Simulink, Part 5
From the series: Getting Started with VEX Robotics Using MATLAB and Simulink
Gary Garber, BU Academy, Boston, MA
Use a Stateflow® chart to design a state machine that controls robot motion based on ultrasonic sensor reading. If the ultrasonic sensor detects an object or obstacle in front of it, then the robot comes to a stop. The video also shows the Simulink® model running on a VEX Cortex microcontroller-based robot.
Download the curriculum materials.
Learn more about software and training resources for the VEX Robotics competition.
Published: 28 Dec 2016