Open GoogleCodeExporter opened 8 years ago
Hi,
forceRGB - Force the colour of the sphere to be an RGB triplet expressed as
floats. This disables sphere tracking but allows you to make the sphere a
particular colour.
Rumble - Set the vibration of the Move controller. It ranges from 0 to 255.
Anything below a certain threshold (say, 70) may result in no rumble.
TrackHues - Enable tracking on 1-4 Move controllers. Parameters are the desired
hue of each controller. If the hue can't be used due to lighting conditions,
etc- a different, but similar, hue will be chosen for you.
CameraSetNumSlices - Set the number of slices the camera image being sent over
is divided in to. Each slice must be compressed into 60k, so the more slices
the better image quality.
PrepareCamera - Setup the camera. I forget what the parameters are for this
one, I'll have to look it up at the office.
AFAIK, you can't get the battery state of the controllers. You can always press
the PS button and look on the XMB.
Original comment by j...@johnmccutchan.com
on 23 Oct 2011 at 3:19
More details on TrackHues: There are 360 (0..359) hues available. There is also
special values (can be found in existing sample code) that says "I don't care
what hue, just pick one for me" and "Don't track this controller"
Original comment by j...@johnmccutchan.com
on 23 Oct 2011 at 3:20
Thank you very much for your quick response.
Original comment by abituri...@gmail.com
on 24 Oct 2011 at 7:56
Hello John.
I can`t find the buttons status, can you help me.
Thanks
Original comment by abituri...@gmail.com
on 26 Oct 2011 at 3:25
Hi,
Please be more specific.
John
Original comment by j...@johnmccutchan.com
on 26 Oct 2011 at 8:03
Hi, i am looking for PS button(power button) status(like pad.digital_buttons)
Thanks.
Original comment by abituri...@gmail.com
on 27 Oct 2011 at 10:33
You can't get the state of the PS button, only the OS can. Are you having
issues tracking the other buttons?
Original comment by j...@johnmccutchan.com
on 27 Oct 2011 at 12:57
Thanks for your answer to my last question.
Yes, How i can change the color and the track without the camera?
1.Connect
2.Force(gem_num,r,g,b)
3.movemeTrackHues(PICK_FOR_ME,PICK_FOR_ME,PICK_FOR_ME,PICK_FOR_ME)
PICK_FOR_ME will change my color and i can`t track without the camera?
or
1.Connect
2.movemeTrackHues(red, blue, green, yellow)
Can you help me with "BigButton" define at the pad_digital( 0x4 or 0x40 or
0x004)?
Original comment by abituri...@gmail.com
on 27 Oct 2011 at 3:24
Hi,
As I already explained above, there are 360 hues available (0-359). Call
trackHues and pass your desired hue instead of PICK_FOR_ME. In a clear
environment, you should be able to request any of the 360 hues.
BigButton define? I'm not sure what you're talking about? The button bit masks
should be simple for you to figure out on your own. Digital buttons are given 1
bit, analog buttons usually have a range (typically 0-255). It should be easy
to visualize the bitmask and experiment.
John
Original comment by j...@johnmccutchan.com
on 27 Oct 2011 at 3:31
Hi, John.
I sent the 0(orange hue) parameter and I received nothing.
Thanks.
Original comment by abituri...@gmail.com
on 27 Oct 2011 at 6:03
You connect.
You send the calibrate controller command while pointing it at the PS Eye.
You send the TrackHues command with (0, PICK_FOR_ME, PICK_FOR_ME, PICK_FOR_ME).
and then what happens? Does the Move.Me server application acknowledge the
commands? What is the status of the GEM controllers?
In the future, please provide detailed, concrete explanations of what commands
you send to the server and how the server responds (including all status
messages). Otherwise I won't be able to help you.
Original comment by j...@johnmccutchan.com
on 27 Oct 2011 at 6:09
I don't understand something, why i need to use the calibration command if I am
going to use the TrackHues command with the hues?
I thought that the calibration command only for the best automatical choise of
the colour?
Thank you very much, I will send you all information on Sunday.
Original comment by abituri...@gmail.com
on 27 Oct 2011 at 7:16
Hi, John.Please see attached file(tv screen).
My Steps.
1.Connection.
2.Calibration.(I am pointing at the PS Eye and i see flashing light)
3.TrackHues.
Nothing happens.
GEM status:connected.
code:
movemeConnect(SERVER,PORT);
.
.
.
.
movemeCalibrationController(0);
movemeTrackHues(0, PICK_FOR_ME, PICK_FOR_ME, PICK_FOR_ME);
Thanks
Original comment by abituri...@gmail.com
on 30 Oct 2011 at 8:42
Attachments:
Hey,
I'm out of the office until next week so I can't try and reproduce. In the
meantime, can you attach a working program that demonstrates this. I will take
the source you attach and fix whatever bug is present.
Are you saying that given the exact same program if you pass in PICK_FOR_ME-
the sphere is tracked, but if you pass in 0 it doesn't work? Also, have you
tried a non-zero hue?
Looks weird though, the track hues command was successful (the parenthesis at
the end of each message enclose the return code, 0x0 is OK.).
Original comment by j...@johnmccutchan.com
on 31 Oct 2011 at 8:22
Hi.
Thank you for your help.
I also tried non-zero hue.
Can i send you the source(C++, VS 2008)?
Thanks.
Original comment by abituri...@gmail.com
on 1 Nov 2011 at 8:24
Hi,
Yes, C++ VS 2008 is great.
Thanks,
John
Original comment by j...@johnmccutchan.com
on 3 Nov 2011 at 8:26
Hi, The command started to work "movemeTrackHues(50, 0, 120, PICK_FOR_ME)".
Thanks
Why i need the calibration command befor TrackHues commands?
Can you help me with Quaternion, i am looking way to convert the Quaternion to
3 angles(x,y,z)?
Thank you very much.
Original comment by abituri...@gmail.com
on 6 Nov 2011 at 8:12
Hi,
What did you change to get the track hues command to work?
You can use Google to help you with quaternions.
John
Original comment by john.mcc...@gmail.com
on 8 Nov 2011 at 4:03
Hi,
I don't remember but i think i changed delay.
Can you help me, i am looking for a solution to get Cartesian Coordinate from
rotation matrix, not Yaw,Pitch and Roll, a real angel from the GEM X to the X`
after rotation. I have not found anything that can help me.
Thanks
Original comment by abituri...@gmail.com
on 13 Nov 2011 at 10:20
Original issue reported on code.google.com by
abituri...@gmail.com
on 23 Oct 2011 at 3:13