Commit Graph
255 Commits
Author SHA1 Message Date
Paul Dino Jones e194642d6e Add Reverse for Cammus C5 2024-08-06 10:06:49 -04:00
Paul Dino Jones 9eb1cd75b0 Update gameloop so it sets gear to neutral on shutdown. Add enum for gears. 2024-08-06 10:06:24 -04:00
Paul Dino Jones ae9293ba08 Fix issue with bad data being send to cammus wheel on quit 2024-08-05 17:08:23 -04:00
Paul Dino Jones 5b24faa7f1 Fix include paths 2024-08-05 17:07:04 -04:00
Paul Dino Jones cf61b8a4e5 Add more logging for cammus 2024-08-05 16:43:47 -04:00
Paul Dino Jones df199b5f5c clear bytes on each update 2024-08-05 16:31:58 -04:00
Paul Dino Jones ca4f1654fa Fix gear 2024-08-05 16:18:51 -04:00
Paul Dino Jones 622e46a42f Using correct pid for cammus 2024-08-05 16:11:29 -04:00
Paul Dino Jones d5c0c485cf Small fixes for speed and gear 2024-08-05 16:10:15 -04:00
Paul Dino Jones c983cb2b4e rpm margin must return as an integer 2024-08-05 14:49:32 -04:00
Paul Dino Jones 8d04c3aa04 Initial attempt at adding support CammusC5 wheel with underlying code for future wheels. 2024-08-05 13:42:17 -04:00
Paul Dino Jones 270a075292 Reverse regression in previous commit 2024-08-04 17:07:09 -04:00
Paul Dino Jones c36658e0e1 Refactor motor haptic effect slightly. Add logging. 2024-08-04 14:58:01 -04:00
Paul Dino Jones e4634721a1 Pull in and use latest simapi 2024-07-28 19:02:40 -04:00
Paul Dino Jones 2129299f5f Start sound devices with frequency set to 0 to avoid loud start ups 2024-07-28 11:18:41 -04:00
Paul Dino Jones 3fc3ce3ea0 Fix small buffer overflow on the diameters file string 2024-07-28 11:00:26 -04:00
Paul Dino Jones 254c891528 Update to latest simapi to fix issues with file descriptors 2024-07-28 02:23:45 -04:00
Paul Dino Jones 0c74666409 Add more logging for mem freeing 2024-07-28 02:08:18 -04:00
Paul Dino Jones 82c45f1bca update to latest simapi to bypass wrong behavior 2024-07-28 02:06:44 -04:00
Paul Dino Jones bb5c2069c9 Added extra logging. Added code to free mapped memory and file descriptors 2024-07-27 20:32:09 -04:00
Paul Dino Jones ac749cebfa Fix issue with tyre effects on sound devices 2024-07-27 20:09:24 -04:00
Paul Dino Jones e125b33a85 update to latest simapi 2024-07-27 19:51:17 -04:00
Paul Dino Jones 6e041152a2 More support for beyond stereo 2024-07-22 21:45:57 -04:00
Paul Dino Jones 6945b026e9 Better handle volume math 2024-07-20 20:15:16 -04:00
Paul Dino Jones b7c5e1a9fa Updated readme with some instructions on bass shakers 2024-07-20 16:39:53 -04:00
Paul Dino Jones 178c16b0d7 Add ability to use sound cards with more than 2 channels. 2024-07-20 16:31:17 -04:00
Paul Dino Jones 5dcc69b2a2 Updated slog dependency 0.1.0 2024-07-17 17:30:00 -04:00
spikerguy f56bf19d17 Add Arduino upload, Test cmd and log location (#6)
* add log, arduino upload and Test

* use correct path

* add haptic nodes

* readme: add haptic and arduino motor connection
2024-07-17 10:14:28 -04:00
Paul Dino Jones dea445cafa Added log statement for ampfactor 2024-07-13 14:46:36 -04:00
Paul Dino Jones db83fc9aca Add ampfactor to control final motor power 2024-07-13 14:21:35 -04:00
Paul Dino Jones 234cf064a3 Add abs brake test 2024-07-13 12:48:05 -04:00
Paul Dino Jones b4742a2a8a Cleanup and fix issue that could cause abs to not work. 2024-07-13 11:36:21 -04:00
Paul Dino Jones befe49fd5c Set the fallback threshold for tyre slip effects to zero 2024-07-13 09:40:27 -04:00
Paul Dino Jones 67e04257ba Update so multiple defined serial haptic effects do not conflict with eachother. 2024-07-13 09:38:00 -04:00
Paul Dino Jones 813308c20f Fix issues with data not being correctly sent to motors for sim haptic. 2024-07-12 20:42:55 -04:00
Paul Dino Jones bfcb578bb1 Fix dumb issues with haptic arduino code. Add tyre slip vibrations to test script. 2024-07-09 17:14:40 -04:00
Paul Dino Jones 793d5b6f16 Add sim haptic arduino logic and config variables 2024-07-09 15:46:51 -04:00
Paul Dino Jones 411c8c5340 Move haptic effect data into it's own structure. 2024-07-03 19:18:39 +00:00
Paul Dino Jones f8237798a7 Add haptic effect to serial haptic device type 2024-07-01 22:45:54 +00:00
Paul Dino Jones dfbd2542b4 Add basic support for arduino haptic motors 2024-07-01 15:23:46 +00:00
Paul Dino Jones 8acd05f4c7 Improve handling of devices referenced in config but not actually able to be used for some reason 2024-06-27 20:20:13 +00:00
Paul Dino Jones 0df46cff76 Refactor diameter save file into libconfig to save a dependency. 2024-06-11 16:42:29 -04:00
Paul Dino Jones 1e1dbb9f2e Updated config file example 2024-06-11 10:53:26 -04:00
Paul Dino Jones 16b81fcc98 Send string around for diameters file 2024-06-11 14:41:30 +00:00
Paul Dino Jones 92f48d3bb0 Fix some issues with pulseaudio not stopping properly. 2024-06-11 14:29:09 +00:00
Paul Dino Jones 9a576ed19d Add support for save file for tyre diameters 2024-06-10 00:46:11 +00:00
Paul Dino Jones 424c691b2a Update to latest simapi 2024-06-10 00:45:21 +00:00
Paul Dino Jones 676fb8047f Initialize tyre diameters 2024-06-10 00:44:51 +00:00
Paul Dino Jones 1d49673804 Remove need to specify values for usb pedal rumble effects. 2024-06-07 17:40:53 +00:00
Paul Dino Jones c846e7517b Add attempt at ABS effect. Small refactorings 2024-06-07 04:21:08 +00:00