We are building an application upon "APS DataViz Extensions Demo" and we've run into a problem for having different sensor types in one room, as shown in "original_heatmap.PNG". In summary, we have two sensor types: 1. ENV sensors including Temperature, CO2, and Humidity channels information, and 2: PPL sensors including PplCounter channel.information only. The current SensorHeatMap extension returns 0.00 for sensor values that do not have information for a specific chosen channel, as shown in "original_heatmap.PNG", in which, PPL sensor is showing 0.00 on the heatmap in case the Temperature channel is selected. Following, the documentation for "renderSurfaceShading(nodeIds, sensorType, valueCallback, options)" and "SensorValueCallback" we changed the return value to NaN so that "the sensor will have no influence in the resulting heatmap color (it is as though the sensor did not exist).". However, we are receiving 0.00 across all of our sensors in all of the selected channels, as shown in "NaN_heatmap.PNG". As a result, we'd appreciate any help and assistance for dealing with this problem. Also, other tips for incorporating multiple sensor types in one model is much appreciated. Original code for dataviz heatmap Heatmap after returning NaN in SensorHeatmapExtension
Assistance with having multiple sensor types in APS DataViz Extensions Demo
92 Views Asked by Kaveh Mirzaei At
1
There are 1 best solutions below
Related Questions in AUTODESK-FORGE
- Forge APS Restricting Third-Party Hub Access Levels / Visibility - Custom Integration
- I think i have been locked out of Autodesk, what can i do?
- Forge Viewer: SVF2 of DWF 2D view object properties is not accessible by getProperties function nor do they show on the property panel
- automate publishing Revit models to ACC more than once a week
- The ProjectGuid and ModelGuid is not shown in the return from API
- Issue with generate Rooms use Model Devaritive API
- angleToTrueNorth is null for Navisworks translated model
- Getting Unauthorized error when creating a project from template through API
- No viewabels are generated when translating DWG files to SVF2
- Visualizing NavisWorks Grids in Forge
- Using new useOPFS=true in Forge
- I am trying to write a sanskrit mantra on autocad. When I preview the text, it is correct but as I plot the file to pdf, the 'maatra's' change
- End User License Agreement (EULA) for products submitted by Publishers to the Autodesk App Store?
- How to get full metadata inertia metrix, inertia center, mass, volumn, ect.. from GET Properties
- Autodesk.DataVisualisation example doesn't seem to working
Related Questions in AUTODESK-DATA-VISUALIZATION
- Autodesk platform service model translation issue for aps-iot-extensions
- How to init a Autodesk viewer with MultiViewerFactory and AggregatedView?
- Previous selected sprite can't be selected again
- How to select a SpriteViewable (change svg url to highlightedUrl) via code?
- DataVizExtension: Issue with deleting a sprite dynamically in the viewer (getViewableUV being called unexpectedly)
- Loading back extensions after changing models for Forge Viewer
- Cannot Display Sprites in Autodesk Data Visualization Extension Demo
- Switch different pointMeshes of the dataVizExtn in the invalidateViewables() function
- Assistance with having multiple sensor types in APS DataViz Extensions Demo
- how to add tooltip to autodesk forge sprite viewable?
- Why is the example application throwing me the error: bug/1173575, non-JS module files deprecated?
- ForgeViewer: creating a SurfaceShadingNode without Revit-Room
- I want to maker a Forge Heat Map using my personal CSV files with a Revit Building
- Replacing a model in the reference application, Forge AutoDesk Data Visualization
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Thank you for the heads up. I've updated the
SensorHeatmapsExtensionso that when no sensor data is available,Number.NaNis returned: https://github.com/autodesk-platform-services/aps-iot-extensions-demo/commit/b3e9018f603fecf57601d8c17d2610d62aef23d9.After this update, the heatmaps are behaving as expected, i.e., sensors that don't have relevant data are not contributing to the heatmap in any way.
EDIT: in case you actually need your sensor data to "fall off faster", you'll need to tweak the
heatmapConfig.confidencevalue. I've made another update to theSensorHeatmapsExtensionto indicate the possible settings: https://github.com/autodesk-platform-services/aps-iot-extensions-demo/commit/ed64c238fa5e6330743235b3e08fcecac8bcb42d.