PolarRobotics / PolarRobotics/PR-ESPIDFCodebase

PID Functionality

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
9
Forks
1
Avg merge
14m
Merged PRs (30d)
3

Description

Goal:

Create a function that calculates the PID terms for the plant in a control loop. Testing will be needed to ensure values are being calculated correctly

Integration in main:

gonna push my code for PID to dev/main because its a standalone thing and quarterback turret can benefit from my changes - @rdavies02

Subtasks

  • Create Template Class
  • Add millis() to ensure values are being calculated correctly
  • Test without millis()
  • add a template for choosing the datatype of the process variable (using float for now)
  • move to PR-Lib

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing template class and the planned PID integration in dev/main. Define how millis() and the float process variable should be handled, then test the PID terms with and without millis() before considering the move to PR-Lib.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.