Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Pages: 1
Hi
A newbie question here, how can one get the components (yaw, pitch and roll) from the orientation sensor plugit?
I'm trying to get a spirit level application on android that is zeroed on touch.
Many thanks,
Paul
Offline
Hello and welcome!
orientation sensor plugit have a "orientation" event that gives x y z rotation in degree.
to get yaw pitch roll then use $1, $2, or $3 value the the link parameter.
Yaw Pitch Roll correspond to $2 $1 $3.
If you mean relative values on rotation you can add a ticket on redmine.scolring.org, I'll try to add this in the plugit before the release next week
Offline
If you mean relative values on rotation you can add a ticket on redmine.scolring.org, I'll try to add this in the plugit before the release next week
Any hint on next release new features.
Offline
Hi Arkeon,
Thanks for this; however I have difficulties isolating YPR in separate variables.
Basically for the app there is a cube that shows the orientation of the device that zero on touch. To zero I need to read the orientation of the device and then orient the cube with the realtime value of the orientation of the device minus the orientation recorded on touch.
I have done something similar in Unity but its read of the orientation is unstable, I have found that OS3D is far more replicable.
Any thoughts or advice on how I can do this?
Cheers,
Paul
Offline
That would be great Merci beaucoup
I assume there's no workaround at the moment?
Offline
Well yes you can use the var or vector plugIT to keep the current value and then add the current sensor orientation to this value with vector add or operator plugIT.
But it will be more simple if the plugit manage it directly.
Just wait some days and the release should be out with this feature.
Offline
what coming next http://redmine.scolring.org/projects/op … istory.txt
Offline
That looks impressive!!
I'm working on a AR for dental use, I'm using Epson BT300 smartglasses and need to link them to a series of peripherals and sensors using bluetooth (preferrable) or wifi.
Not having a coding background, after a short affair with Unity I have found OS3D easier to use and intuitive for non-programmer.
Looking forward to seeing the update
Offline
yes, it's running a customised android 5.1 on an Intel atom cpu. One device connection should suffice at the moment.
they're pretty cool, light and the marker tracking done with OS3D seems to be working fine from what I could figure out.
On a different note, is it possible for OS3D to access other sensors on the Android device separately, such as gyro or accelerometer?
Gyro would be good for head gestures to control the content on the glasses, e. g. scrolling through menus etc.
Offline
Hello,
yes accelerometer, have a plugit too.
What you should try is to use FPS navigation plugIT with orientation sensor.
then link orientation sensor.control -> fps navigation.control
and that's it the camera moves with the head just like google cardboard
Offline
Hello Arkeon,
I look at history.txt that "AR marker" plugIT is updated.
Can I know what improvements that you make?
thanks
Offline
Pages: 1