Closed mark0n closed 9 years ago
I only tested this with a GT6K (we don't have other controller models).
I've merged this into master. Thanks for the work and testing!
When I get chance I think I will expose the controller type as a parameter and read it into a stringin record. And the controller type can be read in the controller constructor, because I suspect the type will be used to control wether we use other commands too. I can test this on a 6K and a GT6K.
All GT6K controllers are stepper controllers whereas all GV6K are servo controllers. In contrast to the 6Ks they cannot be configured to be one or the other. Check the controller model using the TREV command to detect if we are connected to a GT6K/GV6K controller and do not send the AXSDEF command on these devices (it is not supported on these and causes error messages). This closes #7