removing displacement drive function in Robot class