Digital-Twin | using drones and rgb-d camera in 3d reconstruction | 3D Printing library
kandi X-RAY | Digital-Twin Summary
kandi X-RAY | Digital-Twin Summary
In this bachelorproject we explore the viability of using drones and rgb-d camera in 3d reconstruction.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- main loop for the FCU
- Convert csv to pandas dataframe .
- Root mean squared error
Digital-Twin Key Features
Digital-Twin Examples and Code Snippets
Community Discussions
Trending Discussions on Digital-Twin
QUESTION
I am trying to use the Azure Digital Twins API to create twins of the model I have uploaded. So far, I can successfully create one twin per model per API request.
Is there any way to create multiple twins from multiple models in 1 request?
So far I have tried parsing various iterations of the following as the JSON payload.
...ANSWER
Answered 2021-Dec-13 at 18:29Unfortunately, you can't do this in one API call. You can add multiple models at the same time, but you can't add multiple twins in one call.
It would make a good feature request.
QUESTION
In the video Siemens posted online, I saw a code. This code is part of the EngineeringInternalExtension.dll library. Please find the library here.
They always have a comment for each method. This is really helpful for me to understand the API. But in my current code, please find it below, I found no comment at all. I don't know why this happens, I think it might be that I use the wrong reference, could you please help me?
...ANSWER
Answered 2021-Sep-29 at 21:24I guess you don't have the related EngineeringInternalExtension.xml
file.
Comments should be stored there.
QUESTION
In the Azure Digital Twin (ADT) limitation:
https://docs.microsoft.com/en-us/azure/digital-twins/reference-service-limits
there is a limitation on the "number of models within a single Azure Digital Twins instance".
My questions: how to count the number of models in ADT? what is counted as a single model in ADT?
...ANSWER
Answered 2021-Feb-16 at 12:02You can get all the models by using the az CLI, there is a model list command that you can use. Alternatively, you can use any of the SDKs to do the same. I get the number of models by adding a JMESPath query to it:
QUESTION
I am experimenting with this https://forge-digital-twin.autodesk.io/# using the gitlab code. I can display it locally (without the engine or dataflow) but I can not gain an access token.
I am using the VSCode extension and I get the code 401 (Unauthorized) error if I try to create buckets etc (hence why I am trying to get an access code). However, when I request one using this:
curl -i -X POST 'https://developer.api.autodesk.com/authentication/v1/authenticate' -H 'Content-Type: application/x-www-form-urlencoded' -d 'client_id=-----' -d 'client_secret= ----' -d 'grant_type=client_credentials' -d 'scope=data:write data:read bucket:create bucket:delete'
I get this error:
Invoke-WebRequest : Cannot bind parameter 'Headers'. Cannot convert the "Content-Type: application/x-www-form-urlencoded" value of type "System.String" to type "System.Collections.IDictionary". At line:1 char:90
- ... ticate' -H 'Content-Type: application/x-www-form-urlencoded' -d 'cl ...
- ...
ANSWER
Answered 2021-Jan-21 at 21:38It defaults to Invoke-WebRequest. Try to use Invoke-RestMethod like this:
QUESTION
There is some confusion between two aspects of Azure IoT-Hub. I see here that Azure Digital Twins (with DTDL) simplify device state management (reported, desired properties) when compared to Azure IoT-Hub Device Twins. However, I see here that they appear to be separate but linkable entities.
So the question: Can Azure Digital Twins (and DTDL) be seen/used as REPLACEMENTS for Azure IoT-Hub Device Twins. How? If not, why not, since having two separate Twins appears overly complex?
Note that we use the IoT-Edge and leverage its offline features of reported and desired properties in the Iot-Hub Device Twins.
Thanks!
...ANSWER
Answered 2020-Dec-09 at 09:11Short answer: No
Longer and arguably more friendly answer: To leverage the Device Twins in IoT Hub, you need Device Twins in IoT Hub, but you can link it to your Digital Twin in Azure Digital Twins (ADT). If you want to include your Device Twin properties in ADT, you need to route your Device Twin messages to a Function that will make the translation to ADT. In this subsection of the docs, you can see the differences in notation.
If you want to let ADT 'drive' your Device Twin, you need to subscribe to ADT change notifications, consume them in another Function and apply the changes in the Device Twin in IoT Hub. This is currently all custom work, you can base some of the work on the link you provided in your question.
With regards to your question about complexity: it might seem a little complex to set up ADT as your single source of configuration, but when it's done, you have your config in one place. In practice, I'm not seeing this happen a lot.
Important to noteTo make things a little more confusing, the first link you provided mentioned Digital Twins and Device Twins as if they're two different things, while in fact, it's three. You have the Device Twin in IoT Hub, the Digital Twin in IoT Plug and Play context and a Digital Twin within Azure Digital Twins. It's important to understand the differences between the three, as ADT is a separate system, but PnP Digital Twins and Device Twins are accessible through your IoT Hub.
QUESTION
I need to show data(label with background frame) on objects in the autodesk viewer. I tried implementing this blog https://forge.autodesk.com/blog/placing-custom-markup-dbid and this is what I am trying to reproduce also I took reference from https://raw.githubusercontent.com/Autodesk-Forge/forge-digital-twin/master/public/scripts/extensions/issues.js
Things which I tried. 1.Placed .js file in my folder which the code inside 2.gave reference to the file in my html 3.loaded the extension as shown in the above sample 4.have all the bootstrap cdn imported 5.jquery cdn imported
I am able to get the half temperature icon button also extension accepts icon with db ids which I have provided and when clicked on button the icon and text both are not visible, extension executes which out any error but I am not able to see any reflection my viewer.
can any one help me what I need to check more in order to achieve this as I feel lot of things in the autodesk are been updated and I might be missing something
...ANSWER
Answered 2020-Sep-24 at 06:49The "issues" extension in the "forge-digital-twin" demo requires a specific server endpoint to get the data from, as you can see here: https://github.com/petrbroz/forge-digital-twin/blob/master/public/scripts/extensions/issues.js#L55-L57. You can replace these 3 lines of code and populate the this._issues
array in any way you want. For example, you could hard-code the values directly like so:
QUESTION
Trying to run the sample from Azure-Samples/digital-twins-samples.
It is failing here in this code
client.GetDigitalTwin("---");
I have entered the required credentials in the authentication window and it gives an exception saying "InteractiveBrowserCredential Authentication Failed".
Inner Exception - "Only loopback redirect uri is supported, but urn:iet:wg:oauth:2.0:oob was found." Configure http://localhost or http://localhost:port both during app registration and when you create the PublicClientApplication object. See https://aka.ms/msal-net-os-browser for details
I have verified whether the role "Azure Digital Twins Owner (Preview)" is present for my user id and I am able to view/update the models & twins in the digital explorer sample from this example ADT explorer, but unable to update model through code. I believe there is some configuration missing in the reply url of the desktop/web url.
Any idea how to fix this issue.
...ANSWER
Answered 2020-Sep-02 at 20:59After discussing directly on this issue, we observed that the Internet Explorer on Client Machine is causing/experiencing some blocking on pop-ups.
Resolution 1:
- Please check if there are any pop-up blockers enabled on the browser.
- Please change the default browser to another browser [like chrome] and re-try.
- Clear the browser cache and close all opened browser sessions.
- Restart VS2019 and try to run the sample code.
Resolution 2:
- Make sure you are using Azure.Identity latest NuGet Package. As of today 09/02/2020 the working version is Azure.Identity 1.2.2
Resolution 3:
Please make sure the AAD Application Authentication has a 'Mobile & Desktop Application' Platform added, along with the redirect URL. For more information please visit this Github issue:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Digital-Twin
You can use Digital-Twin like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page