Compare commits

..
434 Commits
Author SHA1 Message Date
Paul Dino Jones da7a37855a add some directives that seem necessary for debian 2026-05-25 23:58:33 -04:00
Paul Dino Jones a864f240d1 fix lua linking 2026-05-25 23:36:57 -04:00
Paul Dino Jones 68cb9aacbc rename lua in headers 2026-05-25 23:13:53 -04:00
Paul Dino Jones b5faec69f5 add more lua variables back to cmake 2026-05-25 23:11:04 -04:00
Paul Dino Jones 1ceb8a750b add macro for lua 5.4 backwards compatibility so we can compile against lua 5.4 or 5.5 2026-05-25 23:03:57 -04:00
Paul Dino Jones bcc2d410a7 refer explicitly to lua 5.4 in headers 2026-05-25 20:46:47 -04:00
Paul Dino Jones c38cf44f05 add more dependencies to install.sh 2026-05-25 19:54:08 -04:00
Paul Dino Jones f96a94ecb7 force lua 5.4 in cmake 2026-05-25 19:53:47 -04:00
Paul Dino Jones 897ce57e1c Improve lua dependency detection for linking 2026-05-25 19:17:47 -04:00
Brandan Cotton 738d532dac make additional data available to lua scripts (#45) 2026-05-25 08:42:19 -04:00
Paul Dino Jones e9e1e8591a updated to latest simapi for process detection 2026-05-23 12:40:42 -04:00
Paul Dino Jones a806e394d0 build simapi in install script 2026-05-22 17:45:36 -04:00
Paul Dino Jones abe8830989 remove deprectated getpid.h file 2026-04-26 19:38:15 -04:00
Paul Dino Jones 99d2d6140a Update to latest simapi 2026-04-26 19:16:29 -04:00
Paul Dino Jones 8862bbd5dd Fix cmake compile definitions 2026-04-23 17:35:50 -04:00
Paul Dino Jones 7996b25621 fix cmake boolean 2026-04-23 17:20:57 -04:00
Paul Dino Jones 1bcbd08c6c fix proc2 detection 2026-04-23 16:02:02 -04:00
Paul Dino Jones 93ccca069f fix lua version issue 2026-04-23 15:25:21 -04:00
Paul Dino Jones 2121f7e4fe Add procps dependency. Update to latest simapi 2026-04-22 16:35:43 -04:00
Tony Miceli 18f043a62e Fix multiple serial device init issues (#43) 2026-04-20 10:35:36 -04:00
Francesco fddbf726d7 Distrobox install (#41) 2026-04-20 10:26:16 -04:00
Simon Zengerling e3487b3652 Feat add moza ks pro wheel (#42) 2026-04-11 16:07:17 -04:00
Paul Dino Jones 0ee114dc23 Add config entry for Moza R3 2026-04-04 10:02:16 -04:00
Tony Miceli 581163c00b add configurable fanpower for simwind and new PWM sketch (#37) 2026-04-03 18:03:08 -04:00
Paul Dino Jones 10c172d3e1 disable installing systemd service via cmake 2026-03-20 19:47:31 -04:00
Paul Dino Jones 1c79a70722 move saving of tyre diameter config to when we still know the car and sim info 2026-03-18 15:41:57 -04:00
Paul Dino Jones 361d73eba6 Fix issue with monocoque not shutting down cleanly when used in standalone udp mode 2026-03-18 11:48:43 -04:00
Paul Dino Jones a7327625df Refactor how sim calculate tyre diameter data if necessary 2026-03-18 11:10:35 -04:00
Paul Dino Jones 925cb0a2f1 Use sim provided slip ratio if available for slip based effects 2026-03-17 10:32:27 -04:00
Paul Dino Jones f21bced7c6 Fix regression braking udp support 2026-03-17 10:31:32 -04:00
Paul Dino Jones 99bb88a035 Refactor to provide siminfo to help decide if and how a device can be initialize 2026-03-16 17:40:13 -04:00
Paul Dino Jones 0a35099bd1 bring in fixes to crashes caused by new simapi 2026-03-11 23:57:01 -04:00
Paul Dino Jones 8b301402cc Update to latest simapi 2026-03-11 22:40:01 -04:00
Paul Dino Jones 699354cc7e Remove more debug code 2026-03-04 01:09:45 -05:00
Paul Dino Jones 7f776f279b fix compilation error 2026-03-03 23:42:18 -05:00
Paul Dino Jones f96277ef71 clean up debug code in pulseaudio mainloop start 2026-03-03 23:37:45 -05:00
Paul Dino Jones 4caabd24a7 Allow to automatically spawn pulseaudio daemon 2026-03-03 23:08:00 -05:00
Paul Dino Jones 8aadf0c1b0 Update to latest simapi for RaceRoom support 2026-02-28 16:04:31 -05:00
Paul Dino Jones a8919b9e55 Add link to guide for reverse engineering 2026-02-14 13:45:02 -05:00
dafteran4 75b42e876b Noise for haptics (#31) 2026-02-14 12:32:14 -05:00
dafteran4 8527ce9fa7 Low latency (#32) 2026-02-13 11:13:33 -05:00
dafteran4 a83ac2c670 sound: Fix frequency handling and add RPM rev test (#29)
- Change curr_frequency from uint32_t to double for precise frequency
  control
- Remove get_closest_frequency() and change phase calculation in engine
  sound to ensure continuous sine curve
- Add RPM revving test
2026-02-12 14:29:10 -05:00
Paul Dino Jones 696547dadf Update to latest simapi for Forza support 2026-02-11 10:52:13 -05:00
Paul Dino Jones 586c039bfd use separate debian control for each build 2026-02-08 11:42:37 -05:00
Paul Dino Jones d0a14c5f59 Added new files to build from new version of simapi 2026-02-07 10:57:21 -05:00
Paul Dino Jones 65049d5ce7 updated to lastest simapi for Wreckfest 2 Support 2026-02-07 10:47:57 -05:00
Paul Dino Jones 273e91ac71 restructure some libuv stuff 2026-02-06 17:54:17 -05:00
Paul Dino Jones 835b04fc13 Improve handling of shutdown when in udp mode 2026-01-27 01:43:01 -05:00
Paul Dino Jones d047543c19 update to latest simapi 2026-01-25 19:09:51 -05:00
Paul Dino Jones dbda035a07 Improve verbiage around invalid config file 2026-01-20 18:11:55 -05:00
Paul Dino Jones 44ff462fdc fix small issues with command line parameters 2026-01-20 18:11:55 -05:00
Paul Dino Jones b5b0355fc5 move tyre diameter calculations and diameters config saving out of haptic effect device specific logic 2026-01-15 18:18:29 -05:00
Paul Dino Jones 9815420c96 move finished rpm to github workspace 2026-01-12 15:31:52 -05:00
Paul Dino Jones 19a585b42c hardcode directory of generated rpm file 2026-01-12 15:22:22 -05:00
Paul Dino Jones e359c01e8d run on creation of any new tag 2026-01-12 15:14:50 -05:00
Paul Dino Jones 2d04b57b06 fix typo on file type 2026-01-12 15:11:58 -05:00
Paul Dino Jones 25e7dd1045 create rpm build dirs first 2026-01-12 15:08:22 -05:00
Paul Dino Jones 5520d5ba3e fix checkout command 2026-01-12 15:06:22 -05:00
Paul Dino Jones 532baed356 Add rpm workflow 2026-01-12 15:04:37 -05:00
Paul Dino Jones a6df3a7fef add libxml2 dependency 2026-01-12 12:00:37 -05:00
Paul Dino Jones 254804516d adding first attempt at rpm spec file 2026-01-12 11:47:43 -05:00
Paul Dino Jones 13f1a558dd fix spelling error 2026-01-10 15:34:37 -05:00
Paul Dino Jones 76904d383a matrix based package name 2026-01-10 15:33:54 -05:00
Paul Dino Jones 1e0d9f1461 added system info action 2026-01-10 15:15:19 -05:00
Paul Dino Jones 1d9cde26c6 update package release names 2026-01-10 15:09:05 -05:00
Paul Dino Jones aab0396f61 update to build latest ubuntu and debian packages 2026-01-10 15:02:33 -05:00
Paul Dino Jones 66f9f56a3c update to build ubuntu and debian packages 2026-01-10 15:00:24 -05:00
Paul Dino Jones a9cec10923 update to build ubuntu and debian packages 2026-01-10 14:59:33 -05:00
Paul Dino Jones ebc4671cb9 update to build ubuntu and debian packages 2026-01-10 14:54:58 -05:00
Paul Dino Jones a51a0ae475 update to build ubuntu and debian packages 2026-01-10 14:51:10 -05:00
Paul Dino Jones ddf81371cd update to use self hosted runner debian-latest 2026-01-10 12:47:46 -05:00
Paul Dino Jones 0b9ba29e39 update to use self hosted runner 2026-01-10 12:05:03 -05:00
Paul Dino Jones ada9c9e24f fix typo 2026-01-09 17:33:56 -05:00
Paul Dino Jones 9dc6337211 use -p to create dirs 2026-01-09 17:23:39 -05:00
Paul Dino Jones c4ea4737f7 try to apt update 2026-01-09 17:20:20 -05:00
Paul Dino Jones 659c7cfd65 try ubuntu 24 2026-01-09 17:16:41 -05:00
Paul Dino Jones c82c391d79 try ubuntu latest 2026-01-09 17:14:59 -05:00
Paul Dino Jones f45c5e9b0a Fix bad label 2026-01-09 17:12:14 -05:00
Paul Dino Jones b03bfdf2e6 Add libpulse dependency 2026-01-09 17:03:18 -05:00
Paul Dino Jones 7b97ba16df Add step to checkout submodultes 2026-01-09 17:01:03 -05:00
Paul Dino Jones b02c5b1e47 Add step to install dependencies 2026-01-09 16:57:42 -05:00
Paul Dino Jones 467b85ae4a fix indentation problem 2026-01-09 16:52:13 -05:00
Paul Dino Jones 8ebc851e82 fix indentation problem 2026-01-09 16:51:04 -05:00
Paul Dino Jones f0860a7383 fix indentation problem 2026-01-09 16:49:35 -05:00
Paul Dino Jones 5c2f1d7b3f update README 2026-01-09 16:41:58 -05:00
Paul Dino Jones f462f8554a monocoque debian package 2026-01-09 16:40:12 -05:00
Paul Dino Jones 34ccffc8ab Adding debian package control file 2026-01-09 12:47:32 -05:00
Paul Dino Jones 34f04adcae updated readme 2026-01-07 01:01:08 -05:00
Paul Dino Jones 6c7c3231a7 Adding support for Logitech G29 Wheel 2026-01-06 21:14:10 -05:00
Paul Dino Jones 62bda5a58c updated readme to point to new supported sims chart 2026-01-05 13:05:11 -05:00
Paul Dino Jones 9194b7173b update to latest simapi for Dirt2 support 2025-12-30 11:40:40 -05:00
Paul Dino Jones 681d456c51 allow for non set cars to atleast use provided tyre diameters 2025-12-24 16:23:03 -05:00
M4X1K02 d984e5ee86 feat: Add universal installer and TUI manager (#26)
* feat: Add universal installer and TUI manager

This vibe-coded project now includes a comprehensive installation system
that simplifies monocoque setup across all major Linux distributions.

Key Features:
- Universal installer (install.sh) with automatic distribution detection
- Installs binaries to ~/.local/share/monocoque (user-local, no root needed)
- Creates launcher scripts in ~/.local/bin (start-simd, start-monocoque, test-monocoque)
- Interactive TUI manager (monocoque-manager) for service management
- Complete uninstaller (tools/uninstall.sh) with selective removal
- Dynamic systemd service generation for auto-start capability

Installation Components:
- install.sh: One-command installation across Arch, Debian/Ubuntu, Fedora, openSUSE
- tools/monocoque-manager: Python TUI for real-time status monitoring
- tools/uninstall.sh: Clean removal with config/log preservation options
- Updated README.md with quick install instructions

Architecture:
- User-local installation (no system pollution)
- Binaries: ~/.local/share/monocoque/{monocoque,simapi,simshmbridge}/
- Configs: ~/.config/{monocoque,simd}/
- Launchers: ~/.local/bin/{start-*,test-*,monocoque-manager}
- Services: ~/.config/systemd/user/ (generated dynamically)

Distribution Support:
- AUR integration for Arch users (fastest installation path)
- Native package manager integration (pacman, apt, dnf, zypper)
- Comprehensive dependency handling and build automation

This reduces installation time from 30-60 minutes to 5-15 minutes while
providing better user experience and easier maintenance.

Tested on Garuda Linux (Arch-based) - successful installation, operation, and cleanup.

* refactor: address PR feedback and improve XDG compliance

- Consolidate installers: removed universal-install.sh in favor of install.sh
- Fix XDG compliance: updated install.sh, uninstall.sh, and monocoque-manager to respect XDG_DATA_HOME, XDG_CONFIG_HOME, and XDG_CACHE_HOME with proper fallbacks
- Remove --no-daemon flag from simd launcher and systemd service as requested
- Improve TUI compatibility: fixed popen execution for Kitty (confirmed working), xfce4-terminal, Alacritty, and xterm
- Add documentation: added references to spacefreak18.github.io/simapi/ in README and installer
2025-12-23 17:11:51 -05:00
Paul Dino Jones a962d658a3 move duplicate loop release code to its own function 2025-12-22 22:44:47 -05:00
Paul Dino Jones f58d8cbc42 update to latest simapi 2025-12-22 22:44:19 -05:00
Paul Dino Jones efbafb07c2 Update to latest simapi for car from outgauge 2025-12-18 00:23:45 -05:00
Paul Dino Jones f062a53e7f update to latest simapi for ACEvo and ACRally support 2025-12-14 17:46:27 -05:00
Paul Dino Jones 3797357844 update to latest simapi for Assetto Corsa Rally support 2025-12-13 13:04:38 -05:00
Paul Dino Jones 88f0f4005f fix flipped rpm and maxrpm in moza device update signature 2025-12-13 11:51:44 -05:00
Paul Dino Jones 0772821f62 update to latest simapi to fix outgauge mapping 2025-12-12 15:39:57 -05:00
Paul Dino Jones 6c6ac81a2c update to latest simapi for BeamNG workaround 2025-12-12 15:33:07 -05:00
Paul Dino Jones 82a246a4b1 thread showstats so it does not go crazy 2025-12-12 15:26:50 -05:00
Paul Dino Jones 03f807ac34 update to latest simapi to fix small issue using simd with udp sims 2025-12-12 12:22:59 -05:00
Paul Dino Jones 503781673b pull in simapi update to fix mapping issue with outgauge 2025-12-12 10:22:57 -05:00
Paul Dino Jones 7cac9e9fa0 add support for BeamNG 2025-12-11 20:21:36 -05:00
Paul Dino Jones 25bfe2325c Add basic support for Live For Speed through OutGauge and Outsim protocols 2025-12-11 17:49:39 -05:00
Paul Dino Jones fea3bee324 pull latest simapi to fix too many files bug 2025-11-27 19:12:32 -05:00
Paul Dino Jones 5c30844709 update to latest simapi to fix gear int value 2025-11-23 13:50:35 -05:00
Paul Dino Jones 0700ab9a31 add lua dependency to README 2025-11-22 11:39:41 -05:00
Paul Dino Jones 817e0f2001 updated to latest simapi 2025-11-22 09:28:20 -05:00
Paul Dino Jones a44fd51bda update to latest simapi 2025-11-18 12:25:28 -05:00
Paul Dino Jones 34ad2f63db fix type for fourth gear 2025-11-10 13:02:15 -05:00
Paul Dino Jones f716e30633 use new enums for flag and gear 2025-11-10 11:27:10 -05:00
Paul Dino Jones 10d572f227 fix issue with diameters.config not using gameid. Update to latest simapi 2025-10-28 12:18:59 -04:00
Olly Smith 98bc0b57c9 Initial support for latest Moza firmware LED controls (#25) 2025-10-28 01:39:33 -04:00
Paul Dino Jones 1c1323961c init and destroy logging with thread safety 2025-10-28 00:26:04 -04:00
Paul Dino Jones a98bcbcedb add compilation targets for new mapping structure 2025-10-23 14:01:18 -04:00
Paul Dino Jones ead22efbc8 Updated to latest simapi 2025-10-23 13:52:24 -04:00
Paul Dino Jones f7143e2024 Add gearc to lua and to test sequence 2025-10-22 14:36:59 -04:00
Paul Dino Jones 0780b001f6 working custom serial 2025-10-20 19:37:28 -04:00
Paul Dino Jones 7f3727d2f1 consolidate cleanup gotos 2025-09-01 19:30:43 -04:00
Paul Dino Jones a3059b30ba clean up argument parsing a little 2025-09-01 17:24:26 -04:00
Paul Dino Jones 0e5498f220 fix freeing of xdg handle when help is specified 2025-09-01 11:52:52 -04:00
Paul Dino Jones e380f3a9d4 Add beginnings of custom arduino devices. 2025-09-01 11:38:36 -04:00
Paul Dino Jones 433e2423e8 update to lastest simapi 2025-09-01 10:59:03 -04:00
Sebastian NoeandSebastian Noe a730096e86 Provide instructions to set up monocoque (#24)
* add consolidated instructions on how to run monocoque

* reference config test

* reference user setup guide

---------

Co-authored-by: Sebastian Noe <sebastian.schneider@boxine.de>
2025-08-31 21:57:41 -04:00
Paul Dino Jones e4a8a998e8 fix formatting of monocoque.config 2025-08-31 19:20:58 -04:00
Paul Dino Jones 7e923354ba add newer and better examples to monocoque.config 2025-08-31 19:14:33 -04:00
Paul Dino Jones 7f7a24269a Update to latest simapi 2025-08-29 19:15:15 -04:00
Paul Dino Jones a6b039c292 Update to latest simapi to fix tyre diameters 2025-08-29 19:01:46 -04:00
Paul Dino Jones d7dbab7956 updated to latest simapi for tyre diameter and turbo boost 2025-08-28 17:00:08 -04:00
Paul Dino Jones 88f3e0ebb9 Add led_clear_range lua function so leds can be cleared without clearing them all for certain effects 2025-08-26 18:05:09 -04:00
Paul Dino Jones 811ce77da8 updated to latest simapi 2025-08-25 20:28:16 -04:00
Paul Dino Jones 442a1b88a2 Update to latest simapi 2025-08-25 17:46:48 -04:00
Paul Dino Jones 4684ee49c3 Add disable_audio flag 2025-08-15 04:19:39 -04:00
Paul Dino Jones 10ecfa858a Fix gear and engine effects remove some unnecessary code 2025-07-30 03:32:41 -04:00
Morgan Garcia 23f45d8f56 Update moza.c
Change MOZA_MAGIC_VALUE back to 0x0d from 13.
2025-07-29 20:43:49 -04:00
Morgan Garcia 9f51f03efa Update moza.c
Changed MOZA_TIMEOUT back to 1000.
2025-07-29 20:43:49 -04:00
Morgan Garcia 223cf26e28 Update moza.c
moza_update function

Updated variable name to perctflt and changed the value to multiply the quotient of rpm/maxrpm by 100.

Made int perct variable to round perctflt to nearest whole number.

Updated LED activation ranges so that all 10 LEDs get activated when given rpm percentage is reached.
2025-07-29 20:43:49 -04:00
Morgan Garcia 6bf80673ce Update gameloop.c
Reverted back to default from Spacefreak18 source now that I've tested and gotten the LEDs working.
2025-07-29 20:43:49 -04:00
Morgan Garcia d28719929c Update gameloop.c
Text output update
2025-07-29 20:43:49 -04:00
Morgan Garcia 19f7a12027 Update moza.c
Fixed error in BIT number increasing.
2025-07-29 20:43:49 -04:00
Morgan Garcia 218b8c255c Update gameloop.c
Comment out normal LED test.

Added test for quicker push to the wheel for troubleshooting.
2025-07-29 20:43:49 -04:00
Morgan Garcia 0201b29c49 Update moza.c
moza_update values updated for LED test.

MOZA_PAYLOAD_SIZE added per update from Spacefreak18
2025-07-29 20:43:49 -04:00
Morgan Garcia 1d9b6cfe1a Update moza.c
Updated MOZA_SERIAL_TEMPLATE[3] from 0x17 to 0x13 which fixed communication issues with the device.
2025-07-29 20:43:49 -04:00
Paul Dino Jones 0abd5e9b68 Bump to latest simapi for unix timestamp ticks. Push unix timestamp ticks to lua variable. Update test logic to test on 8000 rpms. Update example lua scripts with examples of led rpm blink. 2025-07-15 16:39:41 -04:00
Paul Dino Jones d2fa72f47c fix serial receiving 2025-07-14 00:15:47 -04:00
Paul Dino Jones f6a2607273 fix misleading log message 2025-06-16 13:19:13 -04:00
Paul Dino Jones c7c86adf94 accept usbwheel for wheel on usb devices in config 2025-06-16 13:02:34 -04:00
Oleg Makarenko 145b4aed78 Add Simagic GT Neo to the udev rules, opening hidraw 2025-06-15 22:59:41 -04:00
Oleg Makarenko de51a27708 Add lua config for Simagic GT Neo 2025-06-15 22:59:41 -04:00
Oleg Makarenko b90c396d34 Add GT Neo LED update feature 2025-06-15 22:59:41 -04:00
Paul Dino Jones 6c902b4c2b update to latest simapi for lmu support 2025-06-14 19:11:44 -04:00
Paul Dino Jones d08ebfa6db Update to latest simapi for improvements to tyre diameter detection 2025-04-30 19:07:05 -04:00
Paul Dino Jones c7cbce7c7b update to latest simapi to fix detecting diameters while simd is running 2025-04-29 00:01:39 -04:00
Paul Dino Jones b5dd003f88 fix code around generating diameters config 2025-04-29 00:00:58 -04:00
Paul Dino Jones 3d4f1914c6 Re-enable shared memory test prog 2025-04-28 20:38:34 -04:00
Mon ouïe c6f6a63ed7 Add udev rule for Simagic P1000 support 2025-04-21 14:09:46 -04:00
Mon ouïe 108d21d30a Fix HID send report commands for Simagic P1000 Haptic modules 2025-04-21 14:09:46 -04:00
Paul Dino Jones 04f01366b1 add function to expand tilde and expand tilde on device specific config files 2025-04-07 10:56:38 -04:00
Paul Dino Jones e627392dda small cleanup to fix memory leaks 2025-04-07 10:56:38 -04:00
Paul Dino Jones 1e96c04de4 add -c for specified config file option 2025-04-07 10:56:38 -04:00
Paul Dino Jones 7ead5ac9f5 fix issue with freeing lua file on cammus c12 2025-03-27 17:12:23 -04:00
Paul Dino Jones a8e6a219bf Add extra log information on revburner 2025-03-27 15:52:51 -04:00
Paul Dino Jones 0d388d96b1 improvements for cammus c12 2025-03-27 15:38:35 -04:00
Paul Dino Jones e80b12eb47 fix arduino lua device free 2025-03-27 14:47:34 -04:00
Paul Dino Jones df39832f4f Temporarily remove feature to ignore reattempting to open a serial device after it had failed once. Increase number of allowed serial device blocks to 20. 2025-03-27 01:51:37 -04:00
Paul Dino Jones 4e6bf4684a Move release of serial adapter to before underlying device is released 2025-03-26 18:25:26 -04:00
Paul Dino Jones 14fb81ee43 Fix some pulseaudio stuff 2025-03-26 17:35:05 -04:00
Paul Dino Jones 2aed9f5b51 Improve logging over device specific configs 2025-03-26 16:41:18 -04:00
Paul Dino Jones ebf0965381 remove debug build hardcode 2025-03-26 15:20:43 -04:00
Paul Dino Jones c850efbde5 actually pass the config file around 2025-03-26 15:16:04 -04:00
Paul Dino Jones f782823c12 Move device specific config file test to more logical spot 2025-03-26 15:01:06 -04:00
Paul Dino Jones 3f02f09238 Fix tachometer config 2025-03-26 13:03:50 -04:00
Paul Dino Jones e2b5e4b5d1 Fix leak in arduino lua 2025-03-26 12:35:16 -04:00
Paul Dino Jones d1f43aace5 Remove log entries 2025-03-26 11:58:39 -04:00
Paul Dino Jones b380d44521 Cleanup pulseaudio code 2025-03-26 11:58:05 -04:00
Paul Dino Jones 02699d3c47 Fix leak in xdglib 2025-03-26 11:57:40 -04:00
Paul Dino Jones 66886b4d7e fix leak in config 2025-03-26 11:56:31 -04:00
Paul Dino Jones 0d9a171193 fix leak in cammus c12 2025-03-26 11:56:04 -04:00
Paul Dino Jones 4382e2f71f fix leak in wheel device 2025-03-26 11:55:43 -04:00
Paul Dino Jones 7bf2f8b28f Fix leak in serial adapter 2025-03-26 11:55:18 -04:00
Paul Dino Jones 5ed23d1cba Fix segfault freeing cammus c12 2025-03-25 14:57:52 -04:00
Paul Dino Jones e75c57636a Rename to car radar.lua 2025-03-25 14:03:58 -04:00
Paul Dino Jones f87fe218d0 fix colors 2025-03-25 13:54:16 -04:00
Paul Dino Jones f0d501370e Fix off by one on rgb math 2025-03-25 13:52:22 -04:00
Paul Dino Jones 18f41e4cd0 Add example for cars alongside 2025-03-25 13:25:11 -04:00
Paul Dino Jones 1a22c10b06 Add flags to test loop 2025-03-25 12:57:55 -04:00
Paul Dino Jones ccae4c5f89 Do not write to rpm leds on cammus c12 2025-03-25 12:31:00 -04:00
Paul Dino Jones 46cb401e6b Always write to led 2025-03-25 10:09:39 -04:00
Paul Dino Jones 7afd7f12ed Huge refactor to improve memory efficiency mostly around pulseaudio 2025-03-25 10:04:39 -04:00
Paul Dino Jones e0d9c78f60 Remove some unnecessary variables from lua variable setup 2025-03-25 10:04:14 -04:00
Paul Dino Jones a26ee4da2f Properly release lua if it is used on cammus 2025-03-25 10:03:38 -04:00
Paul Dino Jones 4ed25d7112 Fix logging spam 2025-03-24 16:43:09 -04:00
Paul Dino Jones 88db6c5f04 Fix segfaults on device specific config files 2025-03-24 15:58:37 -04:00
Paul Dino Jones c3a88f3b07 Fix issue with serial devices opening when they have already failed once 2025-03-24 15:57:50 -04:00
Paul Dino Jones 22a41d1ddb Fix issue with not found configs 2025-03-24 14:22:20 -04:00
Paul Dino Jones ed671ecedc Fix off by one error. Fix log format 2025-03-24 14:07:16 -04:00
Paul Dino Jones 7c8ebb0984 Increase cammus c12 leds 2025-03-24 13:22:45 -04:00
Paul Dino Jones f7e92083f2 Make sure leds clear each time 2025-03-24 12:13:39 -04:00
Paul Dino Jones 22930163ec Fix to use lua on c12 if lua script loads properly 2025-03-24 12:05:49 -04:00
Paul Dino Jones b776e05f66 Fix issue with arduino leds not clearing 2025-03-24 11:44:44 -04:00
Paul Dino Jones 336d240be4 change buffer log to first byte, probably safe to assume there will be atleast 1 byte in the buffer. 2025-03-23 18:10:03 -04:00
Paul Dino Jones 8c764358b7 Fix led lua code so the buffer do not include device specific magic values 2025-03-23 18:05:58 -04:00
Paul Dino Jones 1e6bde9da1 Fix some issues with sound device code 2025-03-22 19:24:15 -04:00
Paul Dino Jones 5dc00eb4ce Add ability to use lua on cammus c12 2025-03-22 19:16:54 -04:00
Paul Dino Jones 367c6fed34 Add Suspension travel effect 2025-03-21 19:45:34 -04:00
Paul Dino Jones 8e577c0f87 Fix issues with config segfaults 2025-03-21 19:44:55 -04:00
Paul Dino Jones 3063d0a668 Add ability to use car proximity for lights 2025-03-21 13:55:56 -04:00
Paul Dino Jones a597f29c1f Add more logging to config loading 2025-03-21 13:55:21 -04:00
Paul Dino Jones bec6433969 Add AMPLIFY modulation 2025-03-15 23:42:15 -04:00
Paul Dino Jones 161f311494 Add lua include dir to cmake 2025-03-11 12:23:02 -04:00
Paul Dino Jones 11bd2f71ef Fix lua cmake dependency. Use specified frequency as base frequency for engine effects 2025-03-11 12:01:24 -04:00
Paul Dino Jones 84f336f40c Updating configuration to reflect new simled code 2025-02-25 22:13:49 -05:00
Paul Dino Jones 9c0cadffdf Add support for simhub protocol and custom lua scripts to control leds 2025-02-25 18:41:10 -05:00
Paul Dino Jones d0f4a48c35 Updated to latest simapi for getpid improvements 2025-02-19 15:46:44 -05:00
Paul Dino Jones fdb318bfae Update sketches to use 115200 baud 2025-02-12 15:04:38 -05:00
Paul Dino Jones e7751b4e16 fix improper detecting of usb haptic device 2025-02-01 17:01:50 -05:00
Paul Dino Jones 7a5ca94209 Refactor serial devices so a single open handle is shared throughout 2025-01-25 09:52:38 -05:00
Paul Dino Jones 8bf98fae1e moved some confusing code 2025-01-25 09:51:20 -05:00
Paul Dino Jones 0e47f53f88 improve process of closing sound devices 2025-01-25 09:50:11 -05:00
Paul Dino Jones 414b9708f4 pulling in latest simapi for improvements to pcars2 2025-01-21 17:23:28 -05:00
Paul Dino Jones fc95f044bf Adding max frequency and modulation to sound devices 2025-01-21 17:23:10 -05:00
Paul Dino Jones 10c5d2c597 Fix bug causing no tyre effects 2025-01-20 12:13:49 -05:00
Paul Dino Jones f2ba345cab Update to latest simapi, allow sim strings in configs 2025-01-20 10:53:57 -05:00
Paul Dino Jones d97118e19b updated to latest simapi 2025-01-19 15:16:30 -05:00
Paul Dino Jones d927726f77 Updated to latest simapi for AC EVO support 2025-01-19 09:57:57 -05:00
Paul Dino Jones 5969b8f34b fixed sound readme again 2025-01-19 09:57:23 -05:00
Paul Dino Jones 3b0d75423f Removed calls to abort 2025-01-18 19:01:52 -05:00
Paul Dino Jones 0c5a953787 moved to latest simapi 2025-01-18 13:36:03 -05:00
Paul Dino Jones 6d24c5e7f2 Add numlights setting 2025-01-18 13:20:56 -05:00
Paul Dino Jones d3618c758d fix revburner typo 2025-01-18 12:26:23 -05:00
Paul Dino Jones 052ee12178 Initially adding support for SIMAGIC P1000 Pedals 2025-01-18 03:30:11 -05:00
Paul Dino Jones 6d0b027171 lock pulseaudio mainloop while freeing sound devices 2025-01-17 19:41:12 -05:00
Paul Dino Jones 6f14b09f1a use more standard channel map 2025-01-17 18:22:51 -05:00
Paul Dino Jones bb0d2bfe4c more details in README 2025-01-17 10:41:18 -05:00
Paul Dino Jones 83e92391f4 added global refresh rate -f 2025-01-17 10:29:27 -05:00
Paul Dino Jones 44274084d3 added a few commands to help with sound setup 2025-01-17 10:28:25 -05:00
Paul Dino Jones 0a498f0c64 move logging around to make output a little cleaner 2025-01-16 22:22:49 -05:00
Paul Dino Jones 13d7a03acb remove old commented code 2025-01-16 22:10:44 -05:00
Paul Dino Jones 4df9787c21 I knew there was a reason it was commented out. It makes valgrind happy but causes the program to segfault on exit. 2025-01-16 17:00:15 -05:00
Paul Dino Jones 7f371ebf15 fix more malloc complaints 2025-01-16 16:57:34 -05:00
Paul Dino Jones 6145efd2a9 fix bad memory management around device threading model 2025-01-16 16:45:37 -05:00
Paul Dino Jones f90b173e8c updated readme for getting device name 2025-01-16 14:28:29 -05:00
Paul Dino Jones 0ad78b4ef1 sound devices stay on main thread 2025-01-16 01:08:00 -05:00
Paul Dino Jones 44dcc703e3 fix some effects in test loop 2025-01-15 23:43:25 -05:00
Paul Dino Jones 327cd0eaad add sim entry to diameters file 2025-01-15 23:42:57 -05:00
Paul Dino Jones a30247eb6f add logging for haptic effects, fix consistency of test sequence 2025-01-15 18:16:07 -05:00
Paul Dino Jones eabfef6efe fix bug in tyre effects and its test 2025-01-15 14:11:42 -05:00
Paul Dino Jones 5d67611b98 fixed return of checkbyte for moza 2025-01-15 12:24:08 -05:00
Paul Dino Jones 8c65f8b26d Updated PKGBUILD files to use libpulse 2025-01-15 12:23:34 -05:00
Paul Dino Jones 8dfc4c0435 fix floating point issue on moza 2025-01-14 20:23:43 -05:00
Paul Dino Jones f2a5872520 temporarily add another step with rpms at 7000 to assist in debugging some wheels 2025-01-14 20:23:11 -05:00
Paul Dino Jones 5b003b606d updated to latest simapi 2025-01-14 18:25:42 -05:00
Paul Dino Jones f64fde023a fix issues with serial wheel 2025-01-14 18:09:35 -05:00
Paul Dino Jones 2f32501bf8 Improve config handling 2025-01-14 17:40:07 -05:00
Paul Dino Jones 30cb1def72 removed unused jansson header 2025-01-13 19:17:42 -05:00
Paul Dino Jones def2bfbb89 Add support for per device fps settings. 2025-01-13 15:16:57 -05:00
Paul Dino Jones 317adf2187 updated monocoque PKGBUILDS 2025-01-11 03:19:19 -05:00
Paul Dino Jones 17b4bd142a moved PKGBUILD to stable folder 2025-01-11 03:18:09 -05:00
Paul Dino Jones 735e09a872 add example pacman command for dependencies 2025-01-11 03:06:27 -05:00
Paul Dino Jones 79b3aba157 Use STARTLED default of 1 2025-01-02 16:21:15 -05:00
Paul Dino Jones 0f29394aa7 Update simlight test 2025-01-02 15:57:13 -05:00
Paul Dino Jones b90dfdfc31 Add start led 2025-01-02 15:54:46 -05:00
Paul Dino Jones 326c1b7bf8 updated TODO 2024-12-04 14:44:09 -05:00
Paul Dino Jones 71cd512fd1 updated TODO 2024-12-04 14:42:37 -05:00
Paul Dino Jones c51b88ca4a disable all tests for now 2024-12-04 12:34:21 -05:00
Paul Dino Jones a2ff24afd7 add code to smooth out frequencies between audio frames 2024-12-04 11:20:21 -05:00
Paul Dino Jones c8e40e9b80 persist phase to stop disjointed sine waves 2024-12-03 20:47:57 -05:00
Paul Dino Jones c1375ae0c9 improve stability of config file loading when multiple configs are in use 2024-11-22 16:21:30 -05:00
Paul Dino Jones 7caca1d362 fix issues with simapi mapping correctly when using simd 2024-11-22 16:21:08 -05:00
Paul Dino Jones b8ac911d44 Use more generic sysfs path to find csl elite v3 pedals 2024-11-19 11:57:58 -05:00
Paul Dino Jones 2b6812b3a9 Use latest simapi to improve tyre slip effects 2024-11-19 11:55:55 -05:00
Paul Dino Jones ecf3a59d6b stable pkgbuild 2024-11-18 16:53:27 -05:00
Paul Dino Jones 12509e9709 Added ampfactor to serial haptic log message 2024-10-10 15:00:39 -04:00
Paul Dino Jones 27fcea8f0d Add xdg to dependencies 2024-10-06 00:52:17 -04:00
Paul Dino Jones d507749f39 upgraed to latest simapi 2024-10-06 00:49:08 -04:00
Paul Dino Jones 4b9679dec7 various readme updates 2024-10-06 00:12:50 -04:00
Paul Dino Jones ec8bbbbd0d upgraded to new simapi 2024-10-05 17:10:00 -04:00
Paul Dino Jones f4a4c635e1 Updated to latest simapi 2024-10-05 08:32:01 -04:00
Paul Dino Jones 144a670dbb Updated to latest simapi 2024-10-05 08:28:26 -04:00
Paul Dino Jones 2a897d930a UDP support and upgrade to latest simapi for udp and logging support 2024-10-01 12:46:41 -04:00
Paul Dino Jones 558b298a78 Fix issue not setting correct baud rate through to libserialport 2024-09-30 22:21:35 -04:00
Paul Dino Jones 32a15eff50 set simhaptic baud to 9600 2024-09-30 20:34:29 -04:00
Paul Dino Jones d054f032fd forgot to add submodules 2024-09-19 21:44:22 -04:00
Paul Dino Jones ec6cb073ee Fixed overlook device settings in config processing 2024-09-19 21:22:00 -04:00
Paul Dino Jones c4a1cbcfb8 Updated pkgbuild to actually install 2024-09-19 21:21:30 -04:00
Paul Dino Jones 128d02e71a Fix a couple things i missed in the merge 2024-09-19 18:59:46 -04:00
Paul Dino Jones c0755aef54 Reorganization and config updates for Moza wheel 2024-09-19 18:54:16 -04:00
Paul Dino Jones 525dd68b4b Add ability to specify baud rate in config file 2024-09-19 18:54:12 -04:00
Lawstorant f76fe53a3b Initial work 2024-09-19 18:53:04 -04:00
Paul Jones 545168c3ab Serial8 (#11)
* Using 8 bits per int for serial devices

* Refactor simwind code slightly to improve performance
2024-09-19 17:05:42 -04:00
Paul Dino Jones 2446fc9af2 Moved baud rate to serial device struct and fixed log message 2024-09-17 10:17:40 -04:00
Paul Dino Jones e1b71850bb Fix velocity bytes on cammus c12 hid message 2024-09-16 16:48:17 -04:00
Paul Dino Jones a81004418d Support for cammus c12 2024-09-16 16:14:18 -04:00
Paul Dino Jones 910e225a9a Add some robustness to diameters file and slip effect code 2024-09-16 14:08:58 -04:00
Paul Dino Jones 695581b66d Fix issue with test not having a car set 2024-09-15 12:24:23 -04:00
Paul Dino Jones 88e762b718 Added more checks to make sure sims do not try to set tyre diameters without a car set 2024-09-08 18:49:01 -04:00
Paul Dino Jones 55dfa4b086 Do not compare car if it is null 2024-09-08 18:44:21 -04:00
Paul Dino Jones d1629dfcbd Added more robustness to config lookup 2024-09-06 14:50:00 -04:00
Paul Dino Jones 9e09a2792a Added more logging to config load 2024-09-06 14:30:12 -04:00
Paul Dino Jones 9f45697564 Put default configs closer to the bottom 2024-09-04 16:22:36 -04:00
Paul Dino Jones 1ffbd84721 Fix some issues with config loading 2024-09-04 16:15:34 -04:00
Paul Dino Jones f474027f0a Add ability to specify baud rate in config file 2024-09-04 12:56:02 -04:00
Paul Dino Jones 2fb0383091 Update loop to 60fps. Update some arduino devices to 115200. Refactor shiftlights code for performance. 2024-09-04 12:16:21 -04:00
Paul Dino Jones f31947dc69 Updated config example to support profiles 2024-09-03 16:59:48 -04:00
Paul Dino Jones 8b63346071 Update CMake so project build 2024-09-02 13:24:34 -04:00
Paul Dino Jones 5cd82e35eb Updated to latest simapi 2024-09-02 13:20:28 -04:00
spikerguy b5ea1bb061 Add supported games list (#9)
* Add supported games list

* readme: get car tyre diameter

* typo
2024-09-02 12:53:22 -04:00
Paul Dino Jones c0f0abaa6b Added link to Linux Sim Racing Matrix space 2024-09-02 12:50:06 -04:00
Paul Dino Jones e0c3d822a5 Added arch linux PKGBUILD 2024-09-02 12:47:17 -04:00
Paul Dino Jones 07e1a840be Update to latest simapi 2024-09-02 12:40:40 -04:00
Paul Dino Jones b5eee247b3 Updated to latest simapi 2024-09-02 12:09:18 -04:00
Paul Dino Jones 08209a96bd Initialize some data so tyre diameter detection works, and motors spin down. 2024-09-02 11:15:19 -04:00
Paul Dino Jones fd1264611c Set gameloop to 8fps for now to avoid issues 2024-09-02 11:13:19 -04:00
Paul Dino Jones df0ad1f5c9 Improving loop management to prevent double freeing. Fixing other memory issues 2024-09-02 10:43:36 -04:00
Paul Dino Jones 07d797f24c making log statement more accurate 2024-08-31 16:14:33 -04:00
Paul Dino Jones 572a21b3d6 Move some things around and add another indicator to prevent double frees 2024-08-31 16:02:34 -04:00
Paul Dino Jones d1f252d4e0 Fix log statement so it actual outputs the amount of slip 2024-08-31 16:02:04 -04:00
Paul Dino Jones 40726c06c8 Major overhault to add libuv event loop. Enhancements to config file to support profiles. 2024-08-30 13:46:56 -04:00
Paul Dino Jones 607a7ad7c3 update to latest simapi 2024-08-12 23:50:18 -04:00
Paul Dino Jones 3032433f7d Update to latest simapi to fix gear in truck sims 2024-08-11 23:48:00 -04:00
Paul Dino Jones 9e21c3bc43 Add SCS Truck Sim support 2024-08-11 23:28:29 -04:00
Paul Dino Jones 8e319629eb Move from libusb to hidraw backend hid api 2024-08-11 20:12:27 -04:00
Paul Dino Jones 2e538b0855 Refactored wheel diameters config logic 2024-08-08 21:19:52 -04:00
Paul Dino Jones 6c66c8880e Set useconfig before initializing devices 2024-08-08 15:02:55 -04:00
Paul Dino Jones 27cb95c86d Fixing issue with diameters file. Disabling diameters config checking during monocoque test. Additonal logging 2024-08-08 00:28:54 -04:00
Paul Dino Jones a9012a07fb setting uninitialized values on sound devices 2024-08-08 00:28:03 -04:00
Paul Dino Jones 366b8cb5b1 No longer abort on one failed write to a serial device. Log error instead. 2024-08-06 16:45:29 -04:00
Paul Dino Jones 2086108de6 Add Reverse for Cammus C5 2024-08-06 10:06:49 -04:00
Paul Dino Jones fda4c0dbcd 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 aff76a3dd9 Fix issue with bad data being send to cammus wheel on quit 2024-08-05 17:08:23 -04:00
Paul Dino Jones 3bcf2ee87e Fix include paths 2024-08-05 17:07:04 -04:00
Paul Dino Jones 316ff0c273 Add more logging for cammus 2024-08-05 16:43:47 -04:00
Paul Dino Jones bf8dddd89f clear bytes on each update 2024-08-05 16:31:58 -04:00
Paul Dino Jones b4ebcc078b Fix gear 2024-08-05 16:18:51 -04:00
Paul Dino Jones 45b336ecbc Using correct pid for cammus 2024-08-05 16:11:29 -04:00
Paul Dino Jones db1caa2b8d Small fixes for speed and gear 2024-08-05 16:10:15 -04:00
Paul Dino Jones 492484ac7c rpm margin must return as an integer 2024-08-05 14:49:32 -04:00
Paul Dino Jones fdad56db31 Initial attempt at adding support CammusC5 wheel with underlying code for future wheels. 2024-08-05 13:42:17 -04:00
Paul Dino Jones 47cf4b3fa9 Reverse regression in previous commit 2024-08-04 17:07:09 -04:00
Paul Dino Jones 6b9c688bcc Refactor motor haptic effect slightly. Add logging. 2024-08-04 14:58:01 -04:00
Paul Dino Jones 14da8d22e7 Pull in and use latest simapi 2024-07-28 19:02:40 -04:00
Paul Dino Jones 40d4c19a26 Start sound devices with frequency set to 0 to avoid loud start ups 2024-07-28 11:18:41 -04:00
Paul Dino Jones 53cdcc592f Fix small buffer overflow on the diameters file string 2024-07-28 11:00:26 -04:00
Paul Dino Jones 80a2afb675 Update to latest simapi to fix issues with file descriptors 2024-07-28 02:23:45 -04:00
Paul Dino Jones a07bb24730 Add more logging for mem freeing 2024-07-28 02:08:18 -04:00
Paul Dino Jones 6989881b00 update to latest simapi to bypass wrong behavior 2024-07-28 02:06:44 -04:00
Paul Dino Jones e15f7e0865 Added extra logging. Added code to free mapped memory and file descriptors 2024-07-27 20:32:09 -04:00
Paul Dino Jones bc6b4825e9 Fix issue with tyre effects on sound devices 2024-07-27 20:09:24 -04:00
Paul Dino Jones 73d739fb20 update to latest simapi 2024-07-27 19:51:17 -04:00
Paul Dino Jones 3ab4e69d64 More support for beyond stereo 2024-07-22 21:45:57 -04:00
Paul Dino Jones d581e3eeab Better handle volume math 2024-07-20 20:15:16 -04:00
Paul Dino Jones 40189f3226 Updated readme with some instructions on bass shakers 2024-07-20 16:39:53 -04:00
Paul Dino Jones 30a3c3a73f Add ability to use sound cards with more than 2 channels. 2024-07-20 16:31:17 -04:00
Paul Dino Jones dd20fe3eb4 Updated slog dependency 2024-07-17 17:30:00 -04:00
spikerguy da7902b460 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 6b122c45f3 Added log statement for ampfactor 2024-07-13 14:46:36 -04:00
Paul Dino Jones 45db6670c9 Add ampfactor to control final motor power 2024-07-13 14:21:35 -04:00
Paul Dino Jones e8e8b2495d Add abs brake test 2024-07-13 12:48:05 -04:00
Paul Dino Jones f1ddbf2fc0 Cleanup and fix issue that could cause abs to not work. 2024-07-13 11:36:21 -04:00
Paul Dino Jones 4f8870427f Set the fallback threshold for tyre slip effects to zero 2024-07-13 09:40:27 -04:00
Paul Dino Jones f3e7674aa7 Update so multiple defined serial haptic effects do not conflict with eachother. 2024-07-13 09:38:00 -04:00
Paul Dino Jones 42d63ffe89 Fix issues with data not being correctly sent to motors for sim haptic. 2024-07-12 20:42:55 -04:00
Paul Dino Jones 03b96e84b0 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 f413e749b9 Add sim haptic arduino logic and config variables 2024-07-09 15:46:51 -04:00
Paul Dino Jones 1bde76e3c7 Move haptic effect data into it's own structure. 2024-07-03 19:18:39 +00:00
Paul Dino Jones ea100ca2cf Add haptic effect to serial haptic device type 2024-07-01 22:45:54 +00:00
Paul Dino Jones 1ebffa9f63 Add basic support for arduino haptic motors 2024-07-01 15:23:46 +00:00
Paul Dino Jones 62e619780f 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 8f4729c77a Refactor diameter save file into libconfig to save a dependency. 2024-06-11 16:42:29 -04:00
Paul Dino Jones dd23468593 Updated config file example 2024-06-11 10:53:26 -04:00
Paul Dino Jones 674d23a5e9 Send string around for diameters file 2024-06-11 14:41:30 +00:00
Paul Dino Jones ccd7fa8bd0 Fix some issues with pulseaudio not stopping properly. 2024-06-11 14:29:09 +00:00
Paul Dino Jones 4ad6a1339c Add support for save file for tyre diameters 2024-06-10 00:46:11 +00:00
Paul Dino Jones a26b090935 Update to latest simapi 2024-06-10 00:45:21 +00:00
Paul Dino Jones db5de27fa7 Initialize tyre diameters 2024-06-10 00:44:51 +00:00
Paul Dino Jones e211b35c9d Remove need to specify values for usb pedal rumble effects. 2024-06-07 17:40:53 +00:00
Paul Dino Jones 8cbc21b1a0 Add attempt at ABS effect. Small refactorings 2024-06-07 04:21:08 +00:00
Paul Dino Jones 4530627fc2 Use correct sysfs path for csl elite v3 pedals 2024-06-07 03:02:53 +00:00
Paul Dino Jones 77a9368307 Refactor implementation of CSL Elite V3 Pedals 2024-06-06 21:42:08 +00:00
Paul Dino Jones b99773a7ee Refactor tyre effects to take threshold input from config file. Spell threshold correctly. 2024-06-05 04:21:39 +00:00
Paul Dino Jones 6c17c56813 Update valgrindrc to ignore libs outside project 2024-06-05 04:20:23 +00:00
Paul Dino Jones 980860eb60 Refactor effects into separate module 2024-06-05 03:43:48 +00:00
Paul Dino Jones 1bfe8c94ac Refactored tyre slip calculations 2024-06-03 18:42:16 -04:00
Paul Dino Jones 01277823ba Update to latest simapi to support new tyre slip calculations. 2024-06-03 18:40:50 -04:00
Paul Dino Jones 95a7b40184 Cleanup tyre locking implementation 2024-06-01 18:07:37 +00:00
Paul Dino Jones 557269c9f5 Implement tyre locking. Cleanup test gameloop 2024-05-30 20:39:47 +00:00
Paul Dino Jones ac215bfed3 Update to latest submodule 2024-05-30 18:27:41 +00:00
Paul Dino Jones 5bd816bdb1 Fix tachometer config error handling 2024-05-30 18:25:47 +00:00
Paul Dino Jones 54dde79ad8 Fix wheel slip calculations 2024-05-30 18:03:26 +00:00
Paul Dino Jones b01e0f461c Fix compilation error on portaudio codepath 2024-05-30 17:25:07 +00:00
Paul Dino Jones 580e6752ce Add usbhaptic support 2024-05-30 17:07:44 +00:00
Paul Dino Jones f5aac7d4b4 Add wheelslip and abs to test loop 2024-05-28 16:12:48 +00:00
Paul Dino Jones 5b4a77e510 Updated to latest simapi 2024-03-09 13:39:12 -05:00
Paul Dino Jones d7eb07e682 Updated to latest simapi 2024-03-09 13:36:18 -05:00
Paul Dino Jones b70475039f Fix wrong data type for velocity 2024-03-05 17:23:29 -05:00
Paul Dino Jones a621aa04d9 Fix compilation issue for wheel slip 2024-03-05 00:36:34 -05:00
Paul Dino Jones 04b368321f Fix compilation issues for arduino devices 2024-03-05 00:34:29 -05:00
Paul Dino Jones f1ad4f5f91 Refactored serial arduino devices. Created custom structs for sending data to arduino devices. 2024-03-05 04:51:49 +00:00
Paul Dino Jones 150c53c14b Added preliminary support for tyre slip and abs vibrations 2024-02-29 19:19:57 +00:00
Paul Dino Jones 47a091d9b4 Fixed simapi version 2024-02-28 14:10:13 -05:00
Paul Dino Jones 29ffafc4e9 Add makefiles for arduino and related documentation 2024-02-27 17:36:02 -05:00
Paul Dino Jones e71480ff4a Fixed signal handleing 2024-02-26 22:05:41 +00:00
Paul Dino Jones 635796c543 Add more user variables in arduino code 2024-02-17 18:50:57 +00:00
Paul Dino Jones 85ba9fcd56 Updated to latest simapi for wheel slip and abs 2024-02-16 16:16:26 +00:00
Paul Dino Jones ddb493fdc4 Slight refactor of detecting running sim 2024-01-02 19:25:11 +00:00
Paul Dino Jones 5e443a562a Fix latency on pulseaudio backend 2023-11-14 15:31:44 +00:00
Paul Dino Jones 534b03b781 Add basic info for pulseaudio backend into readme 2023-11-13 07:50:10 +00:00
Paul Dino Jones 66b9ecab59 Updated config for new pulseaudio backend 2023-11-13 07:46:04 +00:00
Paul Dino Jones 34f6f1eb79 Fix possible causes of leaks and segfaults 2023-11-12 13:27:17 -05:00
Paul Dino Jones 14a26fb165 Adding pulseaudio backend 2023-11-11 18:19:39 +00:00
Paul Dino Jones fbf71ce528 Improve game detection in gameloop 2023-10-12 05:26:55 +00:00
Paul Dino Jones c688cac20d Update to latest simapi to fix compilation issue 2023-10-11 15:57:55 +00:00
Paul Dino Jones 88041b2a95 Updated to latest simapi for ACC Support and more RFactor2 support 2023-10-07 19:38:03 +00:00
Paul Dino Jones 836fe4a3f5 Updating to latest simapi for RFactor2 fixes. 2023-10-01 15:03:19 +00:00
Paul Dino Jones 4a566d8996 Updating to latest simapi to support RFactor2 detection. 2023-09-29 21:26:03 +00:00
condaatje 854c0df56c Update README.md
remove workaround in favour of default success
2023-09-29 12:14:08 -04:00
condaatje c88828ca44 Update .gitmodules
ssh -> https gitmodule
2023-09-29 12:12:47 -04:00
condaatje dd302f7c49 add workaround for microsoft ssh clone requirements 2023-09-21 10:06:48 -04:00
Paul Dino Jones f4f0410686 Updating to latest simapi. Updating arduino sketches. Creating simlinks to simdata accordingly. 2023-07-17 03:42:34 +00:00
Paul Dino Jones 3692d31343 Use new simapi to get sim automatically. Use light version of simapi 2023-07-14 22:11:01 +00:00
Paul Dino Jones 257e6d7f8a Updated to simapi fix for simstatus 2023-07-14 20:36:27 +00:00
Paul Dino Jones f871fb51a8 Updated to new release of simapi 2023-07-14 20:18:24 +00:00
Paul Dino Jones cc60e6653a Updated README 2023-05-17 16:00:26 +00:00
Paul Dino Jones a6eaca66ad Major refactor. Adding sim wind 2023-05-17 15:56:57 +00:00
Paul Dino Jones 49144f9429 Added static analysis 2022-12-23 22:43:37 +00:00
Paul Dino Jones 55dd14b4f9 Moved to GPLv3 2022-12-23 22:42:37 +00:00
Paul Dino Jones 678ebbd236 Updated README 2022-12-19 15:02:41 -05:00
Paul Dino Jones 4fb23a1b30 Removed memcpy calls for better performance 2022-12-19 15:01:55 -05:00
Paul Dino Jones 1d3a5f26a6 Initial RFactor support 2022-12-01 21:36:55 +00:00
Paul Dino Jones 0eecea13a3 Updated readme 2022-12-01 21:27:57 +00:00
Paul Dino Jones cc3ca995e3 Display zeros and cleanup gameloop output 2022-12-01 21:25:26 +00:00
Paul Dino Jones 9325e207be monocoque initial commit 2022-10-31 15:11:02 +00:00
3 changed files with 0 additions and 0 deletions
Executable
BIN
View File
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.