<p>I wouldn’t mind having that fot surround views, even without the campaign elements, leaving the front view to BMS.<br /><br />Have you considered Flight Gear which is open source?</p>
Best posts made by Nikolas_A
-
RE: Mod: Using MSFS as rendering engine for Falcon BMS - and enable VR
-
RE: Sky luminosity in shared memory
OR, we could have multi-frustum rendering, and and a projection on the ceiling…
Latest posts made by Nikolas_A
-
RE: Viperpits?
I don’t think Mike does any maintenance work on the site anymore. We must contact Kukki or Romanski.
-
RE: Does a 3D scanner is usefool to create 3D model fidelity for BMS ?
@hiuuz a plastic model is not exact. Someone made a 3d model based on 3-views and photos, whith whatever error that implies. It was machined into a mold with tolerances (more error) and injection molded in plastic, which shrinks somewhat (more error). Then you want to 3d scan it (more error) and turn that point cloud into a 3d model (more error still).
If you can 3d scan a real aircraft, go for it. Else it’s better to start from scratch…
-
RE: Sky luminosity in shared memory
OR, we could have multi-frustum rendering, and and a projection on the ceiling…
-
RE: Exporting the Caution Light Panel with RTTR
You can use RTT to send shared memory data to another networked PC. On that PC or the sim PC you have to read the shared memory the same way
-
RE: Setting up RTT multicast
@gofrm I know they are different, but I believe the problem is common, router settings, port setting etc. I’d be surprised if one worked and the other didn’t.
The sim PC is on a switch btw, not directly on the router, could this matter?
MULTICAST_HOST_v4 = 244.0.0.44 #MULTICAST_HOST_v6 = ff12::44 MULTICAST_PORT = 45000 # By default, UDP multicast TTL is 1, i.e. packets are not routed outside your # subnet. If - and only if - you have good reason to route multicast into other # subnets, you might want to adjust the TTL according to your needs. MULTICAST_TTL = 1 # Which BMS shared memory data areas should be be sent via multicast? # Set 0 to disable, 1 to enable. If all are 0, multicast is disabled. MULTICAST_F4 = 1 MULTICAST_BMS = 1 MULTICAST_OSB = 1 MULTICAST_IVIBE = 1
-
RE: Setting up RTT multicast
@gofrm said in Setting up RTT multicast:
Does it fail to connect?
Do you have any output on your serial monitor?Yes, the Teensy reports it’s IP and Res:1 on the serial monitor, the MFD client shows Xs in the MFD frames
Are you sure your router supports multicast? Maybe it has to be enabled there as well.
I see Multicast: IGMPv2 in the settings. Supports v1 and v2 also.
Did you enable multicast your server config? - While the values should be ok, it’s off by default and has to be enabled by uncommenting the relevant lines.
Yes. Also the set g_bExportRTTTextures 1 line was missing, I added it.
I’ve opened the ports both on the sim pc and the one I’m running the client on -
RE: Setting up RTT multicast
Alright! It compiles. Now to set the IPs. I put the defaults back in but it doesn’t work. The MFDs extract locally, so from the BMS config I’m ok
-
RE: Setting up RTT multicast
I did that, still getting the same error… Some obvious syntax error is staring me in the face…
@gofrm said in Setting up RTT multicast:
Simply put the port number directly as the second parameter or better create a simple uint16_t or int on line 9:
int port = 44000;
taking my previous post into account, use 45000.
-
RE: Setting up RTT multicast
@gofrm thanks, I’ll try these and report back. I new the IP settings where wrong but since I had compile errors I wanted to get those out of the way first…
-
RE: Setting up RTT multicast
@gofrm ok, I’m trying to make it work with the NativeEthernet library on the Teensy. I’m making some newbie mistake because I get an “expected primary-expression before ‘.’ token” on line 44
#include <SPI.h> #include <NativeEthernet.h> #include <NativeEthernetUdp.h> // Enter a MAC address and IP address for your controller below. // The IP address will be dependent on your local network: byte mac[] = {0x04, 0xE9, 0xE5, 0x0C, 0xC6, 0x40}; IPAddress ip(192, 168, 1, 113); EthernetServer port(44000); #include "flightData.h" byte msgbuf[3000]; int respCnt = 0; enum SMEM_DATA : byte { F4 = 0U, //FalconSharedMemoryArea (FlightData) BMS, //FalconSharedMemoryArea2 (FlightData2) OSB, //FalconSharedOsbMemoryArea (OSBData) IVIBE, //FalconIntellivibeSharedMemoryArea (IntellivibeData) DATA_NUM }; void setup(void) { Serial.begin(115200); Ethernet.begin(mac, ip); while (Ethernet.linkStatus() == LinkOFF) { delay(500); Serial.print("."); } Serial.println(""); Serial.print("IP address: "); Serial.println(Ethernet.localIP()); digitalWrite(LED_BUILTIN, HIGH); int res = EthernetUDP.beginMulticast(ip, port); Serial.print("Res: "); Serial.println(res); } void loop() { char newLine[26]; int numBytes = EthernetUDP.parsePacket(); if (numBytes) { EthernetUDP.read(msgbuf, numBytes); //detect package type (see SMEM_DATA enum) unsigned char dataNo = msgbuf[8]; if (dataNo == F4) { // cast packet-data to flightdata.h struct, skip header (+9) auto *data = (FlightData *) (msgbuf + 9); // do something with the data // some examples (see flightdata.h) float a = data->rpm; float b = data->oilPressure; float c = data->fuelFlow; float d = data->internalFuel; Serial.print("int. fuel: "); Serial.println(d); } } }