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
|
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
|
83e92391f4
|
added global refresh rate -f
|
2025-01-17 10:29:27 -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
|
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
|
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
|
79b3aba157
|
Use STARTLED default of 1
|
2025-01-02 16:21:15 -05:00 |
Paul Dino Jones
|
b90dfdfc31
|
Add start led
|
2025-01-02 15:54:46 -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
|
12509e9709
|
Added ampfactor to serial haptic log message
|
2024-10-10 15:00:39 -04:00 |
Paul Dino Jones
|
d507749f39
|
upgraed to latest simapi
|
2024-10-06 00:49:08 -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
|
ec6cb073ee
|
Fixed overlook device settings in config processing
|
2024-09-19 21:22:00 -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
|
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 |