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 commentaires

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 le 7 Jan 2018
Thank you I will try this
Stephen Wilkerson
Stephen Wilkerson le 7 Jan 2018
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 le 8 Jan 2018
I'd have to recommend following standard debugging procedures. Put a breakpoint on that line and step into it.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by