Prespective

For questions regarding Prespective please visit our support page over here:
https://unit040.atlassian.net/servicedesk/customer/portal/4
Prespective can help you build Digital Twins. View our Unite presentation to get a glimpse of the possibilities.
Coupling in PLC’s like Siemens, Beckhoff, MQTT, OPC…
A kinematic system and tools for data preperation.
Look at www.prespective-software.com for more information
Or our youtube channel

Here you find documentation:
https://unit040.atlassian.net/wiki/spaces/PUD/pages/6979785/Feature+Overview
Track known issues at:
https://unit040.atlassian.net/wiki/spaces/KBI/pages/7013494/Known+issues+bugs
For issue reporting please go to:

1 Like

Hello,

I’m trying to toggle the kinematic controller with a script:

GetComponent<KinematicsController>().enabled = !GetComponent<KinematicsController>().enabled;

This works for regular Unity objects, but not it tells me that type or namespace “KinematicsController” cannot be found.

Is what I’m trying to accomplish even possible and if so, how can I fix this?
Alternative solutions are also appreciated.

Kind Regards,

Kima

Hi Kimalakaha,

The KinematisController is within the “u040.prespective.prepair.kinematics” namespace.
If you use “using u040.prespective.prepair.kinematics;” at the top of your script, the kinematicsController should be found, or you can specifictly target the “u040.prespective.prepair.kinematics.KinematicsController” within your script.

Could you let me know if this fixes your issue?

Kind Regards,
Prespective Support

Thank you! This fixed my problem! I wasn’t aware about the namespace.

When I play with the tutorial of Prelogic i end up with the following error in my UNITY window,
InvalidProgramException: Invalid IL code in u040.prespective.prelogic.adapters.tcads.TwincatADSStreamAdapter:useBlockRead (): IL_0409: callvirt 0x0a0011f3
u040.prespective.prelogic.adapters.tcads.TwincatADSStreamAdapter.BlockReadWriteUpdate () (at <9e6004563c014e028ca36140399a1116>:0)
u040.prespective.prelogic.adapters.PrelogicStreamClient.update (System.Single _timeDelta) (at <9e6004563c014e028ca36140399a1116>:0)
u040.prespective.prelogic.PreLogicSimulator.FixedUpdate () (at <9e6004563c014e028ca36140399a1116>:0)

and I’m not able to write the values from the twincat as well as unity to twincat.

Could you fix this issue.

Regards
Rahul Ravi

Hi Rahul,

Thanks for also contacting us thought email, I have send a reply to you through email.

Kind Regards,
Prespective Support

Hello Prespective Support,

I’m getting the same error as Rahul, how do I fix this issue?

Kind regards,
Kiki Bink

Hi Kiki,

Please find the updated project with the tutorials in the link below:
https://www.dropbox.com/s/ba5fw9a73z7znf6/Prespective%20Tutorials%201.2.86.1706.rar?dl=1
(The link on the Youtube is also updated)

This is an upgraded project with the latest Prespective version (1.2.86.1706) which has a fix for the Twincat ADS bug.
The communication was tested with Unity 2019.1.9f1. The Twincat project is located in the “Twincat Project” folder with the package.

Kind Regards,
Prespective Support

2 Likes

Hi,
I inserted wheel joint to one of my part but my gizmo isn’t at the center of the part which is located at far away say at the origin of the whole scene. You can see that in the image below, kindly help me with this…

Thnak you

Hi,

the wheeljoint is normaly located at the pivot point of the object. I see in the images above that you have your gizmo’s set te “Centre” which draws them on the centre of the geometry selected. If you click this button and set it to “pivot” does that change the gizmo to the position of the wheeljoint?

If that is the case you might need to change the position of the pivot of the selected object. This can be done with the Prepare → move pivot functionality within Prespective.

Kind Regards,
Prespective Support

Hi
I tried to set it to “PIVOT” but it doesnt change, and even tried the Move PIVOT functionality and still no change in the GIZMO. Is this because of the CAD file imported ??..

Hi,
When i’m importing COLLADA file i’m facing an error as below:-

Kindly help me with this…

Regards
Rahul Ravi

Hi Rahul,

For using Collada files within Unity, we provide an export and import tool within prespective. It is also possible to directly import native Collada files within Unity. To do this simply drag and drop the file from explorer to the project pane within Unity.

With regards to the pivot problem, is it possible to share the project with us, so we can test this ourselfs?
You can email a link to support@prespective-software.com

Kind Regards,
Prespective Support

Dear Perspective-Team,

i just saw you Unit 2019 Presentation and i find perspective realy great. I’m a Ph.D Student in the Research-Field of digital twins and neuronal AI.

I’m most curious about the communications-adapters of perspective. Does the opc ua adapter of perspective can be deployd to android or iOS devices?

Kind Regards,
Stefan Böhm

Hi Stefan,

at the moment we dont support building to Android or IOS devices. We aim Prespective mainly at desktop systems, due to better performance. We have not tested building for Android or IOS, so you can test it yourself, our free trail is still available.

Kind regards,
Prespective Support

Hi,
I need to model a flexible pipe in unity, can i use spline for it or do we have any other functionality in prespective to model a flexible pipe.

Regards
Rahul Ravi

I used the chang pivot tool and changed the pivot of each and every parts individully by finding the mesh center , it was tiresome but now it works fine…

sorry for the late reply

Regards
Rahul Ravi

Hi Rahul,

At the moment we dont have tooling to make a flexible pipe. Usually a hose or pipe is not a mechanical component and therefor not of big importance to a simulation.

You might be able to make a pipe/chain with the standard Unity hingejoint, or look in the asset store for rope or pipe physics. (a quick look search https://assetstore.unity.com/packages/tools/physics/rope-minikit-154662 might be a solution)

Regards,
Prespective Support

Is it possible to use the output data of different senors to make the digital twin in prespective emulate the process and actions that the physical machine is performing in real time? and also can you provide a list of supported IOT platforms and how can we integrate IOT data with prespective

Hi Prathamesh3022,

Prespective is made for testing real time with a digital twin. you can simulate all kinds of sensors in real time. You can connect with these sensors thought different different protocols. We support a variety of different protocols
6241478--687323--upload_2020-8-25_12-0-45.png

If you can have your IOT solution communicate with MQTT or Active MQ, it will be fairly easy to simulate the sensors and sensor data you need in real time.

You can download the Prespective Beta if you dont allready have it. If you run into anything feel free to contact us through this forum or the website (https://prespective-software.com/)

Kind regards,
Prespective support