Skip to content

removed pin underscores in iomanagement.h #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jack-koestering
Copy link
Contributor

removed the underscore in pin definitions in iomanagement.h

Copy link
Contributor

@bquan0 bquan0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also change TIM7 to TIM2 in motorcontrol.cpp since the code won't work if two timer interrupts use the same timer.

@bquan0 bquan0 force-pushed the jack_koestering_combine_digital_analog branch from 9d97f07 to 2344c28 Compare March 11, 2025 23:42
jack-koestering and others added 7 commits March 18, 2025 19:55
@bquan0 bquan0 force-pushed the jack_koestering_combine_digital_analog branch from fb805bf to 6c4ac59 Compare March 19, 2025 23:29
@bquan0
Copy link
Contributor

bquan0 commented Mar 30, 2025

I will merge this in after some more testing with the Nucleo + PDC board.

bquan0 added 2 commits April 13, 2025 12:58
* add bit mask for forwardAndReverse CAN read msg
* remove mc_on from CAN (it is now an input to PDC), use
  digital_data.mc_on instead
* make state machine update at same rate as IO, not PID
* set direction output based on forwardAndReverse (but only in IDLE
  state)
* fix rpm calculation (it was too large by 1000x) after changing the
  interval from ms to µs broke it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants