Skip to content

Commit 801fb9e

Browse files
committed
Ensure plot has a first sample to trigger visualization
1 parent 49b7cef commit 801fb9e

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

src/Extensions/Visualizers.bonsai

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,21 @@ Item2.Item2 as SecondsSinceChoice)</scr:Expression>
424424
<Expression xsi:type="Combinator">
425425
<Combinator xsi:type="gl:SampleOnRenderFrame" />
426426
</Expression>
427+
<Expression xsi:type="SubscribeSubject">
428+
<Name>TaskLogicParameters</Name>
429+
</Expression>
430+
<Expression xsi:type="MemberSelector">
431+
<Selector>OperationControl</Selector>
432+
</Expression>
433+
<Expression xsi:type="MemberSelector">
434+
<Selector>PositionControl.VelocityThreshold</Selector>
435+
</Expression>
427436
<Expression xsi:type="SubscribeSubject">
428437
<Name>StopVelocityThreshold</Name>
429438
</Expression>
439+
<Expression xsi:type="Combinator">
440+
<Combinator xsi:type="rx:Merge" />
441+
</Expression>
430442
<Expression xsi:type="Combinator">
431443
<Combinator xsi:type="rx:CombineLatest" />
432444
</Expression>
@@ -443,10 +455,14 @@ Item2.Item2 as SecondsSinceChoice)</scr:Expression>
443455
</Nodes>
444456
<Edges>
445457
<Edge From="0" To="1" Label="Source1" />
446-
<Edge From="1" To="3" Label="Source1" />
447-
<Edge From="2" To="3" Label="Source2" />
458+
<Edge From="1" To="7" Label="Source1" />
459+
<Edge From="2" To="3" Label="Source1" />
448460
<Edge From="3" To="4" Label="Source1" />
449-
<Edge From="4" To="5" Label="Source1" />
461+
<Edge From="4" To="6" Label="Source1" />
462+
<Edge From="5" To="6" Label="Source2" />
463+
<Edge From="6" To="7" Label="Source2" />
464+
<Edge From="7" To="8" Label="Source1" />
465+
<Edge From="8" To="9" Label="Source1" />
450466
</Edges>
451467
</Workflow>
452468
</Expression>

0 commit comments

Comments
 (0)