Skip to content

Commit

Permalink
Update InMoov2.java
Browse files Browse the repository at this point in the history
  • Loading branch information
hairygael authored Oct 11, 2023
1 parent 6610296 commit d277256
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/org/myrobotlab/service/InMoov2.java
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,18 @@ public boolean isMute() {
return mute;
}

/**
* execute python scripts in the app directory on startup of the service
*
* @throws IOException
*/
public void loadAppScripts() throws IOException {
loadScripts(getResourceDir() + fs + "gestures/InMoovApps/Rock_Paper_Scissors");
loadScripts(getResourceDir() + fs + "gestures/InMoovApps/Kids_WordsGame");
}

public void loadGestures() {
loadGestures(getResourceDir() + fs + "gestures", getResourceDir() + fs + "gestures/InMoovApps/Rock_Paper_Scissors", getResourceDir() + fs + "gestures/InMoovApps/Kids_WordsGame",);
loadGestures(getResourceDir() + fs + "gestures");
}

/**
Expand Down

0 comments on commit d277256

Please sign in to comment.