Vex V5 Motor Voltage
3 views (last 30 days)
Show older comments
Austin Robinson
on 13 Dec 2018
Edited: MathWorks Student Competitions Team
on 4 Aug 2022
How can I set the V5 motors voltage instead of using the built in position or velocity pid control?
0 Comments
Accepted Answer
MathWorks Student Competitions Team
on 29 Jan 2019
Edited: MathWorks Student Competitions Team
on 4 Aug 2022
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 m-files are added to the MATLAB path or in 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 roboticsarena@mathworks.com
0 Comments
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!