Skip to content

suggested changes to protobuffer after eds mapping experience #152

@nimrof

Description

@nimrof

Hi,
Got some changes to protobuffer i want to discuss

  1. Change index & subindex from string to integer
    Its easier to work with integers and i not sure if there is a good reason why its a string.
  2. Add the remaining OD object datatypes (null,domain,deftype,defstruct)
    It makes it easier to map other standard formats
  3. Add a map<string, string> to object & subobjects
    That will allow us to store non-standard key & values in a standard way and would be equivalent to xdd property that is currently used to store canopennode values.
    We could probably add some generic known key system that could allow us to treat them as integer/enum/other in the gui although they are stored at string.
    This could also be a better way to treat some of canopennode non-standard data in a generic way
  4. The storage format should be repeated CanOpenDevice
    That allow us to store multiple devices in a single file if we want, its a little tricky/hacky to parse multiple files if we write just write multiple files without protobuffer support

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions