HALRobotics / Beta

HAL Robotics Framework beta release and associated documentation.
17 stars 3 forks source link

Lagging display for actions #49

Closed lionpeloux closed 5 years ago

lionpeloux commented 5 years ago

Hi,

When a solution is solved and TCP trace is shown on the screen, it is lagging a lot with the draw shaded preview option enable in GH, while it is much more faster with the draw wireframe preview option enable in GH.

Maybe in this particular case lagging comes from the marking of solving errors as spheres on the path ? Would it be faster to use DrawPoint with a certain PointStyle ? In my case I got 1500 errors ...

In shaded mode, preview is lagging a lot (10s) :

capture d ecran 2018-09-19 a 14 37 29

In wireframe mode, preview is fast enough :

capture d ecran 2018-09-19 a 14 37 43

Config

HAL 1.2.6 beta Rhino 6 SR8 MACOS 10.13.6 VMWare Fusion 10.1.0 with WIN7 PRO SP1

LaggingCombineAction.zip

thibaultschwartz commented 5 years ago

Thanks for the report, there was indeed a bug in the singularity display, which is now fixed in the coming release. Please also note that your simulation will be faster if you improve the model quality of your track (the mesh of the "wagon"in particular weighs near 10k faces. It can easily be remodeled to be cleaner and weigh around 200 faces). Don't hesitate to also use the ReduceMesh command in Rhino to make meshes lighter when you create your parts.