robotology / superquadric-model

Framework for modeling and visualizing objects through superquadrics
GNU General Public License v2.0
6 stars 4 forks source link

Fix use of yarp::os::Property #29

Closed pattacini closed 7 years ago

pattacini commented 7 years ago

((dimensions x0 x1 x2) (exponents x3 x4) (center x5 x6 x7) (orientation x8 x9 x10 x11))

must be rather:

((dimensions (x0 x1 x2)) (exponents (x3 x4)) (center (x5 x6 x7)) (orientation (x8 x9 x10 x11)))

Therefore, you must use the method find instead of findGroup.

giuliavezzani commented 7 years ago

Actually, the property structure is correct in the code, I made a mistake in the README.md (now fixed). I also replaced the find method with findGroup.