-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for psmove_tracker_get_aimed_position #145
Comments
Good idea. A simple 4-point-calibration should be easy to do. There's even some code that maps the camera position of a controller to screen coordinates with 4-point calibration (see examples/labs/whiteboard/mapping.h). Do you have some example application in mind? Might be useful to have an example application as "framework" for implementing and prototyping such support. |
Yea it would be nice to have the rotation of the controller taken into account, I haven’t used psmoveapi lately but from what I remember you can only get the screen coordinates but rotating the controller would not make a difference. |
i want to use psmove controller as gun. it does not have to work as a simple pointer but the pseye should detect the position of psmove on the monitor and understand where I am pointing the psmove. are there any projects already done? |
@isidoro-80 Depending on what you want to do, maybe https://github.com/MooseTheBrown/psmoveinput fits the bill? |
Thanks but what you suggest is not good. I don't want to use psmove as
a mouse. I want to use psmove as a lightgun. There is a big
difference. The mouse has an absolute position while the relative
lightgun. If I use the psmove as a mouse it doesn't matter where it is
pointing just move psmove to make the pubactor move. The lightgun
instead serves a relative position. When I point to the monitor, the
mouse pointer must be at that precise point. To do this you also need
pseye which tells the pc where the psmove is at that moment with
respect to the screen.
Il sab 5 dic 2020, 10:02 Thomas Perl <notifications@github.com> ha scritto:
… @isidoro-80 <https://github.com/isidoro-80> Depending on what you want to
do, maybe https://github.com/MooseTheBrown/psmoveinput fits the bill?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#145 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR43TTC4BYZPQZ5PQGUMQUTSTHZKTANCNFSM4AYC6IFA>
.
|
It would be great to be able to get the x, y coordinates on screen of where the PSmove is being aimed at, for example when the move is being used as a gun.
If this needs to be callibrated perhaps an easy way to set the callibration could be added too, such as aiming at the 4 corners of the screen, running a function for each etc.
This would hugely simplify creating apps where you are interacting to the screen with the tracker.
The text was updated successfully, but these errors were encountered: