Coder Social home page Coder Social logo

Comments (19)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 23 Oct 2011 at 3:19

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 23 Oct 2011 at 3:20

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Thank you very much for your quick response.

Original comment by [email protected] on 24 Oct 2011 at 7:56

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Hello John.
I can`t find the buttons status, can you help me.
Thanks

Original comment by [email protected] on 26 Oct 2011 at 3:25

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Hi,

Please be more specific.

John

Original comment by [email protected] on 26 Oct 2011 at 8:03

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Hi, i am looking for PS button(power button) status(like pad.digital_buttons)
Thanks.

Original comment by [email protected] on 27 Oct 2011 at 10:33

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 27 Oct 2011 at 12:57

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 27 Oct 2011 at 3:24

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 27 Oct 2011 at 3:31

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Hi, John.
I sent the 0(orange hue) parameter and I received nothing.
Thanks.

Original comment by [email protected] on 27 Oct 2011 at 6:03

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024


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 [email protected] on 27 Oct 2011 at 6:09

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 27 Oct 2011 at 7:16

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 30 Oct 2011 at 8:42

Attachments:

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 31 Oct 2011 at 8:22

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 1 Nov 2011 at 8:24

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Hi,

Yes, C++ VS 2008 is great.

Thanks,
John

Original comment by [email protected] on 3 Nov 2011 at 8:26

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 6 Nov 2011 at 8:12

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 8 Nov 2011 at 4:03

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
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 [email protected] on 13 Nov 2011 at 10:20

from moveme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.