Question on access to AppDesigner

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 件のコメント

Sean de Wolski
Sean de Wolski 2018 年 1 月 5 日
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 ExchangeDevelop 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