Skip to content

PR to Merge in Launch Control, PID, Hashtable, and globalConstants files#185

Open
sghillie wants to merge 514 commits intomainfrom
SR-16_Launch_Control
Open

PR to Merge in Launch Control, PID, Hashtable, and globalConstants files#185
sghillie wants to merge 514 commits intomainfrom
SR-16_Launch_Control

Conversation

@sghillie
Copy link
Copy Markdown
Member

Launch Control is disabled with an #ifdef, can be reversed by uncommenting a line in global Constants.h at the end of the file
Also adding in very old power limiting changes and disabling the system since it doesn't work.

sghillie and others added 30 commits November 24, 2024 15:36
Most of the calculations should be in nM for simplicity sake, the nM--> decinM conversion should be done as the last step, to ensure readability/
…ake a saturation value instead of setpoint on initialization bc the setpoint is updated every cycle anyways, and removing the separate pl pid struct
… forced TQ equation override. LUT still gives bad values. Bug fix to anti-windup measures. and the dbc has been updated to expect N-m outputs from the pid and deciN-m commandedTorque
…ommenting or defining of code. also, changing a function name to give better clarity to the caller of the function. Finally, plpPID added back in, with a hopefully redundant clamp on the Torque request.
…tial for a multiply by 0 call which would massively derail the incomplete factorization of the double linear interpolation equation.
… for unreasonable precision, or 10^-3 for a more reasonable amount of digits beyond the decimal point. Saving before changing branches.
… for unreasonable precision, or 10^-3 for a more reasonable amount of digits beyond the decimal point. Saving before changing branches.
Your Name and others added 30 commits May 28, 2025 15:38
… conversion issue-essentially turning the equation into -> 0*1000=0
…get about it. Also, taking the time to fix up some comments, improving whitespace for readability, and moving the Nm -> DNm conversion from Launch Control into MCM for readability purposes.
…ilures, with reported redefinitions in canManager, launch control, and other files. Will investigate some other time
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