Skip to content

Comments

Updated BladeAngle to always respect min and max#104

Open
brd55 wants to merge 1 commit intoprofezzorn:masterfrom
brd55:patch-2
Open

Updated BladeAngle to always respect min and max#104
brd55 wants to merge 1 commit intoprofezzorn:masterfrom
brd55:patch-2

Conversation

@brd55
Copy link
Contributor

@brd55 brd55 commented Jun 4, 2023

No description provided.

@NoSloppy
Copy link
Contributor

NoSloppy commented Jun 4, 2023

Hi, I'm just curious what this fixes.
Could you post an example blade style that shows differently with this applied?

@brd55
Copy link
Contributor Author

brd55 commented Jun 4, 2023

Any style that uses a min or max blade angle different 0 or 32768 really. This is where I noticed it though. In trying to discover this setup's exact purpose, I ran the numbers and found the position wasn't going as high as it should. That's because min and max weren't being utilized.

Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>

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