Robot programming how to make a single line of code run once?

  • I want to do this such that my robot will only go to that waypoint for one time in the whole loop. Also, the next line of waypoint can only be executed after the previous has been run.

  • Hi


    1)
    program start
    Move to waypoint
    Top of loop
    another point
    another point
    jump to top of loop
    program end



    2)
    program start
    a = 0
    Top of loop
    if a = 1 then jump to after
    move to waypoint
    a= 1
    another point
    another point
    jump to top of loop
    program end

    Retired but still helping

Advertising from our partners