Can you get data from a Vex V5 Vision Sensor?

1 view (last 30 days)
Is there a way to get coordinates from a Vex V5 Vision Sensor with the V5 Support Package?

Accepted Answer

MathWorks Student Competitions Team
Edited: MathWorks Student Competitions Team on 2 May 2019
If you are using the Simulink support package for the VEX V5 Robot Brain in the R2019a version of MATLAB, you can use the files attached to get information from the vision sensor.
  • Copy the Vision Sensor Simulink block from either of the models provided
  • Make sure to keep the accompanying files (except for the attached Simulink models) in the same folder as your working model.
  • There is an additional example attached that shows how to follow and object using the vision sensor
  • You should still use the VEX Coding Studio utility to setup the sensor signatures
Since this is a protoype block, please contact passcompetitions@mathworks.com if you run into errors or have additional questions.
  1 Comment
Charles Mamolo
Charles Mamolo on 3 Jul 2019
Edited: Charles Mamolo on 3 Jul 2019
Where do you copy the Vision Sensor Simulink block? Thanks!

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!