Skip to content

Really Tall Order of Stress (RTOS) for travis; VCU#5

Open
tmb5932 wants to merge 125 commits into
mainfrom
feature/tmb5932/vcu-rtos
Open

Really Tall Order of Stress (RTOS) for travis; VCU#5
tmb5932 wants to merge 125 commits into
mainfrom
feature/tmb5932/vcu-rtos

Conversation

@tmb5932
Copy link
Copy Markdown

@tmb5932 tmb5932 commented May 22, 2026

Ok, so mcuc is effectively done, aside from minor adjustments. Powertrain can and canOpen work (for all things testable), some are still waiting for other end to be finished (HIB, BMS, etc), but example implementation is done.

aclowmclaughlin and others added 30 commits February 17, 2025 21:16
…fy EVT-core, gonna need to make a branch there for stuff to actually work. CMake is having issues finding tx_api.h, which I thought I had resolved but apparently it is not happy about it still.
…mespacing is not necessary, but it builds now and it wasn't before).
@tmb5932 tmb5932 requested review from a team and aclowmclaughlin May 22, 2026 01:53
Copy link
Copy Markdown

@DiegoLHendrix DiegoLHendrix left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Copy Markdown

@DannyCato DannyCato left a comment

Choose a reason for hiding this comment

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

I was lookinf at this PR for an hour. My eyes have completely glazed over at this point

Approved since the only thing I could see was the couple missing comments. Functionality seemed fine when we tested it, but we will need to do real testing on the bike soon

Comment thread include/MCuC.hpp

//Set based off of ucState.
io::GPIO& canSelfTestGPIO;
typedef union {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing comment

Comment thread include/MCuC.hpp
};
} LVSSPowerState_t;

typedef union {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing Comment

Comment thread include/MCuC.hpp
UC_State stateEnum;
};

typedef union {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing Comment

Comment thread include/MCuC.hpp
HealthFlags_t healthFlags = {0};

/// the gpios
MCuC_GPIO gpios;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This should have a better comment

Comment thread src/PowertrainCAN.cpp
bool forwardEnable = (message.getPayload()[2] & 0b10000000) != 0;
return forwardEnable;
void PowertrainCAN::setMCAll(int16_t torque, int16_t speed, int16_t direction, bool inverterEn, bool inverterDC,
int16_t speedModeEn, int16_t rollingCounter, int16_t torqueLimit) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not just intake a struct reference to set mcCommandPayload instead of a bunch of struct parameters?

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.

5 participants