Scolring - Forum

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.

#1 17-Jun-2019 13:17:28

nabil
Member
From: casablanca
Registered: 11-May-2019
Posts: 13

Aruco marker orientaion problem

hi all

with any image as marker the orientation is correct

see here      https://ibb.co/sFKLTXF

but with intergrated aruco markers there is a 90 deg rotation between  editor ui and 3d space

see here     https://ibb.co/HGYx5WY

can you check, plz.

if i use a dummy with 90 rotation, i must rotate all related objects.


it will be perfect if we can manipulate marker position and orienation directly, with out a dummy.


Cdlt

Last edited by nabil (17-Jun-2019 13:25:34)

Offline

#2 17-Jun-2019 14:24:47

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Aruco marker orientaion problem

Good catch ^^ I' try to check if I can change this without breaking existing app

Offline

#3 17-Jun-2019 14:32:30

nabil
Member
From: casablanca
Registered: 11-May-2019
Posts: 13

Re: Aruco marker orientaion problem

in earmarker.pkg  line 118

let if pmarker.EMP_markerType then quat else SO3MathsQuatAdd quat SO3MathsEulerXYZToQuat [(SO3MathsDegreeToRadian 90.0) 0.0 0.0] -> quat in



(SO3MathsDegreeToRadian 90.0)  rotation is here

Last edited by nabil (17-Jun-2019 14:33:37)

Offline

#4 17-Jun-2019 16:44:06

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Aruco marker orientaion problem

Ok it will be corrected in next release

Offline

#5 17-Jun-2019 17:01:16

nabil
Member
From: casablanca
Registered: 11-May-2019
Posts: 13

Re: Aruco marker orientaion problem

i did some tests

replace (SO3MathsDegreeToRadian 90.0)  by (SO3MathsDegreeToRadian 0.0)

in editor th marker is correct
but when i push play, the rotation still exist

Thanks

Offline

#6 17-Jun-2019 17:05:48

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Aruco marker orientaion problem

Yes I added the 90° rotation on the marker detection to correct this

Offline

Board footer

Powered by FluxBB