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

0
Fixed

Problem with rotational drive in combination with prismatic drive

PeterFischer 5 years ago in realvirtual.io Starter and Professional updated 5 years ago 4

Hello,

I noticed a problem with the motion axis feature in G4A. I created some sort of articulated arm which rotates around the vertical y-axis using a Drive script and a Drive_FollowPosition script. This works fine, however problems occur when I add a linear (prismatic) drive in a child object of it. I added a video to make it more clear: As you can see there is Link1 which rotates and Link2 (green) which contains a drive script with the direction "Linear Z". Since Link2 doesn't have any Drive Behaviour script yet, it shouldn't move at all, but as you can see, it starts drifting away. This problem doesn't occur when only rotational joints are used in the kinematic chain. Is it possible to fix somehow?

g4a_drive.mp4

Answer
Support 5 years ago

Hi, 

you need to change this line (left = old, right = new) in the Drive script:

It will be changed in Release 1.024 (Build 246 and upwards).

For customers who wish a Beta download - please send us your Invoice Number and we can send you a download link!

0
Answered

OPC UA Client is not in Connected state

Werner Paulin 5 years ago in OPCUA4Unity updated by PeterFischer 4 years ago 14

I can connect to my OPC UA server from OpcWatch, UA Expert and even Node-RED.

However wenn importing nodes I get an error message that the client would not be able to connect. I've attached a log-file. Does someone has any idea?

Image 171

Answer
Support 4 years ago

Which version are u using. I can't reproduce. With 1.026 Update works. Used Demo Model and UaCPPServer to check.


Do you have a small demo model - based on UaCPPServer where I can check your issue?

0
Answered

Difficulty to place a can on a small conveyor

Werner Paulin 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 3

I'm trying to follow the tutorial with the small conveyor. I've inserted the conveyor and instead of deleting components I directly jumped to "Insert Source". However I can not place a can onto the conveyor. Please see pictures. Is this linked to the error/info message I see when I click on "game4automation". BTW: I can't find this post processing stack at the unity store.

Thanks!

Image 163

Image 162
Answer
Support 5 years ago

You seem to be in editor view. The UI can be disabled by 

- deleting everything under game4automation (what will delete totally the UI out of the project)

- or by deselecting the Layer

In Game mode you can deactivate the full UI deselecting this option:

0
Answered

Unity to a PLC

leevi parssinen 5 years ago in General Questions updated by Support 5 years ago 2

I have not purchased the asset yet, cause i have some questions!

So, I have a driving game, beckoff PLC and a pneumatically controlled platform. Is this asset good tool to get that platform moving by using the rotation variables from Unity?

Answer
Support 5 years ago

Yes you can do that over OPCUA (included in Game4Automation Professional). With OPCUA you can transfer the values to the Beckhoff PLC.

In 1-2 months Game4Automation Professional will include also a direct ADS Interface. We are currently developing it.

0
Answered

OPCUA values not in PLC Output

PeterFischer 5 years ago in realvirtual.io Starter and Professional updated 5 years ago 5

Hello,

I am running the OPCUA demo with the UaCPPServer and it works fine, except that the values are not shown next to the GameObjects in Unity. I can see the current values from the server on each OPCUA_Node component, however it seems that the corresponding PLCSignals were not created like they should (from the OPCUA documentation page: "If the Game4Automation framework is installed, additionally all
corresponding PLCSignals are created. These signals can be dragged and
dropped with sensors or drives of the Game4Automation framework.")

I then added a PLC Output Float script manually to the respective node (see picture). Now the current value is shown next to the GameObject, but it doesn't update.

I also tested this with the test scene (OPCUADriveReadingWriting.unity) provided here: https://forum.game4automation.com/communities/1/topics/101-write-to-opc-ua-varible-using-the-plcinputfloat-datatype

But the PLC Output value is also not updated there.

Image 153

Answer
Support 5 years ago


Hi, 

first of all I strongly recommend to use Unity 2018.4 instead of 2019. Specially when compiling to the Build with an IL2CPP compiler there might be issues with Unity 2019.

There is something interfering with the demo use cases (need still to check what exactly). 

Please follow these steps:

- Make sure that the compiler defines are set to GAME4AUTOMATION; GAME4AUTOMATION_PROFESSIONAL 

Import while running the OPCUA server the nodes again. If you have enabled with the Compiler defines the full framework it will also create all PLCInputs and Outputs:


If you try now to run it you will get errors:

These errors are because the demo server is limited in subscriptions.


You need to turn off all subscriptions in the OPCUA nodes or you turn it off in the OPCUA interface and import again:


Please also delete the Use Cases completely (we will get rid of the problem with the use cases in the next release).

Now it should work as expected:

You find also the full working model (based on Unity2018.4) in the Uploadfoalder I have send you via mail.

0
Answered

Write to OPC UA varible using the PLCInputFloat datatype

DAT 5 years ago in OPCUA4Unity updated by Support 5 years ago 10

Can you write to OPC UA variable using the PLCInputFloat varible type. I easily read values from the PLCOutputFloat inside scripts using the "variableName".Value method but I cannot seem to write using the datatypes.

I am able to change to variables on OPC UA server using other applications.

Answer
Support 5 years ago

I am sending you via email a link to the current beta asset!

0
Fixed

Interface to SIMIT via SHM not working in build

DAT 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 6

I have recently bought the game4automation Pro, as I need simit and unity to communicate with eachother.

I have no issues getting SIMIT and unity to communicate via the SHM interface when using the "play" button from the editor, but when I run a compiled application Unity and SIMIT do not communicate.


I have tried to use both "2019.1.14f1" and "2018.4.9f1 LTS" versions of unity. As the function "Apply Standard Settings" fail in my "2019.1.14f1" project but switching to "2018.4.9f1 LTS" where the function runs without error did not help.

"GAME4AUTOMATION_PROFESSIONAL;GAME4AUTOMATION" is present in the "Scripting Define Symbols" field.

what am I missing?


Answer
Support 5 years ago

Hi Dat,

I uploaded Version 1.020 to Unity's Asset Store. This should fix the problems. You can now use pure .Net4.0 projects. Also CADLink is now able to compile wit .Net4.0 settings.

It will be availabe latest on Monday on the store.

Thomas

0
Completed

How can I deploy demo app to my iPad ?

YoncaY 5 years ago in General Questions updated by Support 5 years ago 2

Can I deploy demo app into my iPad by using starter kit? 

Answer
Support 5 years ago

Hi, yes you can do that with Unity and Game4automation Starter. It is a little bit more complicated than for Android. You will need a Mac for final compilation (alternatively Unity’s cloud build) and an Apple developer account. In Unity’s build settings you will need to set IOS as Build target.

Thomas 


0
Answered

PARTS4CAD don't open

efrensilveyra 5 years ago in Parts4Cad updated by Support 3 years ago 18

Hi I buy the  game4automation starter and I download the parts4cad from the asset store.

And I import the parts4cad in the project where is the game4automation,and I click in the game4automation tab > Cadenas parts4cad and it doesn't star the parts4cad software. Do I need another thing? Here is a screenshot.


Regards!

Image 137





Answer
Support 5 years ago

Hi,

thanks a lot for the hint. We will check how we can prevent that and allow spaces in folder names. Didn't know that this causes problems.

Best regards