Search found 6 matches

by baoqger
Sun Sep 12, 2010 4:54 am
Forum: Developer's Forum for Windows
Topic: still the motor controlled by 3Dconnexion navigation
Replies: 0
Views: 6562

still the motor controlled by 3Dconnexion navigation

void ProcessWM_INPUTEvent( LPARAM lParam ) { . . . if (pRawHid->bRawData[0] == 1) // Translation vector { all6DOFs[0] = (pRawHid->bRawData[1] & 0x000000ff) | ((signed short)(pRawHid->bRawData[2]<<8>bRawData[3] & 0x000000ff) | ((signed short)(pRawHid->bRawData[4]<<8>bRawData[5] & 0x000000...
by baoqger
Sun Sep 12, 2010 3:43 am
Forum: Developer's Forum for Windows
Topic: second question of 3Dmouse control motor
Replies: 4
Views: 8645

sorry, What do you mean by the number w/o. I can not catch it. would you please to explain it a little more?
And also you mentioned Multi axis controller, where to set it? I want to make it sure.
by baoqger
Sat Sep 11, 2010 1:31 am
Forum: Developer's Forum for Windows
Topic: second question of 3Dmouse control motor
Replies: 4
Views: 8645

I have tried just now, I push the cap of 3dconnexion and the transfer vector get a value ,for example 100. and I release the cap to the original position but the value still 100 instead of 0. I want to know in the wm-input example how to get the real time value of the vector.thanks.

Bao
by baoqger
Sat Sep 11, 2010 12:47 am
Forum: Developer's Forum for Windows
Topic: second question of 3Dmouse control motor
Replies: 4
Views: 8645

second question of 3Dmouse control motor

As I mentioned in my first question about the same topic,in order to control the motor with 3D mouse, I done as the following code: call the function of PICOMOTOR(which will start the motor to move with certain steps) if (pRawHid->bRawData[0] == 1) // Translation vector { . . . bGotTranslation = TRU...
by baoqger
Wed Sep 08, 2010 11:02 pm
Forum: Developer's Forum for Windows
Topic: wm_input example code's question.
Replies: 1
Views: 6539

wm_input example code's question.

// Translation or Rotation packet? They come in two different packets. if (pRawHid->bRawData[0] == 1) // Translation vector { all6DOFs[0] = (pRawHid->bRawData[1] & 0x000000ff) | ((signed short)(pRawHid->bRawData[2]<<8>bRawData[3] & 0x000000ff) | ((signed short)(pRawHid->bRawData[4]<<8>bRawDa...
by baoqger
Fri Sep 03, 2010 11:42 pm
Forum: Developer's Forum for Windows
Topic: control motor with 3Dnavigation
Replies: 1
Views: 5676

control motor with 3Dnavigation

My application is totally different from other developers'. I have a manipulation stage driven by motors, and the stage can move in three direction X Y Z. The stage has a joystick but It has only two directions to move. So I want to use the 3D Mouse-3D navigator to control the stage in nature way wi...