ros / geometry

Packages for common geometric calculations including the ROS transform library, "tf". Also includes ROS bindings for "bullet" physics engine and "kdl" kinematics/dynamics package.
173 stars 275 forks source link

Fix empty yaml parsing #153

Closed tfoote closed 7 years ago

tfoote commented 7 years ago

Fixes #152

The empty yaml was coming through as a list not a dict so was breaking the expectations.

I used the shorthand or {} since I know any valid data won't evaluate to zero. A more complete solution is described here: https://stackoverflow.com/a/35777649/604099