Skip to content

Simplify Rocket Command Data enum #78

@seofernando25

Description

@seofernando25

Need these datatypes simplified to facilitate some of the data modelling in the ground station

image

image

Instead of using Command one could argue that they could always just use CommandData same for State and StateData.

Can you please simplify this code to do that?

pub enum Data {
    State(StateData),
    Sensor(Sensor),
    Log(Log),
    Command(CommandData),
}

Some small change might need to be done in the recovery board, but its just some minor syntax change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions