Main Content
Distance Sensor
Add-On Required: This feature requires the Simulink Coder Support Package for VEX EDR V5 Robot Brain add-on.
Libraries:
Simulink Coder Support Package for VEX EDR V5 Robot Brain /
Sensors
Description
The Distance Sensor block reads data from the Distance sensor that is connected to the VEX® V5 Brain. You can use this block in your Simulink model to obtain distance, velocity, relative size of obstacle, and confidence. Also, the sensor outputs confidence in measuring distance.
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021b