|
Re: Autonomous calculations
The User_Autonomous_Code() function is a while loop. Put your calculation in the middle of it, where it will be executed every time through the loop.
Do you want the calculation to be made only when the camera is locked on the light? If so, put it inside the first if.
|