rdiankov / openrave

Open Robotics Automation Virtual Environment: An environment for testing, developing, and deploying robotics motion planning algorithms.
http://www.openrave.org
Other
693 stars 343 forks source link

cast GeometryType to int when serializing #1294

Closed cielavenir closed 1 year ago

cielavenir commented 1 year ago

https://github.com/rdiankov/openrave/commit/d841c7633ec34cbd95c6486811eb2d5401b198ad#diff-f6b2317998343e31af6a1b2108eb6b453aeadb49c362a4fd3c24b6f36455cbeeR46 changed GeometryType. Usually it is ok as types are coerced, but in serialize(), now _info._type is considered as unsigned char. This caused unexpected GetKinematicsGeometryHash change. (I suppose that) this invalidated robot cache (robot.md5).

/cc @ntohge

rdiankov commented 1 year ago

thanks