Giter VIP home page Giter VIP logo

pain_simulation_haptics's Introduction

pain_simulation_haptics

Second half of https://github.com/CodeIsJustLikeMagic/pain_simulation_payday_mod A Payday 2 mod that customizes damage Feedback.

pain_simulation_haptics is a server that gets called by the Mod to perform haptic feedback. Calls bHaptics Player and connects to an Arduino via USB serial connection. The Arduino performs thermal Feedback with a Peltier device. Arduino Code is located in /firmware_thermal.

pain_simulation_haptics also recieves game data and compiles them into one file for evaluation.


Run:

Before starting pain_simulation_haptics: turn bHaptics Player on, and connect hapitc Vest. Also connect Arduino and start the power supply for the Peltier devices.
Then start pain_simulation_haptics before entering Payday Heist. (The Server needs to recieve the "load_profile" call to know which feedback profile should be loaded and used.)


Evaluation links:

evaluation has already been performed. Thank you to everyone who participated!


Setup:

  • Install bHaptics player https://www.bhaptics.com/support/download
  • Edit main.py line 27. Input your computers path to the pain_simulation Payday Mod.
  • Edit thermalFeedback.py line 17 to make sure the name of your Arduino (as seen in device manager) is correct.

Kalibration/Debugging calls:

Calls for haptic feedback:

Calls for evaluation (there are more):

pain_simulation_haptics's People

Contributors

codeisjustlikemagic avatar

Watchers

 avatar  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.