Skip to content

Commit

Permalink
now with exposed baudrate and timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
joreg committed Oct 2, 2024
1 parent efbe07d commit 4f6f505
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 23 deletions.
20 changes: 13 additions & 7 deletions VL.Devices.RPLidar.vl
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,14 @@
<Pin Id="Tsf2hH2MDxEO9qowqDNTdc" Name="Input" Kind="StateInputPin" />
<Pin Id="HTfAlYBotGNN6SnlKAXN60" Name="Value" Kind="OutputPin" />
</Node>
<Pad Id="Sa0yZ5TpMUxN9oQlNAqdCv" Comment="Timeout" Bounds="611,158,56,15" ShowValueBox="true" isIOBox="true" Value="100000">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="Integer32" />
</p:TypeAnnotation>
</Pad>
</Patch>
<ControlPoint Id="QBWboaTFymHObcRatIIpuh" Bounds="405,735" Alignment="Bottom" />
<ControlPoint Id="IxTiuKu2V3qNFZxjyHjRNE" Bounds="405,79" Alignment="Top" />
<ControlPoint Id="JB5Ypq6E8w1Mzq35942sbe" Bounds="427,79" Alignment="Top" />
<ControlPoint Id="M1hi7QaEFxbNXKYO1LmCFh" Bounds="443,735" Alignment="Bottom" />
<ControlPoint Id="BrzAW9sae5wNxFqY8OlFVH" Bounds="513,735" Alignment="Bottom" />
<ControlPoint Id="GxlQTjPOUMsME3f1NqFXZF" Bounds="489,79" Alignment="Top" />
<ControlPoint Id="AzSRFiXcojYPOqX5HMNcT2" Bounds="622,79" Alignment="Top" />
</Node>
<ControlPoint Id="EhMjUkx53p2Poy21nrDqEY" Bounds="406,2" />
<Node Bounds="398,788,65,19" Id="IaxT6it7g11OP9agD9qkQj">
Expand Down Expand Up @@ -612,13 +609,17 @@
</p:ValueBoxSettings>
</Pad>
<ControlPoint Id="J3UiYJSEDaIQWQXnEusI1j" Bounds="129,1306" />
<ControlPoint Id="LENlnKszTgOQSzTiYyRn8N" Bounds="507,38" />
<ControlPoint Id="TiiO7sX6xPFOKQC3ACxnWR" Bounds="619,35" />
</Canvas>
<Patch Id="ImsgshyV2VGOHwQNusGeu3" Name="Update" ManuallySortedPins="true">
<Pin Id="NykgAyEmVhkMSgYJun94Ue" Name="Port Name" Kind="InputPin" DefaultValue="">
<Pin Id="NykgAyEmVhkMSgYJun94Ue" Name="Port Name" Kind="InputPin" DefaultValue="COM3">
<p:TypeAnnotation LastCategoryFullName="IO.Ports" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="ComPort" />
</p:TypeAnnotation>
</Pin>
<Pin Id="FIpJzZBwnctMkNNVE2KlZz" Name="Baud Rate" Kind="InputPin" DefaultValue="115200" />
<Pin Id="OoO6Bqt44NxPH2qm6oRb3n" Name="Timeout" Kind="InputPin" DefaultValue="10000" />
<Pin Id="B4VKiw53vAxL5KwKQzw796" Name="Scaling" Kind="InputPin" DefaultValue="0.001" />
<Pin Id="PCeRtwEz0U3P74sBD2oys9" Name="Scan" Kind="InputPin" DefaultValue="True" />
<Pin Id="S21RHmnd6aQQUAVG2zpikN" Name="Enabled" Kind="InputPin" />
Expand Down Expand Up @@ -695,7 +696,6 @@
<Link Id="UFobvbV6leJMs0WmgbFPiC" Ids="I9tCpMnQC8GOfLy8k4636k,SGEy4hibULiM1Z4zFdSnTU" />
<Link Id="P7IcAl2wD5qLaKcUHc7Mvr" Ids="AWD6jh9GI1WQXxksY7DNfs,KmWoRWGEAbCOPiYe9NuMKP" />
<Link Id="RvpQRuvJAhbMVjIyBZBKRO" Ids="B4VKiw53vAxL5KwKQzw796,AWD6jh9GI1WQXxksY7DNfs" IsHidden="true" />
<Link Id="OlY15qWfD3BQJ0DaItMOY6" Ids="Sa0yZ5TpMUxN9oQlNAqdCv,QDLeO8TaCDoN8Qrtj3C9rg" />
<Link Id="LNpxsotOicUMeQqHDFIuck" Ids="HnN5vzDEWtXNfY6wtIfKW5,CLHfZJjmIzuNxjpaxxxhju" />
<Link Id="B6mfiCJuaMQOMqXVPp8az1" Ids="HnN5vzDEWtXNfY6wtIfKW5,OxP88YpMBhVMvUjySEa5Zz" />
<Link Id="BnTfBLe5vAMPerCDKAs7BJ" Ids="HIyjCMapFaQM3d4xxJHeoC,Oo0ShZ5ofiZOwXBJTiQ3u2" IsFeedback="true" />
Expand All @@ -721,6 +721,12 @@
<Link Id="NIBCktaUIsnOtJUZcT5gwQ" Ids="UheGYyUYyZsO4Ienv8hZme,DI95g1WZ7s1LjGRa9z3wB6" />
<Link Id="Baz7pDj4QRcLRFOni7pwju" Ids="LQVqDKZDgcGP8JnGzXZBSh,J3UiYJSEDaIQWQXnEusI1j" />
<Link Id="Jsc6EQV1ah5M5pDgN7pxQz" Ids="J3UiYJSEDaIQWQXnEusI1j,DaK6CS4qwdVOKzkTrpHxjx" IsHidden="true" />
<Link Id="QbIwFex3iYaQKxZpOrpXWd" Ids="GxlQTjPOUMsME3f1NqFXZF,LoQeDCvNwvXQHfsJ66saPb" />
<Link Id="DtlLSZ62jccMqAtq3JzcMo" Ids="LENlnKszTgOQSzTiYyRn8N,GxlQTjPOUMsME3f1NqFXZF" />
<Link Id="AuLzcyd3sA4NFEWmUgsAQH" Ids="FIpJzZBwnctMkNNVE2KlZz,LENlnKszTgOQSzTiYyRn8N" IsHidden="true" />
<Link Id="PdVtRJ2RuEYQZWeTCNight" Ids="AzSRFiXcojYPOqX5HMNcT2,QDLeO8TaCDoN8Qrtj3C9rg" />
<Link Id="NzlhOQwOX7YLkwnUlsiau1" Ids="TiiO7sX6xPFOKQC3ACxnWR,AzSRFiXcojYPOqX5HMNcT2" />
<Link Id="IqKTHbh11lyOtyGmKc7lNq" Ids="OoO6Bqt44NxPH2qm6oRb3n,TiiO7sX6xPFOKQC3ACxnWR" IsHidden="true" />
</Patch>
</Node>
<Pad Id="ACl9BMApSY6Ovuis8JQP8H" Bounds="451,123,238,19" ShowValueBox="true" isIOBox="true" Value="https://bucket-download.slamtec.com/6957283725b66750890024d1f0d12940fa079e06/LR002_SLAMTEC_rplidar_sdk_v2.0_en.pdf">
Expand Down
2 changes: 1 addition & 1 deletion deployment/VL.Devices.RPLidar.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>VL.Devices.RPLidar</id>
<version>0.0.1-alpha</version>
<version>0.0.2-alpha</version>
<title>VL.Devices.RPLidar</title>
<authors>vvvv</authors>
<projectUrl>http://vvvv.org</projectUrl>
Expand Down
44 changes: 29 additions & 15 deletions help/Explanation Overview.vl
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,37 @@
</p:NodeReference>
<Patch Id="Np2R00enbdsOwdXcdVRmSJ">
<Canvas Id="U46yhbwd53fMUYlVTA4WTz" CanvasType="Group">
<Node Bounds="143,188,65,19" Id="P6lWJCqWqbsQGezq6uDadC">
<Node Bounds="164,312,105,19" Id="P6lWJCqWqbsQGezq6uDadC">
<p:NodeReference LastCategoryFullName="Main" LastDependency="callmenames-2024-10-01_02.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessNode" Name="RPLidar" />
</p:NodeReference>
<p:HelpFocus p:Assembly="VL.Lang" p:Type="VL.Model.HelpPriority">High</p:HelpFocus>
<Pin Id="MU89dxfve0eNpoIxvOarPz" Name="Node Context" Kind="InputPin" IsHidden="true" />
<Pin Id="JnIolCbESWXPv2lcPbVLBO" Name="Port Name" Kind="InputPin" />
<Pin Id="Ds4kRbo8MXHOTWrGvsoDXM" Name="Baud Rate" Kind="InputPin" />
<Pin Id="MAQCEvhOF7vPtXkOK5b6GD" Name="Timeout" Kind="InputPin" />
<Pin Id="ESyoTucCEnON5yz7l0XTnV" Name="Scaling" Kind="InputPin" />
<Pin Id="UGCgsgcdDJ5Mw9SlXyFnI6" Name="Scan" Kind="InputPin" />
<Pin Id="FOQNwLpOaGwNIumrQdHHtU" Name="Enabled" Kind="InputPin" />
<Pin Id="BUbMAdkcFi7QWlEn6gWKa0" Name="Result" Kind="OutputPin" />
<Pin Id="Rc74yTEGqBxLuGApCYJYZS" Name="Device Info" Kind="OutputPin" />
<Pin Id="AWevrPNcDckOEC5haa67RB" Name="Estimated Motor Speed" Kind="OutputPin" />
</Node>
<Pad Id="KcFjXUYy8sCLAxrtWa9fmw" Comment="Port Name" Bounds="145,75,57,15" ShowValueBox="true" isIOBox="true" Value="COM10">
<Pad Id="KcFjXUYy8sCLAxrtWa9fmw" Comment="Port Name" Bounds="166,141,57,15" ShowValueBox="true" isIOBox="true" Value="COM3">
<p:TypeAnnotation LastCategoryFullName="IO.Ports" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="ComPort" />
</p:TypeAnnotation>
</Pad>
<Pad Id="OZsz5vrKbv0NYKGr4YggbP" Comment="Enabled" Bounds="269,135,35,35" ShowValueBox="true" isIOBox="true" Value="True">
<Pad Id="OZsz5vrKbv0NYKGr4YggbP" Comment="Enabled" Bounds="328,257,35,35" ShowValueBox="true" isIOBox="true" Value="True">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="ImmutableTypeFlag" Name="Boolean" />
</p:TypeAnnotation>
<p:ValueBoxSettings>
<p:buttonmode p:Assembly="VL.UI.Forms" p:Type="VL.HDE.PatchEditor.Editors.ButtonModeEnum">Toggle</p:buttonmode>
</p:ValueBoxSettings>
</Pad>
<Node Bounds="143,518,125,19" Id="GblfBCXvMbcOLJvJXQiEfk">
<Node Bounds="164,642,125,19" Id="GblfBCXvMbcOLJvJXQiEfk">
<p:NodeReference LastCategoryFullName="Graphics.Skia" LastDependency="VL.Skia.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="Renderer" />
Expand All @@ -67,7 +69,7 @@
<Pin Id="F2YRP3e180rP1Y7Y3fmnlF" Name="ClientBounds" Kind="OutputPin" />
<Pin Id="N4viXE2xLQpNHuqrxPGIBu" Name="Render Time" Kind="OutputPin" />
</Node>
<Node Bounds="143,439,85,19" Id="KVeavuVzeVBNnl7e57VABK">
<Node Bounds="164,563,85,19" Id="KVeavuVzeVBNnl7e57VABK">
<p:NodeReference LastCategoryFullName="Graphics.Skia.Layers" LastDependency="VL.Skia.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="Category" Name="Layers" NeedsToBeDirectParent="true" />
Expand All @@ -81,7 +83,7 @@
<Pin Id="OPqWRCuMwENO4ZyZJWw5eM" Name="Enabled" Kind="InputPin" />
<Pin Id="BM3vCsSOR1DPnrpzyImBNg" Name="Output" Kind="OutputPin" />
</Node>
<Node Bounds="143,488,125,19" Id="TTzuzLHJH4VMEYlYMImynW">
<Node Bounds="164,612,125,19" Id="TTzuzLHJH4VMEYlYMImynW">
<p:NodeReference LastCategoryFullName="Graphics.Skia.Transform" LastDependency="VL.Skia.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="Camera" />
Expand All @@ -98,16 +100,16 @@
<Pin Id="QCOWIGNOnQwOhnJbQvIWfs" Name="Zoom" Kind="OutputPin" />
<Pin Id="VICvUFEBVs5MS4m28VVQ9n" Name="Idle" Kind="OutputPin" />
</Node>
<Pad Id="EmU8dmFArX9PFgZl6kkRCN" Comment="Device Info" Bounds="177,258,286,62" ShowValueBox="true" isIOBox="true" />
<Pad Id="VUrf8KvubdZO0BlKh1LP21" Comment="Scan" Bounds="187,131,35,35" ShowValueBox="true" isIOBox="true" Value="True">
<Pad Id="EmU8dmFArX9PFgZl6kkRCN" Comment="Device Info" Bounds="216,377,286,62" ShowValueBox="true" isIOBox="true" />
<Pad Id="VUrf8KvubdZO0BlKh1LP21" Comment="Scan" Bounds="246,255,35,35" ShowValueBox="true" isIOBox="true" Value="True">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="ImmutableTypeFlag" Name="Boolean" />
</p:TypeAnnotation>
<p:ValueBoxSettings>
<p:buttonmode p:Assembly="VL.UI.Forms" p:Type="VL.HDE.PatchEditor.Editors.ButtonModeEnum">Toggle</p:buttonmode>
</p:ValueBoxSettings>
</Pad>
<Node Bounds="143,335,65,19" Id="KdcRiAcegUjOLtUAOHlBPG">
<Node Bounds="164,459,65,19" Id="KdcRiAcegUjOLtUAOHlBPG">
<p:NodeReference LastCategoryFullName="Reactive" LastDependency="VL.CoreLib.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="HoldLatest" />
Expand All @@ -119,9 +121,9 @@
<Pin Id="OIj5UjJZc1YMi3NP5wJ8LO" Name="Value" Kind="OutputPin" />
<Pin Id="Ej10KLY4yKwLnrPs9fGequ" Name="On Data" Kind="OutputPin" />
</Node>
<Pad Id="VjkH0KOUoRRPm4mxZn3EPC" Comment="On Data" Bounds="204,383,35,35" ShowValueBox="true" isIOBox="true" />
<Pad Id="UF0hYMeeCNqMqUS9MYQ9n0" Comment="Estimated Motor Speed" Bounds="206,232,41,15" ShowValueBox="true" isIOBox="true" />
<Pad Id="FwJON1sozBYL8rSAbhGrkF" Comment="Scaling" Bounds="165,101,44,15" ShowValueBox="true" isIOBox="true" Value="0.001">
<Pad Id="VjkH0KOUoRRPm4mxZn3EPC" Comment="On Data" Bounds="225,507,35,35" ShowValueBox="true" isIOBox="true" />
<Pad Id="UF0hYMeeCNqMqUS9MYQ9n0" Comment="Estimated Motor Speed" Bounds="266,353,41,15" ShowValueBox="true" isIOBox="true" />
<Pad Id="FwJON1sozBYL8rSAbhGrkF" Comment="Scaling" Bounds="226,231,44,15" ShowValueBox="true" isIOBox="true" Value="0.001">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="Float32" />
</p:TypeAnnotation>
Expand All @@ -130,7 +132,7 @@
<p:stepsize p:Type="Single">0.01</p:stepsize>
</p:ValueBoxSettings>
</Pad>
<Pad Id="REri0xyV7Y4Nxa7iOEagMV" Bounds="368,440,325,19" ShowValueBox="true" isIOBox="true" Value="https://www.nuget.org/packages/VL.DBSCAN">
<Pad Id="REri0xyV7Y4Nxa7iOEagMV" Bounds="389,564,325,19" ShowValueBox="true" isIOBox="true" Value="https://www.nuget.org/packages/VL.DBSCAN">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="String" />
</p:TypeAnnotation>
Expand All @@ -139,7 +141,7 @@
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Link</p:stringtype>
</p:ValueBoxSettings>
</Pad>
<Pad Id="UZlzf3LL3XpMsmZFf144v9" Bounds="368,462,309,19" ShowValueBox="true" isIOBox="true" Value="https://www.nuget.org/packages/VL.TrackObjects">
<Pad Id="UZlzf3LL3XpMsmZFf144v9" Bounds="389,586,309,19" ShowValueBox="true" isIOBox="true" Value="https://www.nuget.org/packages/VL.TrackObjects">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="String" />
</p:TypeAnnotation>
Expand All @@ -148,7 +150,7 @@
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Link</p:stringtype>
</p:ValueBoxSettings>
</Pad>
<Pad Id="F20Vnn0u56sQKMBDaA0q9F" Bounds="368,417,194,19" ShowValueBox="true" isIOBox="true" Value="For Blobtracking combine with:">
<Pad Id="F20Vnn0u56sQKMBDaA0q9F" Bounds="389,541,194,19" ShowValueBox="true" isIOBox="true" Value="For Blobtracking combine with:">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="String" />
</p:TypeAnnotation>
Expand All @@ -157,6 +159,16 @@
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Comment</p:stringtype>
</p:ValueBoxSettings>
</Pad>
<Pad Id="HxHjud2FFjpPx4J9tbSy3V" Comment="Baud Rate" Bounds="186,170,44,15" ShowValueBox="true" isIOBox="true" Value="115200">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="Integer32" />
</p:TypeAnnotation>
</Pad>
<Pad Id="LbFqLXRMOjHLPP4olgidIF" Comment="Timeout" Bounds="206,203,38,15" ShowValueBox="true" isIOBox="true" Value="10000">
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="Integer32" />
</p:TypeAnnotation>
</Pad>
</Canvas>
<Patch Id="VQ03JHOiNJ2MKwdCwZ2kEg" Name="Create" />
<Patch Id="VUhWUKG80d4QcoVSLYgxc4" Name="Update" />
Expand All @@ -175,6 +187,8 @@
<Link Id="U0StvRxFvW0OZt5SUHQZOF" Ids="OIj5UjJZc1YMi3NP5wJ8LO,AjHtXXTKnzVP2Yso26AfNl" />
<Link Id="RZJwdCtvxJANMOT5YEQ9WB" Ids="AWevrPNcDckOEC5haa67RB,UF0hYMeeCNqMqUS9MYQ9n0" />
<Link Id="HUHBiThkGjgOVaXjQ1z1fI" Ids="FwJON1sozBYL8rSAbhGrkF,ESyoTucCEnON5yz7l0XTnV" />
<Link Id="IIlTTPXbEh9OWVKVxuZrOy" Ids="HxHjud2FFjpPx4J9tbSy3V,Ds4kRbo8MXHOTWrGvsoDXM" />
<Link Id="TXcXDTHq0i7QVpEXzFfjUN" Ids="LbFqLXRMOjHLPP4olgidIF,MAQCEvhOF7vPtXkOK5b6GD" />
</Patch>
</Node>
</Patch>
Expand Down

0 comments on commit 4f6f505

Please sign in to comment.