Can you get data from a Vex V5 Vision Sensor?

2 visualizzazioni (ultimi 30 giorni)
Is there a way to get coordinates from a Vex V5 Vision Sensor with the V5 Support Package?

Risposta accettata

MathWorks Student Competitions Team
Modificato: MathWorks Student Competitions Team il 2 Mag 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 Commento
Charles Mamolo
Charles Mamolo il 3 Lug 2019
Modificato: Charles Mamolo il 3 Lug 2019
Where do you copy the Vision Sensor Simulink block? Thanks!

Accedi per commentare.

Più risposte (0)

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by