On line 291 you are passing in desired.Throttle and a pointer to desired so it's the same value.