Best Robotics Simulink Potentiometer Integration

2 次查看(过去 30 天)
I challenged my students to use a potentiometer to limit a lift on their robot and the hardware is in place. In RobotC, the potentiometer changes from values 2137 (low point) to 2833 (high point) per the debugger. In Simulink should I show it at the same values or degrees? Also, the youth want to be able to press a button and it lifts or lowers the entire range automatically. I can see how to do this with logic in RobotC, but not Simulink. Any suggestions?
They did successfully get a limit switch integrated on a 2nd lift using a Simulink model posted on the BEST Forum. I have also posted this Q on the BEST Robotics Forum. Thank you.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Robotics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by