A simulator for a 6-legged crab robot