making code buildable in ros, adding leg tracking in classifier