pal-robotics/ros_controllers — pull request #25 by po1 (2013-12-20 23:38:51+00:00)
Title: diff_drive: fix nasty crash on some platforms (at least on OSX)

This one is nasty. Because we _manually_ load the controller at runtime,
we have to build it with special flags to export the run-time type
information (rtti) needed for stuff like dynamic_cast. But we don't, and
here it's simpler to just use a static_cast.

See here: http://gcc.gnu.org/faq.html#dso

A dynamic_cast without a check is stupid anyway. (_what could possibly
go wrong?..._)