I've written an app to control the Trossen Robotics Arm Pincher. It is initialized by this command: arb = Arbotix('port','/dev/tty.usbserial-AI05UU3S','nservos',5) This creates a variable in the workspace arb that has specific properties methods etc. Doesn't work in App Designer. Whole program hangs.

댓글 수: 4

Are you setting it to be a property (that you've added) of the app?
properties
arb
end
Whatever call back creates it:
app.arb = Arbotix(...)
Stephen Wilkerson
Stephen Wilkerson 2018년 1월 7일
Thank you I will try this
Stephen Wilkerson
Stephen Wilkerson 2018년 1월 7일
I tried it and nowit does not lock up, but when I have another action like app.arb.setpos(1,pi/2,10) it does nothing. When I run the same commands in the command window they work!
Sean de Wolski
Sean de Wolski 2018년 1월 8일
I'd have to recommend following standard debugging procedures. Put a breakpoint on that line and step into it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

질문:

2018년 1월 5일

댓글:

2018년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by