this is a code of controling apery robot