Jump to content

how to get head position / rocation / timestamps of log data of headtracking and eyetracking ?


dilab

Recommended Posts

Editor.log

Thank you for your reply.
I checked by pressing the play button in the editor,
The Start function is running from start to finish.
I am attaching the log file of the process.
This log file was found in C:\Users\Nonoka\AppData\Local\Unity\Editor, does it match what you are looking for?

Also, my problem is that the csv that is generated when I run it in the editor is not generated when I run the apk file in elite.

WaveMain.cs

Link to comment
Share on other sites

Thank you for your reply.
Sorry for the beginner's question.
How can I find a Log from Elite?

As you pointed out,The file path was, indeed, incorrect.
sw = new StreamWriter(
                          Application.persistentDataPath+ "\\"+UserName + "_" + now + ".csv", true, Encoding.GetEncoding("Shift_JIS"));
            
and when I changed it and play the editor, the csv was created.

Link to comment
Share on other sites

Hi @unko,

Could you fix this error?

04-25 21:04:21.279  4592  4623 E Unity   : NotSupportedException: Encoding 932 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
04-25 21:04:21.279  4592  4623 E Unity   :   at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x00000] in <00000000000000000000000000000000>:0 
04-25 21:04:21.279  4592  4623 E Unity   :   at Wave.Essence.Eye.WaveMain.Start () [0x00000] in <00000000000000000000000000000000>:0

There should be some problem with the method you use for StreamWriter.

I searched online, and I found out that you might need FileStream before using StreamWriter?

Both logs, internal and external, show "Storage permission granted!".

After you resolved above issue, please check below error,

04-25 21:04:21.283  4592  4623 E Unity   : NullReferenceException: Object reference not set to an instance of an object.
04-25 21:04:21.283  4592  4623 E Unity   :   at Wave.Essence.Eye.WaveMain.SaveData (System.String a, System.String b, System.String c, System.String d, System.String e, System.String f, System.String g, System.String h, System.String i, System.String j, System.String k, System.String l, System.String m, System.String n, System.String o, System.String p) [0x00000] in <00000000000000000000000000000000>:0 
04-25 21:04:21.283  4592  4623 E Unity   :   at Wave.Essence.Eye.WaveMain.FixedUpdate () [0x00000] in <00000000000000000000000000000000>:0

Link to comment
Share on other sites

Thank you very much.!!!!!
Your careful follow-up helped me to achieve my goal.
I really appreciate it.

The acquired pupil diameter changes only about once per second, is this a specification?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...