MATLAB Answers

Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#">ここ</a>」をクリックしてください。

0

ultrasonic (sonar) with V5

is there an updted library for ultrasonic / sonar for V5 for VEX Robotics competition?

  0 件のコメント

サインイン to comment.

1 件の回答

 採用された回答

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 件のコメント

サインイン to comment.



Translated by