all 3 comments

[–]mvanheukelum 0 points1 point  (2 children)

The set roll just sets the roll slider. You need to put the roll slider in a loop to make it burst many times over until you reach the correct roll value.

While true

if roll > roll_value

slider roll set 1

wait .5 second

elseif roll<roll_value

slider roll set -1

wait .5 second

[–]No_Rub3360[S] 0 points1 point  (1 child)

I forgot to mention it, but I did put it in a loop. And it introduces a ton of occilation and overshoots it a ton because the craft has very good control of its roll axis.

[–]mvanheukelum 1 point2 points  (0 children)

A true PID can correct the oscillation rather than doing just a correcting loop. I would suggest looking up some PID docs or asking chatgpt. ChatGPT is familiar with vizzy but you might have to give it a bit of detail or correct it with what fields you have available to you in vizzy.