Hello Ghada,
Sorry for the delay.
Remove everything of /inc/VSS/ and /src/VSS/ from the build.
Then write your own code to manipulate the content of the actual instance of the BaseRuntime structure.
The current (VSS-) SignalConnector class connects some VSS macros to according values in the BaseRuntime instance.
A call to a VSS macro emits a signal to the runtime instance.
Your replacement code needs to do the same to act as a source of vehicle signals.
That’s currently all I can tell you about this.
Beste Grüße – Kind regards
Benjamin
Von: Ghada Alaa <ghada@xxxxxxxxxxxxx>
Gesendet: Montag, 26. August 2024 12:48
An: Weidenfeld, Benjamin <Benjamin.Weidenfeld@xxxxxxxxxxxxx>
Betreff: Re: [ambientlight-dev] Ambient Light Services SWC Questions
Hi Benjamin,
How can I do this, SignalConnector.cpp includes vss_spec.h? so it will give errors or do you mean just use the implementation of connect in signalConnector?
Can you please share with me any documentation or resources for running the application other than the readme file ?
Hello Ghada,
We had a quick look, and it seems that there is an issue in the
vss_spec.h.
Unfortunately, we do not have the capacity to work on that project at the moment.
Our suggestion would be to try to build Ambient Light Services without VSS integration.
You can use the
struct BaseRuntime (in /inc/BaseRuntime.h) directly.
The sources of the
SignalConnector class (in /src/VSS/SignalConnector.cpp) can be used as an example how to do this.
I hope it helps you.
Beste Grüße – Kind regards
Benjamin
Hi Benjamin ,
Thank you for your reply.
I got in vss_spec.h a lot of build errors
ambient-light-services/inc/VSS/vss_spec.h:1131:47: error: taking address of temporary array
I need further clarification about how to use the data set in code , retrieving outputs and VSS usage in code, what I did was
SignalConnector sConn(runtime);
std::cout<<"about to connect\n";
// connect signals set inputs
if (sConn.connectSignals())
std::cout<<"VSS Signals are connected\n";
std::cout<<"VSS Signals are disconnected\n";
If you have any other documentation / FAQs can you please share it with me?
Hello Ghada,
the general 'build instructions' can be found in the repo with the
README.md
The specific questions should be precisely formulated:
NOT
"The build fails"
BUT
"CMake" or "make aborts with the error message “…" and CMake version, compiler version etc.
How urgent are you questions?
We are currently facing some capacity constraints, so our responses may be delayed
Beste Grüße – Kind regards
Benjamin
I have some questions related to building the original code in the repository and I find no documentation for that
can I contact someone who can help?
|