464 Commits
Author SHA1 Message Date
Paul Dino Jones 4b94e68d6c consolidate cleanup gotos 2025-09-01 19:30:43 -04:00
Paul Dino Jones 7271a26e23 clean up argument parsing a little 2025-09-01 17:24:26 -04:00
Paul Dino Jones 6b5e16f59d fix freeing of xdg handle when help is specified 2025-09-01 11:52:52 -04:00
Paul Dino Jones e0337125d3 Add beginnings of custom arduino devices. 2025-09-01 11:38:36 -04:00
Paul Dino Jones 638c7d29c3 update to lastest simapi 2025-09-01 10:59:03 -04:00
Sebastian NoeandSebastian Noe edde4e2cad 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 ae8904b7cf fix formatting of monocoque.config 2025-08-31 19:20:58 -04:00
Paul Dino Jones b484d7e5da add newer and better examples to monocoque.config 2025-08-31 19:14:33 -04:00
Paul Dino Jones 96a5e689ff Update to latest simapi 2025-08-29 19:15:15 -04:00
Paul Dino Jones 7926706ea1 Update to latest simapi to fix tyre diameters 2025-08-29 19:01:46 -04:00
Paul Dino Jones fce4d8e33c updated to latest simapi for tyre diameter and turbo boost 2025-08-28 17:00:08 -04:00
Paul Dino Jones 5fcea3ad88 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 e22a8911b8 updated to latest simapi 2025-08-25 20:28:16 -04:00
Paul Dino Jones 29c6ebe7a2 Update to latest simapi 2025-08-25 17:46:48 -04:00
Paul Dino Jones fc21669d81 Add disable_audio flag 2025-08-15 04:19:39 -04:00
Paul Dino Jones 03b1654112 Fix gear and engine effects remove some unnecessary code 2025-07-30 03:32:41 -04:00
Morgan Garcia 40bb0b2929 Update moza.c
Change MOZA_MAGIC_VALUE back to 0x0d from 13.
2025-07-29 20:43:49 -04:00
Morgan Garcia e13faeabc7 Update moza.c
Changed MOZA_TIMEOUT back to 1000.
2025-07-29 20:43:49 -04:00
Morgan Garcia f66af0d424 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 477fcd9c6c 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 f853cd9f79 Update gameloop.c
Text output update
2025-07-29 20:43:49 -04:00
Morgan Garcia 924354afa1 Update moza.c
Fixed error in BIT number increasing.
2025-07-29 20:43:49 -04:00
Morgan Garcia 409a6b7707 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 d59e46cc64 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 ba4c96a3f0 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 f5a2b38ee2 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 59d2ff935f fix serial receiving 2025-07-14 00:15:47 -04:00
Paul Dino Jones 34b258ab1b fix misleading log message 2025-06-16 13:19:13 -04:00
Paul Dino Jones 9261123491 accept usbwheel for wheel on usb devices in config 2025-06-16 13:02:34 -04:00
Oleg Makarenko 73c59f5b29 Add Simagic GT Neo to the udev rules, opening hidraw 2025-06-15 22:59:41 -04:00
Oleg Makarenko aaf0e4b6bc Add lua config for Simagic GT Neo 2025-06-15 22:59:41 -04:00
Oleg Makarenko 6d5b34f4b9 Add GT Neo LED update feature 2025-06-15 22:59:41 -04:00
Paul Dino Jones e5cee3c228 update to latest simapi for lmu support 2025-06-14 19:11:44 -04:00
Paul Dino Jones 9edd275984 Update to latest simapi for improvements to tyre diameter detection 2025-04-30 19:07:05 -04:00
Paul Dino Jones af060ff574 update to latest simapi to fix detecting diameters while simd is running 2025-04-29 00:01:39 -04:00
Paul Dino Jones ab956af9cb fix code around generating diameters config 2025-04-29 00:00:58 -04:00
Paul Dino Jones f81588a2a5 Re-enable shared memory test prog 2025-04-28 20:38:34 -04:00
Mon ouïe 808be1aec0 Add udev rule for Simagic P1000 support 2025-04-21 14:09:46 -04:00
Mon ouïe 3733261647 Fix HID send report commands for Simagic P1000 Haptic modules 2025-04-21 14:09:46 -04:00
Paul Dino Jones 1a1ede9f4b add function to expand tilde and expand tilde on device specific config files 2025-04-07 10:56:38 -04:00
Paul Dino Jones a3d0cbcb43 small cleanup to fix memory leaks 2025-04-07 10:56:38 -04:00
Paul Dino Jones c0680515ae add -c for specified config file option 2025-04-07 10:56:38 -04:00
Paul Dino Jones cd5be23235 fix issue with freeing lua file on cammus c12 2025-03-27 17:12:23 -04:00
Paul Dino Jones af37299d25 Add extra log information on revburner 2025-03-27 15:52:51 -04:00
Paul Dino Jones 8a2ce50187 improvements for cammus c12 2025-03-27 15:38:35 -04:00
Paul Dino Jones dbe6908386 fix arduino lua device free 2025-03-27 14:47:34 -04:00
Paul Dino Jones 51cc376eb9 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 415526c4d3 Move release of serial adapter to before underlying device is released 2025-03-26 18:25:26 -04:00
Paul Dino Jones 52f5c824f8 Fix some pulseaudio stuff 2025-03-26 17:35:05 -04:00
Paul Dino Jones ce200b8d21 Improve logging over device specific configs 2025-03-26 16:41:18 -04:00