Project

General

Profile

Actions

Support Request #10715

closed

Stream Type error - how to extract elements from complex data type to map a plain type ?

Added by hidden about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Solved Issue
Affected Products:
Platform:
Topic:
ADTF::MessageBus
FAQ Links:

Description

Supportanfrage

We have tested a co-simulation between dSpace VEOS and ADTF 3. After adaption of your example session (https://www.cip.audi.de/bitbucket/projects/OPENDEV/repos/adtf_community/browse), the communication between VEOS and ADTF 3 works.
Currently we tried to process the data received from VEOS, using a tutorial filter written in your GUIDES, however, We encountered an type error:
error occured in 'unnamed_sample_stream' (category: 'stream_error'): Result code '-38 '(ERR_FAILED) - The destination plain type '' differs from the source plain type 'FLOAT32' [File: c:\workbench\adtf3\adtf-3.6.2-win10_x64_vc141\pkg\adtfstreaming3\include\adtfstreaming3\streamtype.h] [Line: 150] [Func: adtf::streaming::ant::stream_meta_type_plain::IsCompatible]

Backgroud:

1. Processing filter: https://support.digitalwerk.net/adtf/v3/guides/tutorial_filter_processor.html

2. Our input is generated from Simulink using dSPACE ADTF Tool, we converted the type to single, but it seems that has no effect on the error, no matter which data type we change our input to, the error stays the same.

[cid:]

Our questions:
What is the cause of this error? Is the inconsistency of the data or ?
How can we adapt our input data to this filter or how can we adapt this filter to our input data?

Lösung

Issue for Exracting Filter created -> ACORE-10455
Code snippets are also attached.


Files

image001.jpg (15.9 KB) image001.jpg hidden, 2020-03-06 14:30
adtf1.description (4.08 KB) adtf1.description hidden, 2020-03-13 08:45
Playground.plugindescription (5.93 KB) Playground.plugindescription hidden, 2020-03-13 08:45
element_extractor_filter.cpp (5.56 KB) element_extractor_filter.cpp hidden, 2020-03-25 15:58
Actions

Also available in: Atom PDF