An Efficient Method to Develop Control Software of A Research Purpose Legged Mobile Robot