Ros shared lib base class

Does the M_PI_2_F belong here or more in one of the platform headers?