[ros] remove unnecessary type lookup