Jump to content

cte

Verified Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

2 Neutral

1 Follower

About cte

  • Rank
    Explorer

Recent Profile Visitors

269 profile views
  1. Thanks for getting back! I was interested in getting a more direct link to the eye tracker in the vive than is currently offered in the UE4 plugin. The idea is to build non-engine specific data pipelines so I can extract dilation and gaze (using ROS in my case).
  2. Hi, Recently I've been needing to find the local address (think IP or similar) for the eye tracker in the HMD to extract or write data gathered there direct to an application that relies on R for data processing. Is there a host address for the eye tracker presently that I can call in the SRanipal SDK?
  3. UPDATE: πŸŽ‰πŸŽ‰Found the fix and now have functional dilation extraction going. πŸŽ‰πŸŽ‰ ----------------------------------------------------------- SRanipalEye_FunctionLibrary.cpp bool USRanipalEye_FunctionLibrary::GetPupilDiameter(EyeIndex eye, float& diameter_mm) { return SRanipalEye_Core::Instance()->GetPupilDiameter(eye, diameter_mm); } SRanipalEye_Core.cpp bool SRanipalEye_Core::GetPupilDiameter(EyeIndex eye, float &diameter_mm) { bool valid = false; if (SRanipalEye_Framework::Instance()->GetStatus() == SRanipalEye_Framework::FrameworkStatus::NOT_SUPPORT)
  4. @Franka & @MariosBikos_HTC thanks for the help. For reference, I'm working off of the latest version of the SRanipal Framework so had to alter some of the code. Now I'm having a little trouble understanding what I need to feed into the blueprints I'm calling and assume I have put something wrong in here as I want diameter MM as a string output rather than an input so I can write it to a csv. Here is the function in blueprints: Question: What do I need to alter to get the diameter Mm as a string output variable? > I'm going to look into this but woul
  5. @Franka & @MariosBikos_HTC thanks for the help. For reference, I'm working off of the latest version of the SRanipal Framework so had to alter some of the code. Now I'm having a little trouble understanding what I need to feed into the blueprints I'm calling and assume I have put something wrong in here as I want diameter MM as a string output rather than an input so I can write it to a csv. Here is the function in blueprints: Question: What do I need to alter to get the diameter Mm as a string output variable? > I'm going to look into this but woul
  6. UPDATED Blueprint :: Found the Join String Array which Makes a significantly easier to work with CSV file. New Blueprint Structure: Leads to new output in csv file:
  7. I was able to get this to work now in UE4 and what it took was learning a bit about actors and blueprints. To get gaze you can create a new actor and place it in the scene, then create a blueprint on that actor. For getting gaze data I produced the following blueprint: A key feature of this blueprint was the File IO Save String Arrray which I got from a function library plugin called "Victory Plugin" which you can get here: https://www.mediafire.com/file/pgrpsf9my7tv1ae/VictoryPlugin25.zip/file Though this doesn't solve my pupil dilation problem, I can probably get th
  8. :: UPDATE :: 10-07-20 :: Application: Academic Research Goals: Install SDK ----------------------------- [ X ] Get Eye Gaze ------------------------- [ X ] Get Fixation --------------------------- [ ] Get Pupil Dilation ------------------- [ ] Run Subjects & Get Tenure ----- [ ] Question: How do I reference the SDK's framework / API to extract close to real-time eye tracking data that prints either in a data.frame or CSV file. --------------------------------------------------------------------------------------
  9. Trying to work trough it now. I see the different levels in Unreal but don't know where to start with the data extraction. I examined the dartboard actor but am unsure how to use what I'm looking at here (DartBoard.h) --------------------------------- Do I need to modify this code so as to utilize it as a kind of template? - If so, where do I modify and what structure do I use? // ========= Copyright 2019, HTC Corporation. All rights reserved. =========== #pragma once #include "SRanipal_FunctionLibrary_Eye.h" #include "SRanipal_Eye.h" #include "Engine/Classes/Camera/Playe
  10. @Corvus would you perhaps be willing to help out with this low-level explanation of how to get at the SDK's data? I'm new to C++ and compiler languages in general so don't know how to call the API (if that is even how this works).
  11. @nbhatia how are you going about getting the data from the SDK? I'm new to this and trying to figure out how to pull that data into a writable export file of some kind (ideally a CSV).
  12. Application: Academic Research Goals: Install SDK ----------------------------- [ X ] Get Eye Gaze ------------------------- [ ] Get Fixation --------------------------- [ ] Get Pupil Dilation ------------------- [ ] Run Subjects & Get Tenure ----- [ ] Question: How do I reference the SDK's framework / API to extract close to real-time eye tracking data that prints either in a data.frame or CSV file. ------------------------------------------------------------------------------------------------------------------
  13. @Franka I'm trying to get some pupil dilation data as well. I wanted to run this fix but wasn't sure what you meant by header file. I'm also thinking of extracting this data and writing to a file of some kind for processing in R or Python. Sounds like the detection isn't working great though so I'm going to try my hand at figuring it out and will let you know if I can get something. -CTE
  14. Working off of the new errors I reported above, I was able to get everything working and the dartboards and eye tracking functional. For the first chunk of similar errors: I applied the earlier fix provided in this thread where you: Replace RelativeLocation With GetRelativeLocation() Where they appeared in the code. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Upon fixing
  15. Applied fix detailed by @MariosBikos_HTC above and additional errors were triggered. ======================================================= Fix Applied to: ~\Unreal Projects\MyProject\Plugins\SRanipal\Source\SRanipal\SRanipal.Build.cs Modified SRanipal.Build.cs Attached. SRanipal.Build.cs --------------------------------------------------------------------------------------------------- New Errors
Γ—
Γ—
  • Create New...