A command interpreter is in communication with a wireless controller. The command interpreter is configured to identify a reference location of the wireless controller, identify a second location of the wireless controller, and determine, based on the reference location and the second location, a sequence of instrument commands configured to adjust positioning of the instrument device.