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

0
Fixed

OPC UA reconnects only once, Realvirtual professional

dgcrt 3 months ago in realvirtual.io Starter and Professional updated by Support 3 months ago 4

Good morning,

We are having problems with the OPC UA connection.

When the OPC server is turned off and on again the connection is reestablished correctly, but only once since startup, if the server disconnects a second time the connection is never reestablished.

How can we solve the problem?

Thank you.

0
Fixed

Can't import nodes of Beckhoff OPC UA Server in Unity Editor

BatuOx4S 3 months ago in realvirtual.io Starter and Professional updated by Support 3 months ago 4

Hello,

I recently purchased realvirtual for Unity and I am trying to get familiar with the demo application.

For future projects it is necessary to keep up OPC UA connections with Beckhoff TwinCat PLCs and Siemens PLCs.

For now I work with a Beckhoff PLCs that runs demo code and a OPC UA server on it.

Connecting to the OPC UA Server with OpcWatch or UaExpert is no issue (security = None)

Image 1033


My Unity configuration looks like this:

Image 1034

However trying to connect in the Unity Editor results in the following error message.

Image 1035

I tried applying standard setting and also connecting to a local python opc ua server without success.

Connecting to the PLC with the TwinCATInterface object however worked well (for future applications a wireless connection on android devices are mandatory).


Unity Version:
2022.3.14f1

realvirtual version: release 2022.07 07. September 2023


I hope I delivered sufficient information.

Thanks in advance.

BatuOx4S

0
Answered

Suspend the use of paths built by IK

haoyu yi (Hari) 4 months ago in realvirtual.io Starter and Professional updated 4 months ago 5

Hi,

I created the path after building the robot using the IK component.

When I select the loop, it works the way I want it to.

But now my requirement is that I want it to be able to pause the movement after receiving a certain pause signal value and continue the movement after receiving a move signal value.

May I know how can I implement that functionality.

I see that there is a WaitForSignal property in the Script but it is read only, can I use this property? How can I use this property?

Image 1019

0
Answered

PATH IK and target problem

digitaltwin 5 months ago in realvirtual.io Starter and Professional updated by Support 4 months ago 7

I followed the inverse kinematics tutorial. I am using the ABB IRB 1300 robot. The issue I am having is that my robot's TCP is not aligned to the root. It is causing issues and when using the Path IK, the target is not showing (red dot) and the robot's not moving at all. My friend is also having a problem with the Path IK, the target was stated to be unreachable. 

0
Answered

area read Mode with DB

planti 5 months ago in realvirtual.io Starter and Professional updated by Support 5 months ago 2

Hello,

is there anyone who can explain, how I can get the data, when I use Area Read Write Mode in the S7 Interface? I tried to read form a DB, which worked well. So the connection to my CPD is OK.


Thanks 

0
Planned

Building to Android compiler error: Missing reference to SharedMemoryInterface in SharedMemoryInterfaceEditor

Henrik Nordlund 6 months ago in realvirtual.io Starter and Professional updated by Support 6 months ago 3

When switching build mode to Android, the SharedMemoryInterfaceEditor is still compiled but SharedMemoryInterface is not.

First line in SharedMemoryInterface:

#if UNITY_STANDALONE_WIN

First line in SharedMemoryInterfaceEditor:

#if (UNITY_EDITOR && !UNITY_EDITOR_OSX && !UNITY_EDITOR_LINUX)


Clearly, in android, the  SharedMemoryInterface is not declared but SharedMemoryInterfaceEditor is, leading to compiler error.

Work around: Change first line in SharedMemoryInterfaceEditor to:

#if (UNITY_EDITOR && UNITY_STANDALONE_WIN && !UNITY_EDITOR_OSX && !UNITY_EDITOR_LINUX)

Answer
Support 6 months ago

Thanks a lot - which version are you using. In the current release we are able to build to Android? The compiler define  of your work around is a solution - in current release it should be solved by the assembly definition.

0
Declined

Nothing happens after clicking import package from package manager

Dan 6 months ago in realvirtual.io Starter and Professional updated by Support 6 months ago 3

Hello. Using unity 2022.3 LTS i clicked first download and then import. Some meters are running, but in the end nothing happens.

2.JPG

3.JPG
4.JPG
1.JPG
0
Not a bug

Fixer not fixing properly?

David Hallahan PEng 6 months ago in realvirtual.io Starter and Professional updated 6 months ago 2

Hi, 

I am quite stumped by the Fixer's behaviour. This should be simple functionality and it does not seem to work for me. It appears linked to how the "MUs Fixed" array is updating (or not updating). 

I have this gripper (grip & sensor) (yellow), MU (blue) and Fixer (red).

Image 990


Picking works fine.

Image 991


At this point, the MUS Fixed array is empty and the MU has been picked. 

Image 992

As soon as the MU is moved into the Fixer the MUS Fixed array updates but the MU is not actually fixed. And 'Place Objects' on the Grip has no effect. 


Image 993

At this point, 'Place Objects' was clicked while in the Fixer collider but was not Fixed. 


Image 994


 But if I clear the MUS Fixed array then re-enter the Fixer with 'Placed Objects' on, the MU becomes Fixed. 

Image 995

Image 996

Picking works but the MUS Fixed array is not cleared. 

Image 997

Placing again will not work until the MUS Fixed array is cleared manually. MUS Entered array is never updated.

I notice that in the Gripping MUs sample this does seem to work and arrays are updated properly. But there's a number of signals in use in that demo. Perhaps it works only when PLC signals are used. But it would be nice if it worked without the PLC signals. 

Answer
Support 6 months ago

Hi,

I have setup the situation as you described. 
The settings in my Grip-script are the following:

Image 998

With this settings it works when you switch between pick and place during the game mode. The Fixer only keep the MU if the gripper is set to place. The gripper always holds the higher priority.

According to your screen shots I'm not quite sure how the picking was able to work because there is no pick mode defined.

(for this have a closer look in out documentation: Grip - realvirtual.io User Documentation (gitbook.com).

Kind regards 

Christin

0
Answered

logicstep

Gio 7 months ago in realvirtual.io Starter and Professional updated by Support 6 months ago 2

Image 982

I added a Logicstep script, but there is an error in the above screenshot, what is the reason?

Answer
Support 6 months ago

Hi, this is a non blocking step - this is why it is getting in a infinite loop.

0
Fixed

Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'

R S 9 months ago in realvirtual.io Starter and Professional updated by Support 9 months ago 2

I played the project on the "Game" screen. However, when I click the right mouse button, I get the following error and nothing is rendered on the "Game" screen.

- Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'
UnityEngine.Quaternion:Internal_FromEulerRad (UnityEngine.Vector3)

- transform.position assign attempt for 'Main Camera' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transform:set_position (UnityEngine.Vector3)

Ubuntu22.04, Unity 2022.3.7f1, realvirtual.io Digital Twin Professional 2022 Ver.2022.6.0Ubuntu22.04, Unity 2022.3.7f1, realvirtual.io Digital Twin Professional 2022 Ver.2022.6.0

Screencast from 2023年08月16日 23時43分29秒.webm

Answer
Support 9 months ago

Got it - Linux is not supporting Screen.dpi. You should insert this in line 456 in SceneMouseNavigation. It will be part of the next release in 3-4 weeks, for the moment you should change the code manually.

#if (UNITY_EDTOR_LINUX || UNITY_STANDALONE_LINUX)
DPIScale = 1;
#else
DPIScale = 144/Screen.dpi;
#endif