yujinrobot / yujin_ocs

Yujin Robot's open-source control libraries
http://wiki.ros.org/yujin_ocs
242 stars 181 forks source link

[navi_toolkit] OdometryHelper checks / info if odom is available #119

Closed AlexReimann closed 7 years ago

AlexReimann commented 7 years ago

Fix for issue #110:

stonier commented 7 years ago

Exceptions not preferable?

stonier commented 7 years ago

It'll do...exceptions would be nicer, but if you use this in a fast loop, then the usual convention of int error codes would be preferable. The other thing would be to just check if it's initialised. Not like it ever gets uninitialised. Then you could leave them as void functions.