Cart
 

Afective emotions in Emotiv Epoc+ with java

Home Forums Developer Forum Afective emotions in Emotiv Epoc+ with java

This topic contains 0 replies, has 1 voice, and was last updated by  Leal Daniel 3 months, 3 weeks ago.

  • Author
    Posts
  • #266426

    Leal Daniel
    Participant

    Hello, I have a question:
    I’m trying to get the emotions like ExcitementShortTermScore,FrustrationScore,AffectivGetMeditationScore,EngagementBoredomScore and Stress using the EDK with Java. I’m using the code found on Github https://github.com/Emotiv/community-sdk/.

    Previously, I was able to get the emotions using the following code in Java:

    if (state == EdkErrorCode.EDK_OK.ToInt()) {
    int eventType = Edk.INSTANCE.IEE_EmoEngineEventGetType(eEvent);
    Edk.INSTANCE.IEE_EmoEngineEventGetUserId(eEvent, userID);
    // Log the EmoState if it has been updated
    if (eventType == Edk.IEE_Event_t.IEE_EmoStateUpdated.ToInt()) {
    Edk.INSTANCE.IEE_EmoEngineEventGetEmoState(eEvent, eState);
    EmoState.INSTANCE.ES_AffectivGetEngagementBoredomScore(eState));
    }
    }

    But with the new version of EDK I’m unable to get the score of the emotions because the method ES_AffectivGetEngagementBoredomScore(eState) doesn’t exits anymore.

    How can I archive with the new EDK?
    thanks for your feedback.

You must be logged in to reply to this topic.