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
|
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 |
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
|
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
|
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 |
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
|
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
|
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
|
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 |
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
|
a6eaca66ad
|
Major refactor. Adding sim wind
|
2023-05-17 15:56:57 +00: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
|
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 |