Skip to content

FWT-150 Look at my Very Stable code S#7

Merged
DiegoLHendrix merged 57 commits into
mainfrom
feature/diegolhendrix/state-machine
Apr 27, 2026
Merged

FWT-150 Look at my Very Stable code S#7
DiegoLHendrix merged 57 commits into
mainfrom
feature/diegolhendrix/state-machine

Conversation

@DiegoLHendrix

Copy link
Copy Markdown
Contributor
  • Created a state machine that would go through the initialization, soft start, and power up state of the Vicor chip.
  • Implemented power switch current, temperature, and fault status sensing.
  • Added the CANopen dictionary to send and receive messages from the VCU.
  • Created a union struct that would hold the value of which board to turn on.
  • Made an enum class for power switch error status.

@DiegoLHendrix DiegoLHendrix requested review from a team and mjh9585 February 17, 2025 23:46
@DiegoLHendrix DiegoLHendrix marked this pull request as ready for review February 18, 2025 00:52
@DiegoLHendrix DiegoLHendrix changed the title Look at my Very Stable code S FWT-150 Look at my Very Stable code S Feb 18, 2025

@Ethan-Caracoglia Ethan-Caracoglia left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good for the most part and it compiled when I built it. How can I test this to prove that this actually works?

Comment thread datasheets/Current_Sensing_High_Power.pdf
Comment thread targets/REV3-LVSS/main.cpp

@aclowmclaughlin aclowmclaughlin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looking good. I have alot of changes, all basically just format/code style stuff.

Comment thread include/dev/ACS71240.hpp
Comment thread include/dev/TPS2HB35BQ.hpp
Comment thread include/dev/TPS2HB35BQ.hpp
Comment thread include/dev/TPS2HB35BQ.hpp
Comment thread include/dev/TPS2HB35BQ.hpp Outdated
Comment thread src/LVSS.cpp
Comment thread targets/REV3-LVSS/main.cpp Outdated
Comment thread targets/REV3-LVSS/main.cpp Outdated
Comment thread targets/REV3-TPS2HB35BQ/main.cpp Outdated
Comment thread targets/REV3-TPS2HB35BQ/main.cpp

@aclowmclaughlin aclowmclaughlin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Preemptively approving, contingent on your implementing the changes I wanted.

Comment thread include/dev/ACS71240.hpp Outdated
Comment thread include/dev/TPS2HB35BQ.hpp
Comment thread include/dev/TPS2HB35BQ.hpp Outdated
Comment thread src/LVSS.cpp

@tmb5932 tmb5932 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ok i only looked at the can dictionary for now... i might possibly get around to the rest of it...

Comment thread include/LVSS.hpp

@mjh9585 mjh9585 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Definitely still a few problems but should be pretty straight forward to fix. I didn't focus too much on the logic so please, please, please test your code before merging.

Comment thread .clang-format Outdated
Comment thread include/LVSS.hpp Outdated
Comment thread include/LVSS.hpp
Comment thread include/LVSS.hpp
Comment thread include/LVSS.hpp Outdated
Comment thread targets/REV3-ACS71240/main.cpp Outdated
Comment thread targets/REV3-TPS2HB35BQ/main.cpp Outdated
Comment thread targets/REV3-LVSS/main.cpp Outdated
Comment thread include/LVSS.hpp Outdated
Comment thread src/LVSS.cpp

@tmb5932 tmb5932 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ill approve it, CAN dictionary looks good now, but i want explanation of TPDO_NODE_ID variable.

Comment thread include/LVSS.hpp Outdated

@mjh9585 mjh9585 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me as long as it has been tested.

@DiegoLHendrix DiegoLHendrix merged commit c89db53 into main Apr 27, 2026
@DiegoLHendrix DiegoLHendrix deleted the feature/diegolhendrix/state-machine branch April 27, 2026 23:44
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.

7 participants