Static const unsigned short mMaxChannelValue = 8000 Static const unsigned short mMinChannelValue = 4000 setTarget( unsigned char channelNumber, unsigned short target ) Void setTarget( unsigned char channelNumber, unsigned short target ) Set the target position of a channel to a given value in 0.25 microsecond units createSerialPort(const QString &portName, unsigned int baudRate) Void createSerialPort(const QString &portName, unsigned int baudRate) Return NULL if the interface couldn't be created and set the optional error message. Create a concrete platform-specific SerialInterface. In the guide Section 10,write that “You will need to set the Maestro’s serial mode to be either ‘USB Dual Port’ or ‘USB Chained’”, but still ‘device not open’ //servocontroller.h Now, use the class QSerialPort for open and write the COM. Frist, I want to use the SDK(RapaPololuMaestro-master), it install in ubuntu, however I don’t find the address of library por Qt
0 Comments
Leave a Reply. |