Controller for trik robots