What if I had changed my mind halfway through?
Kay and Jo run a controlled joint, then change the target at 5 seconds without starting over. The strip is below, and the steps to repeat it in Konjugate are under it.
Transcript
Four panels. Kay, a round teal character, and Jo, a dry blue one, are joined by a dotted line. Step 1, the baseline. A card reads: the joint angle after 10 seconds is 1.19 radians, with a setpoint of 1.2. Kay says: Done. The joint settled near 1.2. Jo says: That was the baseline run. Step 2, fork here. A card reads: fork at 5 seconds, setpoint angle from 1.2 to 0.4, as a step. Kay says: What if the target dropped at 5 s? Jo says: Fork the run there. Do not start over. Step 3, compare. A chart shows the baseline settling near 1.2 and the fork following it until 5 seconds, then falling towards 0.4. Kay says: Same until 5 s. Jo says: Same start: the baseline’s state. The fork ends at 0.45 radians against 1.19 for the baseline. Kay asks: And the first run? Jo says: Still there. Compare them side by side.
Image for sharing
What just happened
The Position Controlled Joint example has a controller driving a joint towards a setpoint angle of 1.2 radians. Run for 10 seconds, the joint settles at 1.19. That run is called the baseline. At 5 seconds, the run was forked with the setpoint changed to 0.4. The fork did not recompute the first 5 seconds: it started from the baseline's own state at that moment, and the two agree until then. By 10 seconds the fork's angle is 0.449 and the baseline's is 1.195.
Repeat it in Konjugate
- Open Examples, choose Position Controlled Joint and run it for 10 seconds.
- Drag the timeline to 5 seconds, open Branches and press Fork here.

- Change Setpoint angle to 0.4, with the transition set to Step.

- Confirm, and start the run. Then open the branch tree and tick both branches to compare.

- Open the Joint link's Results tab to see both curves.

What this does and does not say
This is a bundled example, not a real robot, and the figures were read from the runs described above on 2026-10-16. The point is what a fork is: a new run that begins from an old run's state with one or more things changed, so a what-if costs only the part of the run after the change. It does not predict what a real joint would do.
Go deeper
- "Forking a run to try a what-if" covers the transitions (step, ramp and pulse) and comparing branches.
- "Sharing one parameter across relationships" covers how a change to a shared parameter reaches every place that uses it.
Follow Konjugate on LinkedIn for updates, or subscribe via RSS.
Comments
Post a Comment