Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!

0
Not a bug

Importing realvirtual.IO Simulation 2021 asset compilation error

Ernesto 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 8

I'm getting the following compilation error when importing the realvirtual.io Simulation 2021 asset to my proyect (Unity Editor version 2021.3.2f1):

Assets\game4automation-Simulation\ConveyorSystems\private\ObjectScripts\CrossBeltElement.cs(13,61): error CS0246: The type or namespace name 'IChainElement' could not be found (are you missing a using directive or an assembly reference?)

I'm using the latest version of Game4Automation Digital Twin Professional 2020.

Any idea?

Thank you in advance!

Answer
Support 2 years ago

Hi,

it is only possible to combine Professional 2021 with Simualtion 2021, Professional 2020 with Simulation 2021 is not working.

Cheers

Thomas

0
Fixed

spaceNavigatoer error mac

Kadir 2 years ago in General Questions updated by Support 2 years ago 10

despite removing the spacenavigator file in unity i still have problems.

Image 660

------------------------------------------------

Image 661

----------------------------------------------

Answer
Support 2 years ago

Solution is to delete the folder

Assets/game4automation/private/RuntimeUI/SpaceNavigator

and to change in the Script SceneMouseNavigationCs the following compile swith at the top and at the end of the script:

#if ((!UNITY_IOS && !UNITY_ANDROID  && !UNITY_EDITOR_OSX) || UNITY_EDITOR)

against this:

#if (UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN)                    

This will exclude Space Navigator from being used by non Windows Systems.

After doing this you need to select manually again (because automatic installation script was not started due to the compile error) Apply Standard Settings:

Will be changed in the next release.

0
Answered

DllNotFoundException

Kadir 2 years ago updated 2 years ago 6

I was trying to import the game4automation asset but got that error: 

DllNotFoundException: 3DConnexionWrapperU5 assembly: type: member:(null)

how can i solve it?

Answer
Support 2 years ago

You seem to work on a non Windows Plattform. I think the space navigator drivers are the problem. Please delete the whole SpaceNavigator folder after importing the asset and select again "Apply Standard Settings"


Assets/game4automation/private/RuntimeUI/SpaceNavigator

0
Fixed

Null reference exeption on Hide non G4A objects

Bo Adam 2 years ago in realvirtual.io Starter and Professional updated by Support 2 years ago 7

Hello,

After we changed some things in the PLC the following shows up when clicking on the PLC IO. I Dont know if this is our fault or a bug. If you need more information I am happy to give it.

Image 651

Answer
Support 2 years ago

The answer of Christin is releated to another issue - not yours sorry.

What version are you using? This issue should be fixed in latest version. Basically you can ignore this error message.

0
Answered

Game4automation Buttons

Bo Adam 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 7

Hello,

I am trying to achieve the following: 

I want a row of buttons just as in the demo, this is easy, but now I want to create two. The open buttons have to be next to eachother but the pop ups should both pop up in the center. 

I've tried everything, and with padding in the vertical layout group of the panel I can shift the entire thing to the side, but then the pop up window is also shifted. (See picture attached)

Could you help me with this?

Image 648

Answer
Support 2 years ago

Hello,

unpack the dupilcated prefabs complete and re-rarrage the elements of the slide button.

Regards 

Christin

0
Under review

Import signals error in Twincat Interface

Stupiddog 2 years ago updated by Support 2 years ago 5

Hello Thomas,I build a Test program with Twincat3,after I press Active configration button thePLC turns green then I press Import Signals in Unity it shows:TypeLoadException: Could not resolve type with token 0100000a (from typeref, class/assembly I18N.Common.MonoSafeEncoding, I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:I18N.Common.MonoSafeEncoding member:(null) signature:
System.RuntimeType.GetConstructors_internal (System.Reflection.BindingFlags bindingAttr, System.RuntimeType reflectedType) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.GetConstructorCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.GetConstructors (System.Reflection.BindingFlags bindingAttr) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) (at <695d1cc93cca45069c528c15c9fdd749>:0)
I18N.Common.Manager.Instantiate (System.String name) (at <6abb78bbc2d24347bb608e81ff4eb73b>:0)
I18N.Common.Manager.GetEncoding (System.Int32 codePage) (at <6abb78bbc2d24347bb608e81ff4eb73b>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Text.EncodingHelper.InvokeI18N (System.String name, System.Object[] args) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Text.Encoding.GetEncoding (System.Int32 codepage) (at <695d1cc93cca45069c528c15c9fdd749>:0)
TwinCAT.Ads.Internal.SymbolUploadInfo.get_StringEncoding () (at <23b243ab6b58458a8536a564d2211fbc>:0)
TwinCAT.Ads.TcAdsSymbolInfoLoader.onUploadSymbols () (at <23b243ab6b58458a8536a564d2211fbc>:0)
TwinCAT.Ads.TcAdsSymbolInfoLoader.initializeUploadSymbols (System.Boolean forceReload) (at <23b243ab6b58458a8536a564d2211fbc>:0)
TwinCAT.Ads.TcAdsSymbolInfoLoader.GetSymbols (System.Boolean forceReload) (at <23b243ab6b58458a8536a564d2211fbc>:0)
game4automation.TwinCatAdsInterface.ImportSignals (System.Boolean simstart) (at Assets/game4automation/private/Interfaces/TwinCAT/TwinCatAdsInterface.cs:351)
game4automation.TwinCatAdsInterface.Import () (at Assets/game4automation/private/Interfaces/TwinCAT/TwinCatAdsInterface.cs:747)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <695d1cc93cca45069c528c15c9fdd749>:0)
NaughtyAttributes.Editor.NaughtyEditorGUI.Button (UnityEngine.Object target, System.Reflection.MethodInfo methodInfo) (at Assets/game4automation/private/Tools/NaughtyAttributes/Editor/Utility/NaughtyEditorGUI.cs:179)
NaughtyAttributes.Editor.NaughtyInspector.DrawButtons (System.Boolean drawHeader) (at Assets/game4automation/private/Tools/NaughtyAttributes/Editor/NaughtyInspector.cs:188)
NaughtyAttributes.Editor.NaughtyInspector.OnInspectorGUI () (at Assets/game4automation/private/Tools/NaughtyAttributes/Editor/NaughtyInspector.cs:52)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.b__0 () (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Image 643

Image 644

Image 645

Image 646

Image 647

My Unity is 2020.3.4 and G4A is Version 2020.15 - February 10, 2022,Thank you Thomas。

Answer
Support 2 years ago

could it have to do with some non english letters in the symbol naming. I know that this problem exists and we need to fix it in one of the next releases.

0
Answered

Need Help Connecting to RobotStudio From Unity

Sharpworks 2 years ago in realvirtual.io Starter and Professional updated by aitor943 1 year ago 10

I have the professional version of realvirtual.io but I am very new to this type of software. I am trying to connect my unity build to RobotStudio but I cannot figure out how to connect the I/O signals needed. I first followed this YouTube tutorial on defining robot kinematics, so I have my robot set up in Unity. 

Youtube video

Now that I finished this tutorial I started following the documentation on connecting to RobotStudio here https://realvirtual.io/documentation/current/abb.html#ABB-RobotStudio

The part I am stuck at is the final steps under "Interface Configuration in Unity" shown here.

Image 642

I have the SIMITConnection module set up in RobotStudio but I don't know what signals I need to replicate or how to name them based on my configuration. I also don't know if I need the actual program SIMIT or not. Can someone provide a more detailed explanation of the step-by-step process I need to do to complete this setup? Thank you!

Answer
Support 2 years ago

I see that ABB is not finding the UnityConnection. It seems that something is wrong configured on the ABB side. Will check tomorrow on the computer in the Office where ABB RobotStudio is installed if I can find our example project and send it to you. My advice would be also to first just start with a very simple config (e.g. just the axis values) and extend this later on as soon as the connection is up and running.. 

0
Answered

Do you provide a robotic arm demo like the animation on the webpage https://realvirtual.io/en

auto 2 years ago in General Questions updated by Support 2 years ago 1

Hi

I'll begin to develop a robotic arm simulation software and I'm very interested in realvirtual.io. Will you provide a robotic arm demo like the animation on webpage https://realvirtual.io/en? Thanks.

Answer
Support 2 years ago

No currently the animation on the webpage is not included with our delivery. In about 2 weeks from now on in our next release we will have an inverse kinematic included in realvirtual.io with 2 examples of two moving robots (ABB and Stäubli).

0
Fixed

cant download demo project, link is brocken.

david jung le 2 years ago updated by Support 2 years ago 1
Answer
Support 2 years ago

Thanks for your information. Should be fixed now.

0
Answered

Drive with transport surface not working.

Bo Adam 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 21

Hello,

I have a rotating and lifting transport surface. It takes the carrier when it rotates and lifts, but the carrier doesn't move when I jog forward or backward. 

The same carrier works on a different transport unit that is built in the same way, so I know it is not the carrier that is the problem. 
The drive chains move with the rotating platform as desired.

I've added pictues to show the turning lift, I hope you can help me with the moving of the carrier problem!

Image 631

Image 632
Answer
Support 2 years ago

Hi,

if you use a moving transport surface, please make sure that y is the up vector for both objects holding the drive components. To connect a moving transport surface to a further drive use the components kinematic and group. Example below: