Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCPLite runs on the simulink model #12

Closed
Z-ZWBY opened this issue Feb 13, 2022 · 2 comments
Closed

XCPLite runs on the simulink model #12

Z-ZWBY opened this issue Feb 13, 2022 · 2 comments

Comments

@Z-ZWBY
Copy link

Z-ZWBY commented Feb 13, 2022

Hello Rainer Zaiser

Thank you for yourwork and i have run the XPClite V4 on the ubuntu.
If i want to use my ecu model ,i should replace the ecu.c or ecupp.cpp, it is right?
And i think i can use the sfunction and TLC to compile your XCPLite in the simulink, and simulink model can use the XCPlite( to suppot the model working on the ROS and use the CANAPE to calibrate and measure)

@RainerZ
Copy link
Collaborator

RainerZ commented Feb 16, 2022

Hello,

yes, a cyclic task like in ecu.c C_Demo (V5) would be the typical place to run code generated from a Simulink Model and expose its parameters and signals via XCP. In this case, you have to implement a method to map XCP addresses in the Mathworks A2L file to the memory locations of your model input, output and parameters. The CANape Simulink Integration Package provides support to do this. For more information, please contact me directly.

Regards

@Z-ZWBY
Copy link
Author

Z-ZWBY commented Feb 17, 2022

hello Rainer

Thank you for your replies.
About the CANape Simulink Integration Package, is it the Vector MATLAB/Simulink MC Add-On 15.0.10 (64 bit)? i read the description and ask the my salesperson, the vector XPC Simulink only supports the simulink model and doesn't support the C code generation。
i hope my model could be compiled to CPP code and run as a node on the ROS. So i want to use the XCPlite and try it.

@Z-ZWBY Z-ZWBY closed this as completed Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants