Create Big Cannons

Create Big Cannons

5M Downloads

Imprecise Cannon movement with Sequenced Gearshift

Pecant-Pie opened this issue ยท 3 comments

commented

When moving a cannon using the cannon mount or yaw controller, the RPM has a significant effect on the actual degrees moved, even when a sequenced gearshift set to 90 degrees is used in all cases.

Specifically, inputting 90 degrees at 8 RPM moves the cannon 12 degrees, 16 RPM moves the cannon 12.6 degrees, but at 32 RPM it moves 14.4 degrees.

This factor is also different depending on the degrees moved. 45 degrees at 8 RPM moves the cannon 6.3 degrees, instead of the 6 I would expect.

This makes it very hard to use the Sequenced Gearshift CC: Tweaked peripheral implementation to aim cannons. If this is unintended behavior I would greatly appreciate a fix.

commented

Should have already been addressed here: #420

commented

Hello @rbasamoyai, this issue still persists for yaw controllers on Fabric 5.5.1 - at 1 RPM sequenced gearshifts are nearly accurate, but get increasingly more inaccurate as RPM increases. Cannon controllers (pitch) work fine.

Also there seems to be a 1/8 reducing ratio which I suppose is intentional to allow more precise aiming (so a sequenced gearshift set to 1 degree only rotates the cannon 0.125 degrees), but just making sure. Wouldn't a ratio of 1/10 be slightly nicer?

Examples with yaw and pitch sequenced gearshifts set to 8 degrees and triggered only once

1 RPM:
image

256 RPM:
image

commented

Will check later.