Use FCRefLine in an non-oscillating way
For a project, we'd like to make the robot move along a straight line in Z-Direction while reacting to forces in the X and Y directions. We can do this using a FCRefLine in FC_LIN_Z and a FCRefForce \Fx:=0, \Fy:=0.This works nicely, except for the fact that FCRefLine only works in an oscillating way, meaning once it has reached the end of the line, it will reverse its direction and move back.
Is there anyway to disable the oscillation or to detect, if the end of the line has been reached so we can disable the reference?
Using FCCondPos seems to be an option but is currently not feasible for us since we don't want to use FCCondWaitWhile to wait for stop conditions but need to use our own condition function.