Skip to content

Create C/C++ implementation of Simulink controller #28

@JuanR-Git

Description

@JuanR-Git

The goal of this task is to integrate our Simulink control system logic into C/C++.

This task will involve us closely working with the motor, sensor, and AI teams to integrate our solution with their APIs.

The C code can be written using Simulink packages such as Simulink Coder. These packages will create functions for our Simulink blocks which we will then manually update with the proper variables names, API calls, and comments to align with the other modules.

Starting Point for State Implementation

Starting Point for Controls

Once the C++ code is written we will develop a testing strategy to validate our code and it's performance against our Simulink model.

By the end of this task our C/C++ code should meet the following requirements:

  • Properly performs control systems tasks as per our Simulink model
  • Properly calls motor, sensor and AI team APIs
  • Adheres to our variable naming convention
  • Contains clear and concise comments for maintainability
  • Has test cases to validate effectiveness

Ensure design is documented in the Milestone 2 Doc with the corresponding justifications, design considerations and research,

Metadata

Metadata

Labels

Control systemsPart of series of issues handing control systems

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions