Giter VIP home page Giter VIP logo

human-machine-shepherding's Introduction

Human Social-Motor Solutions for Human-Machine Interaction in Dynamical Task Contexts

Code repository for the Dyadic Shepherding Task.
The repository is managed by Dr. Patrick Nalepka (@ShortFox) and Prof. Michael J. Richardson (@xkiwilabs).

Experiment 1 Experiment 2

Acknowledgements

When referencing the original study investigating human coordination during the dyadic shepherding task, please cite the following:

  • Nalepka, P., Kallen, R. W., Chemero, A., Saltzman, E., & Richardson, M. J. (2017). Herd those sheep: Emergent multi-agent coordination and behavioral mode switching. Psychological Science, 28(5), 630-650

When referencing the original study investigating human-machine interaction during the dyadic shepherding task, and when using code taken from this repository, please cite the following:

  • Nalepka, P., Lamb, M., Kallen, R. W., Shockley, K., Chemero, A., Saltzman, E., & Richardson, M. J. (2019). Human social motor solutions for human-machine interaction in dynamical task contexts. Proceedings of the National Academy of Sciences, 116(4), 1437-1446. https://doi.org/10.1073/PNAS.1813164116

Background Information and Play Online

Click here for background information regarding the work, a video, and an online web player to play/watch the dyadic shepherding task (note: you will be prompted to install Unity WebGL to use the web player).

Using Compiled Version of Software

To play the shepherding task with the artificial-agent, or to observe two artificial-agents complete the task, download the contents inside the subfolder that matches your operating system located in the Compiled Software folder. Note, all the contents need to be in the same location for the software to run.

  1. Open the executable. The following screen should appear:

  1. Click on the experiment image you would like to play/watch.
  2. Select one of the following options:
  • Mouse to control the orange cube/sheepdog and play with the artificial-agent using your mouse.
  • Observe to watch two artificial-agents complete the task.
  1. Select Start to initiate the task environment.
  • If playing, move your player to the black start location located near the bottom of the game screen to initiate a trial.
  1. To return to the title screen at any time, press the Escape key.

Code Contents

Note: Unity is required to view and edit the software. The code was created and tested using Unity Release 2017.4.16f1.

  • Once downloaded, import the Unity package titled Human-Machine-Shepherding

Summary of content within the Scripts folder.

  • Common Scripts
    • MenuGUI Handles interaction with TitleScreen scene.
    • SheepDynamics Handles the behavior of the sheep for both Experiments 1 and 2.
  • Experiment 1 Scripts
    • Game_Director_Exp1 Handles trial management for Experiment 1.
    • Dog_Behavior_ArtificialAgent_Exp1 Handles sheep selection and player/artificial-agent behavior for Experiment 1.
    • FenceCollideCheck_Exp1 Sends trial failure message to Game_Director_Exp1 on sheep collision with fence.
  • Experiment 2 Scripts
    • Game_Director_Exp2 Handles trial management for Experiment 2.
    • Dog_Behavior_ArtificialAgent_Exp2 Handles sheep selection and player/artificial-agent behavior for Experiment 2.
    • FenceCollideCheck_Exp2 Sends repulsive force when sheep makes collision with fence.

Comments are included throughout to assist with comprehension.

human-machine-shepherding's People

Contributors

shortfox avatar xkiwilabs avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.