Git Product home page Git Product logo

yourcontrols's Introduction

https://github.com/Sequal32/yourcontrol Donate Release Downloads Discord

Shared Cockpit for Microsoft Flight Simulator 2020

Click the image below for information about the mod, and how to install!

 

Documentation

 

What's new?

 

Changelog

yourcontrols's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yourcontrols's Issues

2 planes?

Hello Sequal,

When trying this out with a friend, we were able to get connected and with him as the active, my plane was being towed around by him. Almost like my plane was on a rope. How do we get it synced so were the same plane? Below is the settings we used.
"port": 7777,
"update_rate": 20,
"buffer_size": 3,
"conn_timeout": 20.0,

Suport Working Title G1000/G3000

Describe the bug
when you install yourcontrols - it reverts touchscreen displays back to default. even if both users use working-title g300 mod

To Reproduce

  1. install working title g3000 mod
  2. enjoy the expanded options and realism of the touchscreens.
  3. install yourcontrols (drop the right folder into community)
  4. deploy sad face when you realized the touchscreens been reverted back

just wanted to call it out - hopefully the two mods can co-exist!

[BUG] Incompatibility with DA62x Mod

There is a conflict between YourControls and the DA62X-mod. With incompatibililty, I mean just having the YourControl-folder in the Community-folder (without having a shared cockpit session active) and trying to use the DA62X. Then the alternators fail and the the load only going up to ~70% at full throttle (there might be more that I have not realized yet).

I had a look at the folder structure of the two mods, I guess the problem arises from (one of) these two conflicting files:
image

As a next step, I also compared to the default DA62 in the “Official” folder. The difference of the PANEL.CFG is very easy to visualize (left: DA62X, middle: YourControl, right: default:
image
So here the analysis is straightforward: the two mods define different “Vcockpit05” objects.

The difference in the DA62_INTERIOR.xml is a bit more messy, In the DA62X version, of course there is some stuff added compared to the default version. But the YourControl-Version only differs marginally from the default one - and strangely: Different XML-Tags vs. , different variable name L vs I... I’m beginning to suspect that the YourControl-File is just an older version of the default?

[BUG] Blank white window when opening sharedcockpit.exe

Describe the bug
No UI is showing up and the software crashes when trying to resize the window

To Reproduce

  1. Launch sharedcockpit.exe

Expected behavior
UI should show up

Additional context
I have followed all tutorials.
v1.3.0 works fine
https://i.imgur.com/vzmox81.png

PLEASE ATTACH EVERYONE'S LOGS
07:39:07 [INFO] Creating webview...
07:39:07 [INFO] Spawning webview thread...

TBM FMC not syncing flight plan

Version: 1.2.4
Aircraft: TBM

Looks like navigating through the menus on the bottom screen (MFD, PFD, and COMMS) is not synced. When entering waypoints, the GPS on my screen shows the route, but on my friend's it does not.

Is this a limitation of simconnect as well?

Debug mode / logs

Hey,

I am looking into adding some sync vars, but I am not familiar with Rust. How can I run the program with some debugging/logging to test changes locally?

[Documentation] Include type of port forwarding in the readme

It'd be great if the readme could include the type of procotol used for port forwardings (TCP or UDP). This would make configuring firewalls and forwardings easier.

(Edit: that's not the label I wanted to assign, don't think I can change it)

Controls break when passing controls while on AP

So I tested this today and while in cruise on AP with ALT and NAV engaged in a 172 skyhawk I passed controls to the client and the plane started to rotate out of control as it didn't seem to be on AP or have the full plane config synced. I also noticed that when I pass controls the client plane jumped a bit forward and we were not in the same position anymore.

Happy to provide more details if needed

[BUG] Shared Cockit not running...

Describe the bug
sharedcockpit.exe runs but kill after 2 seconds on Windows 10.

Log File
22:31:33 [INFO] Creating webview...
22:31:33 [INFO] Spawning webview thread...

Folder
image

Server not closing

Version: 1.2.2

Attempting to use the button to close the server does not seem to do anything. The GUI still shows that the server is up. Using the X to actually close the GUI seems to close the server down.

Looks like a socket is staying open and getting hung up trying to close?

Add manifest file

Hi, canyou please add a manifest file?? because the MSFSAddons_Linker needs it to recognize the addon. Would be nice that the addon is recognized by that tool.

Thanks

[SUGGESTION] Move WASM module for better compatibility

It would be nice if you could move YourControlGauge.wasm to the new standalone modules folder.

From the development update on November 12th:

  • We added support for standalone WASM modules. These should be placed in a “modules” folder located at the root of the package, and will be loaded automatically when the said package is mounted. The “module_init” and “module_deinit” functions will be called upon loading/unloading.

Some advantages this could bring:

  • Easier to support new aircraft (no more aircraft-specific panel.cfg)
  • Better compatibility with mods (would fix part of #37) and other WASM-dependent stuff (such as RealSimGear's software or a future version of SPAD.Next)
  • Ability to support (Premium) Deluxe or other payware aircraft (without editing the official package's layout.json)
  • Potentially less breakage on MSFS updates due to no panel.cfg editing

Though I have no clue how well the new standalone WASM API works or how much work it would be to port YourControlGauge.wasm to it.

Off-Topic: thank you for making this! I'm considering using YourControls to make non-SimConnect accessible parts of the cockpit (e.g. Garmin map zoom) accessible to home cockpit builders. It's really nice to have the WASM part of this already solved.

Engines or Battery Switches Not Syncing

So Me and my friend were in the same aircraft c172 specifically andc the TBM 930 Same Issue
When i turn the Battery On It does not Sync on his end Same Thing With Engine start Key
also The Propeller Seems To Be static When We are connected its pretty Funny But Yeah man Great Start Cant Wait for the Update <3
Please add a Donation Area i wanna pledge in !

Aircraft out of sync

Friend and I tried this plugin out, we have used SmartCopilot so we have experience with this. We were on version 1.2.2.

Both aircraft:

  • TBM
  • Turned off
  • Both a KSEA
  • Ramp 184

I turned my server on and he connected. Instantly, his plane turned on and mine stayed off even though we did not manipulate switches inside the aircraft. My friend then pulled the crash bar down to shut all electrical systems off and then my plane turned on.

We tried pausing, and reloading, yet the issue persisted.

Light switches not syncing

Light switches in many aircraft (TBM, A320 neo, ...) are not syncing at all. We keep having to do weird stuff to make them sync but most of the time it is near impossible.

Help!

Need a tutorial video on Youtube!!! Please!!! My English is poor. The translation is literal and incomprehensible. Thanks!

Not an issue

Not an issue, but I heard you have a Discord server. Where do I find it?

[Feedback] Shared cockpit and VATSIM

Hey Sequal32,

JonFly and I tested the addon you wrote and overall we really enjoy it. We just did a test run again, but this time using VATSIM. Me controlling the aircraft and Jon doing coms. (https://www.twitch.tv/videos/747079454)
BAT and PITOT switches were not synced, but after using the latest version aka modifying the dat file it worked fine.

Jon was even able to bring up gears without me handing him controls which is awesome.

We noticed though that squawk did not work properly. code was synced, but when I switched to ALT reporting in the G1000 it did not sync that.
It also appears that radio standby/active frequencies are not correctly synced and we both had to make sure to set the right standby frequency before I switched them.

Transfer of controls is still wonky and messes things up, so we stopped using that for now.

This is an awesome addon and we really enjoy using it.

[BUG] COM/NAV/Squwak not syncing

Describe the bug
JonFly and I did another test with the new update and it overall went fine. Most values synced, but COM/NAV frequencies still don't sync. Neither through virtual cockpit or Spad.Next external controls. Squwak in the G1000 also did not sync. These systems are crucial to make a proper VATSIM pilot/copilot flight and I would really like to see them work.

Also when we passed controls while current pilot had AP engaged the plane started to spin out of control.

We flew a D40NG and selected the right config.

Video here http://www.twitch.tv/ndeavor/v/785039532?sr=a&t=0s

To Reproduce
Steps to reproduce the behavior, for example:

  1. Start as server.
  2. Transfer control to client
  3. Change standby frequencies for COM1 or NAV1 or change Squwak code.

Expected behavior
COM/NAV frequencies sync and change when transfer button is pressed.

Additional context
Might be that the wrong SimConnect variables/events are used.

PLEASE ATTACH EVERYONE'S LOGS
On mobile, will have to add them later, if needed

Discord
nDeavor

[BUG] A320 black screens

Describe the bug
All of the A32NXscreens spawn in blacked out. I've got the newest version of YourControls (2.3.2)

To Reproduce
Steps to reproduce the behavior, for example:

  1. Install YourControls
  2. Choose the A32NX
  3. Spawn

Expected behavior
The screens were supposed to be on

Sync error

When I am in mid-flight, in MSFS2020, my friend begins to slow down or starts to deviate from the route while I am still fine, when I try to reconnect I appear at 300 knots or more, he cannot go down because he is going up and I trying to go down This happens when one of the two is in command, and it is quite annoying because if we are in IVAO or Vatsim we have to end the flight because either he gets out of sync or I get out of sync, please fix this as soon as possible, this error came with him FBW 32NX mod Autopilot patch, please fix it

[SUGGESTION] Force getting control

I would suggest that it should be possible for the person not in control to force getting control (as an optional feature that can be activated by the server). If you fly in kind of an "instructor and student" configuration, this would add more realism and immersion.

[BUG] G1000 goes black after a short time (client) for client

Describe the bug
After a short time, G1000 avionics pfd and mfd go black for the connecting client

To Reproduce
Steps to reproduce the behavior, for example:

  1. Start as client
  2. Start everything up
  3. (unknown if this triggers it) fiddle with the mfd or pfd settings a couple of minutes
  4. Avionics go black

Expected behavior
Mfd and pfd screens go black on client side but stay on for server. The switches and dials still work to add input to them, as shown in server's side of the session

Unable to provide logs at this time.

1.2.0 - Starting exe goes straight to Not Responding

I downloaded the latest version, but upon opening it, it goes straight into a "not responding" state and you can't interact with it.

I looked for any logs I could provide, or discern for myself, but I don't see any.

[BUG] NDB frequency tuning on G1000 has an off-by-one error

Describe the bug
When tuning the NDB/ADF receiver in g1000 (e.g. C172 skyhawk) in a shared session the decimals are off by one between the two users, server and client. E.g. when tuning 0355 kHz and adjusting the last digit (5), one will show 5 while the other will show 4.

To Reproduce

  1. Two users spawn in on a common location, one starts server, other client and connects
  2. Start the plane (suggest C172 with G1000)
  3. Go to the ADF/DME on the G1000 and tune the frequency

Expected behavior
Both systems should show same frequency on NDB receiver, but they are off by one on the digit being tuned.

[BUG] Different navigation databases lead to desync

(Amazing project, we have tried it today and are abolutely sold.)

Describe the bug
yourcontrols 2.2.0
MSFS 1.10.7

I flew the A32NX today as a client and we ran into desync issues along the flight.
Everything went perfectly up until the point where an approach was manually entered into the CDU by the server.
You select an approach from a list in the CDU. If the client's and server's lists are the same it works out.

My server used Navigraph though, which replaces/expands the navigation database.
So his "25L" approach was the "07R" approach for me in the CDU's list.

To Reproduce

  1. Start as server (Navigraph user)
  2. Connect a client (non-Navigraph user)
  3. Let the server change the approach to something in his list
  4. Observe that the list elements will be sorted differently between client & server
  5. If the server selects one list entry, different approaches will be selected between server & client

Expected behavior
The list of approaches in the CDU should be the same between server & client.

Additional context
I don't know how to fix this properly but I wanted to use this issue to talk about it.
If you can't fix it, maybe mention that client and server should have the same navigation databases for a smooth experience.

Discord
@MrMinimal

System error

"I am getting the error: The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem." Reinstalling the program did not fix the problem for me.

Streamer mode, hide IP address

When streaming with shared cockpit there is a risk of exposing the IP address. Having an option to hide the IP would be great

Low Framerate

hi amazing work!
But when using this addon, i'm experiencing a considerable framerate loss.
I have tried with cessna 172 and airbus a320 flybyware with shared cokpit.

What can be the problem?

Airbus sharing.

Hello to you,

First, please excuse me for my poor English.
I risk posting a message, because I don't know where to post it elsewhere. Like many I also installed "Your controls". I had to open port 7777, but I didn't encounter any major difficulty.

It works relatively well with all airplanes EXCEPT the airbus. But when we try the Airbus my brother and I, the song is not the same. When we use a button, the other player does not notice it. The lighting works (the "dome" switch not every time). Both players can change their buttons, but this is ignored by the other player, as "your controls" usually do with other planes.

The MCDU is not shared, the altimeter / heading / VS / Speed ​​/ baro, are not shared. Basically the lamps work, two or three buttons to start the aircraft (but not the battery switches, not the "engine one and two" switches). Ecam and its interupteurs are not shared either ... Except, on youtube, I see players succeed in sharing the mcdu and others.
We can't do it, whereas with the other planes, there is no problem.

Do you have any idea what to do? We tested with FlyByWire A32 in "dev" or "stable" version, with or without update, we took the last update of "your controls" from yesterday, but that does not change anything.

Thank you for reading this post.

[BUG] Version 2.3.0 Simconnect issues

Simconnnect Issues
Your control do not connects to Simconnect, warning "Not connected".
Can't save settings, or start server or start as client, it becomes a blank page.

How To Reproduce

  1. Just start YourControl app as recommended (only after flight are ready and exactly equal to your partner);
  2. App starts;
  3. Simconnect "Not connected" warning;
  4. Push start server gives blank page, close it;
  5. Restart app;
  6. Trying to connect as client gives blank page, close it;
  7. Restart app;
  8. Trying to save any settings, gives blank page.

PS: No matter the procedures order.

*It's not working for me and my partner (FullerHKZ), same issues on both.

*Version 2.2.0 was working. I've tried to use it after 2.3.0 but it's not working anymore.

LOG
21:39:31 [INFO] Creating webview...
21:39:31 [INFO] Spawning webview thread...
21:39:31 [INFO] Connected to SimConnect.
21:39:31 [INFO] Running webview thread...
21:39:34 [INFO] Found 9 configuration file(s).
21:39:34 [INFO] Version 2.3.0 in use, 2.3.0 is newest.

Use React for frontend UI

Current code is very messy with all the state changes. Data doesn't update often, react would be a good fit. Perhaps a transition to Tauri would benefit as well.

Peer Timeout

image
Tried messing with values in config.json, to no avail.

[BUG] FMC Button presses not syncing

Describe the bug
We have had trouble with the FMC on all the planes we have flown so far (A32nx, TBM, DA62). When I am in control and am trying to program the FMC, my friend is not seeing any of the buttons being pressed on the fmc. I program the flight plan and his FMC remains on the initial page when the battery/app start. Due to his FMC not registering my inputs, he cannot see any part of the flight plan.

To Reproduce

  1. Start as server.
  2. Transfer control to client
  3. Start battery/apu.
  4. Try programming FMC

Expected behavior
The FMC will sync button presses between the clients so that my friend will actively see my programming of the FMC and the flight plan that is created.

Connecting Error

Client disconnected reason connection timed is the error I get. Is there a fix

This isnt a Issue This is a Thank You!

I STUMBLED ACROSS YOUR REPO AND I WAS JUST AMAZED BECAUSE I HAVE BEEN WAITING FOR THE SHARED COCKPIT FEATURE TO BE OUT SOONER BUT YUP YOU WIN MAN!

I WANNA HELP YOU MAKE THIS HUGE SO I MADE A VIDEO ABOUT IT ON MY CHANNEL AND SHARED THE HELL OF IT https://youtu.be/54t0nT768YM
"YOU Can Share Cockpits Now With This Mod😍"

PLEASE LET ME DONATE MY 5 BUCKS OF THANK YOU! ❤

Regards,
Michael or FSMADDNESSPILOT

[BUG] Model Matching in VATSIM

The Bug: When we are flying in VATSIM the model matching is working on our plane, Which means I can see our plane 2 times on each other and we cant use the shared cockpit at all in VATSIM. (one connected as pilot one connected observer and still see the plane 2 times).

The reproduce:

  1. Connecting to VATSIM
  2. Model Matching Works
  3. 2 Planes Over Each Other and blocking their view for the cockpit.

[BUG] TBM930 touchscreen controls have a mind of their own

Describe the bug
TBM930 touch screen controls spazz out

To Reproduce

  1. Start as server.
  2. Let client join
  3. Turn on battery, alternator
  4. Attempt to push some of the buttons on the touch screen controls

Expected behavior
Touch screen controls do random things instead of doing what you are trying. For example try hitting flightplan, then add origin.
The touch screen controls go into completely different menus.

PLEASE ATTACH EVERYONE'S LOGS
client_log.txt
server_log.txt

Auto Pilot

When we engage the AP, the trim of the non-flying pilot is going full up with a lot of noise, impossible to move. It become then impossible to transfer controls because the plane would have weird behavior.

To reproduce
Take off and engage AP

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.