ultrasonic (sonar) with V5
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Martha Karen Hernandez Medina
il 16 Apr 2019
Modificato: MathWorks Student Competitions Team
il 2 Mag 2019
is there an updted library for ultrasonic / sonar for V5 for VEX Robotics competition?
0 Commenti
Risposta accettata
MathWorks Student Competitions Team
il 1 Mag 2019
Modificato: MathWorks Student Competitions Team
il 2 Mag 2019
If you are using version R2019a of the VEX V5 support package you can use the files attached to this post to add support for the ultrasonic, shaft encoder and vision sensors.Follow the instructions below to install the updated library and note that this additions do not make part of the current Simulink support.
1. Install the latest version of the Simulink Coder Support for VEX V5 Robot Brain
2. Find the installation folder of the support package using the following MATLAB command:
>> matlabshared.supportpkg.getSupportPackageRoot
3. Close MATLAB
4. Navigate to the installation directory received from the command above \toolbox\target\supportpackages, and delete and replace the "vexcommon" and "vexv5" folders with the ones attached to this post.
5. Navigate to the installation directory received from the command above \resources, and delete and replace the "vexv5" folder with the one attached to this post.
6. Restart MATLAB
7. Turn off the Simulink preference to not load models created in newer versions. MATLAB>Preferences>Simulink Preferences>Model File>Do not load models created with newer versions of SImulink.
8. Open the VEX V5 Simulink library using the following command to check for new blocks.
>>vexv5lib
If you ran into any issues please contact passcompetitions@mathworks.com
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!