MATLAB Answers

Vex V5 Motor Voltage

How can I set the V5 motors voltage instead of using the built in position or velocity pid control?

  댓글 수: 0

로그인 to comment.

답변 수: 1

 Accepted Answer

If you are using MATLAB R2018b you can use the attached blocks to set the smart motor voltages and read advanced motor parameters like voltage, current, power, torque, efficiency and temperature.
All you have to do to use these blocks in your models is copy/paste them from the model attached, and make sure that the respective p-file included is on the same folder as your working model.
If you have any questions regarding these blocks, feel free to contact the MathWorks Student Competitions Team at passcompetitions@mathworks.com

  댓글 수: 0

로그인 to comment.



Translated by