Skip to content

Benchmark and decide for the use of Proto3/FlatBuffer/CapnProto/DDS in OSI #56

Closed
@HannesSchneiderAVL

Description

@HannesSchneiderAVL

We would like to use the OSI with csharp environment. But compiling classes for c# seems to be only supported for proto3. When compiling this version (changed the syntax variable to proto3) I get following errors:

osi_common.proto:14:14: Explicit 'optional' labels are disallowed in the Proto3
syntax. To define 'optional' fields in Proto3, simply remove the 'optional' labe
l, as fields are 'optional' by default.

for each definition.

then I removed the invalid optional statements.

and then following error occurs:

osi_common.proto: Explicit default values are not allowed in proto3.

by removing also the explicit values I was able to generete the class.

Metadata

Metadata

Assignees

Labels

FeatureRequestProposals which enhance the interface or add additional features.Performance&PackagingThe Group in the ASAM development project working on improving OSI performance.QuestionGeneral questions about the standard, work-flow and code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions