cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

connect 3d viewer with IDE visualcoding

connect 3d viewer with IDE visualcoding

kuldeepM
Long-established Member

I wanted to control demo model with help of visual coding but there was a error poping up everytime I compile. I have already configured axis and kinematics in motion.

6 REPLIES 6

CodeShepherd
Community Moderator
Community Moderator

Please beware that when you start  a movement command the state of the motion objects need to fit. There will be no automatic switching of the state machines. In your case axes needs to be powered, grouped to a kinematic and kinematic needs to be enabled.

Can you check and/or send your logbook what happens before error on your screenshot?

Please see also "Graphical and Textual Python Programming using IDE App [DOCU] - [VIDEO]" for some example.

kuldeepM
Long-established Member

I have already powered,grouped axis. and controling of demo model was fine through motion app. but as soon as I run visual skript it shows error as I have attached with message.

2023-02-22_15h58_55.png

2023-02-22_15h56_31.png

Could you please add an export of your program and a system report (in ctrlX CORE web UI click "?  --> system report") or at least a screenshot of all installed apps?

kuldeepM
Long-established Member

as you asked I have attached system report.

Thanks for the information. I checked your code and found that you created points referring to an axis "X" but including an array of coordinates, like used for a kinematic. Please change reference to "Robot", to be able to use it correctly. We will check how this misunderstanding could be prevented better. Thanks for bringing this up.

I'm from the development team of the IDE app. In IDE app version 1.18.7 it's not possible to use points/teachpoints as a parameter of the newly introduced motion.<kinematicName>.movePositions() command. You will typically see the error message: "list object has no attribute push".

As a workaround you can switch to the Javascript view and use the precdecessor motion.<kinematicName>.move() function with variables:

BrightKnight_0-1680184255826.png

 

The bug will be fixed in the upcoming 1.18.X release of IDE app.

 

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist