dcs-bios / dcs-bios

http://dcs-bios.a10c.de
Other
248 stars 65 forks source link

F/A-18C Hornet EMERG/PARK Brake Handle Operation #256

Open hrnet940 opened 3 years ago

hrnet940 commented 3 years ago

I am having an issue getting this to work with two switches running through DCS BIOS. This is how I currently have it setup, but I can't get it to move from PARK after it is there.

const byte emergencyParkingBrakeRotatePins[3] = {51, 53}; DcsBios::SwitchMultiPos emergencyParkingBrakeRotate("EMERGENCY_PARKING_BRAKE_ROTATE", emergencyParkingBrakeRotatePins, 3); DcsBios::Switch2Pos emergencyParkingBrakePull("EMERGENCY_PARKING_BRAKE_PULL", 52);

I get the same response if I just use the two position switch option. It will move up and down and it will rotate from EMERG to PARK until I get it pulled and set to PARK than it won't move at all. I am finding this strange.

Thanks,

Wayne

hrnet940 commented 3 years ago

I get the atm (at the moment) but Unfixable in HUB Version?

Wayne

WarLord211 commented 3 years ago

in flightpanels repo there is a fix. But in HUB version its not updateable, since i have no rights and the main programmer takes a break

hrnet940 commented 3 years ago

So I need to use my mouse to control this until there is a fix? Not great, but no other options as of yet.

Wayne

WarLord211 commented 3 years ago

i dont know if a fix can come, since HUB is not in active development.

the F-18 file is old. may switch to the Older version of DCS-BIOS but in active development. https://github.com/DCSFlightpanels/dcs-bios

its the pre HUB version. (no "frontend")

hrnet940 commented 3 years ago

I have the same switch setup for the wing fold handle and it works every time. Why is the Brakes handle any different?

Thanks WarLord211.

Wayne

WarLord211 commented 3 years ago

ask ED ;) no the handle works different to the Hook. i found this out in Feb this year and worked on a solution to get it to work.

hrnet940 commented 3 years ago

Do you mean the Wing Fold handle? The Hook is a normal ON-OFF switch.

Wayne

WarLord211 commented 3 years ago

yes i mean the wing fold handle

hrnet940 commented 3 years ago

It's a real bummer that this won't get fixed anytime soon. It's the only thing keeping me from going 100% mouse/keyboard free flying. What do you fly the most? Happy Flying!!

Wayne

WarLord211 commented 3 years ago

Switching to flightpanel fork is the only thing to get an solution atm.

Im a Tomcat guy.

tueur-a-gage commented 1 year ago

.

Hi @WarLord211 n you mention above that there is a fix in flightpanels, but I switch from HUB DCS Bios to Flightpanels, and I still have the issue... I found an Issue that talk a bit of a similar issue... but maybe I could create an issue for that...

kbastronomics commented 1 year ago

isn't this code wrong

const byte emergencyParkingBrakeRotatePins[3] = {51, 53}; DcsBios::SwitchMultiPos emergencyParkingBrakeRotate("EMERGENCY_PARKING_BRAKE_ROTATE", emergencyParkingBrakeRotatePins, 3); DcsBios::Switch2Pos emergencyParkingBrakePull("EMERGENCY_PARKING_BRAKE_PULL", 52);

you define a 3 position switch but only use 2 positions const byte emergencyParkingBrakeRotatePins[3] = {51, 53};
shouldn't this be something like const byte emergencyParkingBrakeRotatePins[3] = {51, 53, 54}

or use DcsBios::Switch3Pos emergencyParkingBrakeRotate("EMERGENCY_PARKING_BRAKE_ROTATE", 51, 53);

the brake is 3 positions, 0 = emergency, 1 = park, 2 = release if only feeding it 2 positions it may not behave as expected.

this is not related to https://github.com/DCSFlightpanels/dcs-bios/issues/134#issuecomment-1370714107 which is a MAG SWITCH issue