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

Data type generation using Nunavut #4

Open
samcrow opened this issue May 10, 2021 · 2 comments
Open

Data type generation using Nunavut #4

samcrow opened this issue May 10, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@samcrow
Copy link
Owner

samcrow commented May 10, 2021

All the data type definitions and serialization code are hand-written. The existing Nunavut tool can automatically generate code for some languages. With some changes, it could also generate Rust code for use with canadensis_encoding.

Before embarking on that, we should decide if the ReadCursor/WriteCursor definitions need any changes.

@samcrow samcrow added the enhancement New feature or request label May 10, 2021
@samcrow
Copy link
Owner Author

samcrow commented Oct 24, 2021

Now that we have canadensis_codegen_rust to automatically generate code, this is not so critical.

@pavel-kirienko
Copy link

YSK that there is currently work underway on Rust code generation in Nunavut: https://forum.uavcan.org/t/uavcan-rs-v1-progress-tracking/1430?u=pavel.kirienko

You would be most welcome to join the discussion. Nunavut is designed to generate code that is completely agnostic of the implementation library that it is going to be used with; that is, the expectation is that one could use such Nunavut-generated Rust code with either Canadensis or uavcan.rs with no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants