Fixes "'int' is not iterable" bug.

Bug was occurring when publishing geometry_msgs/PoseStamped messages.