Control optimization of a six d.o.f. pneumatic robot via a numerical approach