HALRobotics / Beta

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

Inconsistent Mechanism Display #25

Closed bringley closed 6 years ago

bringley commented 6 years ago

Hello, it would seem that not all of the robot mechanisms are displaying properly out of the Robot component. For example, the UR5 and UR10 display correctly but the UR3 does not.

Also, this is more of a preference than a bug report, it would be nice if mechanisms displayed properly in a data param OR if the HAL params allowed for local display setting overrides (icon vs text).

Thank you!

bringley commented 6 years ago

I looked into this further - the UR3 appears once it is fed a joint rotation list for the Position[] input. The UR5 and UR10 appear at their default positions without a Position[] input.

sebandraos commented 6 years ago

I can't repro this. What version directory do you see under "%LocalAppData%\HAL\Mechanisms\f4f9dc46-7a7f-4c4c-834e-9e0a15d9e6b2"? It should be 0.18126.2, if it isn't please, once again, delete the folder mentioned and try again. Everything is supposed to auto-update if you are online but it is possible that there is a bug in the updater.

bringley commented 6 years ago

Yes that is the version I see. Oddly enough, I see some UR3 files in this Mechanisms directory - should those be here? Is the UR3 mechanism data not getting serialized the same way as the other UR arms? See image: halversion

sebandraos commented 6 years ago

That all looks right. What do you mean by "not getting serialized the same way as the other UR arms"? If you find the UR5/10s in the Mechanisms folder they should look very similar. We use incomprehensible GUIDs as the identifiers of all content to enable name changes further down the line. Could you please zip and send me the 0.18126.2 folder so I can see if I can repro? Is the UR3 working properly other than the initial display?

bringley commented 6 years ago

Sorry I mispoke - I was confused by the guids but yes all mechanisms folders are structured the same way. Please see attached for the zipped mech folder. Yes everything else about the UR3 is functioning properly. 0.18126.2.zip

sebandraos commented 6 years ago

The files I have on my PC are identical (down to their SHA-256 sums) so I'm not sure what could be causing this issue. I replaced my local version with your files and it worked exactly as expected. I can't think of any other differences between the loading of the UR3 vs UR5/10 other than these files so I must confess I'm a little stumped. I suggest, as before, deleting the UR3 folder and downloading a fresh copy through the catalogue. That shouldn't make any difference as the files seem to be ok but it might trigger some sort of refresh. If the issue persists then I'll try and think of a way to dig deeper.

bringley commented 6 years ago

Ok thanks for reviewing. I'll keep an eye on it to see if the issue persists and is consistent.