Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] SA342 Gazelle #689

Closed
UprightAnimal opened this issue Jun 5, 2024 · 0 comments · Fixed by #690
Closed

[BUG] SA342 Gazelle #689

UprightAnimal opened this issue Jun 5, 2024 · 0 comments · Fixed by #690
Labels
bug A bug affecting dcs-bios

Comments

@UprightAnimal
Copy link

DCS-BIOS version 0.8.0

DCS-BIOS Control "CAMERA_CENTERING"

Describe the bug
2024-06-05 19:29:39 ERROR error processing input for CAMERA_CENTERING
2024-06-05 19:29:39 ERROR [string "C:\Users\**\Saved Games\DCS\Scripts\DCS-BIOS\lib\modules\Module.lua"]:878: attempt to index a nil value

To Reproduce
Arduino Leonardo sketch:
DcsBios::ActionButton cameraCenteringToggle("CAMERA_CENTERING", "TOGGLE", 2);
Started either SOCAT or DCS-BIOS Bridge, started the 'Static tanks' instant action for SA342M in DCS.

Pressing button connected to arduino pin 2 shows the command in BIOS Bridge or SOCAT, but no change in-game is reflected.
The VCB Camera Centering switch should toggle.

Sending the same command (Device 15, Command 3281, value 1) in DCSBIOS-Insight returns a value of 1 but nothing happens in-game. Changing the command ID to 3001 in DCSBIOS-Insight does toggle the in-game element.
All the elements in the SA342's "PE" group respond to a command ID offset by -280.

Screenshots

This has no effect:
image

This works:
image

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug affecting dcs-bios
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants