How do I send two different signals to a single servo based on the button selected?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have two servo motors hooked up to a claw(left and right). In previous code I use an If-Else logic flow to send two different signals based on the button selected so that the claw opens narrow or wide. I am not sure of the construct needed in Simulink to accomplish the same structure. I can send one signal to the servo with no problems.
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 9월 28일
However you might also be able to implement using http://www.mathworks.com/help/simulink/slref/selector.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Robotics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!