[ros] allow types to be overridden, fix yarp/vector muddle