minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

What does rotation means in action_trace file ? #133

Closed Usama323 closed 5 years ago

Usama323 commented 5 years ago

When I save action_trace file, there is column of rotation, what does it means? the rotation is in degrees or radians ? Looking forward for the reply !

DRAhmadFaraz commented 5 years ago

I am also facing the same issues. "reply if you have solved this issue".

angelxuanchang commented 5 years ago

The rotation is the orientation of the agent encoded as a single angle in radius around the up axis (Y).

Usama323 commented 5 years ago

radius is unit of angle ? or it is something else ?

angelxuanchang commented 5 years ago

sorry, radians

Usama323 commented 5 years ago

Thanks @angelxuanchang for fast reply !

Usama323 commented 5 years ago

One last question @angelxuanchang, that is this angle is in range of “-pi to pi” or “-2pi to 2pi” ?

angelxuanchang commented 5 years ago

We don't actually limit the range of this angle. So it can be any value. You can map it to “-pi to pi” as appropriate.

Usama323 commented 5 years ago

Thanks a lot for the response

Usama323 commented 5 years ago

Hi @angelxuanchang I have seen value of rotation in action_trace files and it variate for different houses. How can one generalize it ? What is its range as in some files value of rotation is -10.8471 and in some files it is 0.4913. Also how to convert it in degree , if I use the well known formula to convert from radian to degree (1rad * 180/pi) then it gives value more than 360.

Kindly reply me as soon as possible, looking forward for your reply. Thanks in advance for this act of kindness.