Jump to content
The simFlight Network Forums


  • Content Count

  • Joined

  • Last visited

Everything posted by Dinesh

  1. Hello Sir, Thank you for your quick reply OACSP is a library for Arduino. It stands for open airbus cockpit. This library helps in extracting data from Fs and sending it to Arduino to be worked on. The library is capable of both, extracting and writing data to the flight sim. problem being I cannot extract double floating point values. hence I am individually trying to get the data out of the simulator. I am not aware of any program that can track your Arduino process if there is please do tell me. For the LCD to work there is a simple library and to print anything on the lcd
  2. Hello, so I have been working with the OACSP library for a bit now and works just fine. But now, I want to eliminate that and send values to Arduino with fsuipc and lua script. The script seems to send data to Arduino and the Arduino does seem to receive data as the RX is blinking. But when I use an LCD screen to print the data it shows nothing. Could you please help me out here. The LCD screen I use is I2c interfaced, hence does not need the serial port to be available. Also randomly the data would start appearing on the screen. I am also logging the data using ipc.log and that data seems con
  3. presently I couldn't find any software that connects p3d and Matlab. Is there a possibility of connecting p3d and Matlab using fsuipc? There is an option of connecting xplane with Matlab. What xplane does is send UDP packets of data to a specified IP address and Matlab can be the receiving IP and hence data can get transferred. This got me thinking if something similar to this is possible with p3d and Matlab.
  4. I am trying to interface P3D and Matlab to create some control loops like phugoid control etc. I was thinking if the following idea would work Run Matlab on a PC and P3D on another and then use LAN connection with wideFs to exchange data Thanks in advance Dinesh
  5. Can you suggest any good text editor for LUA scripting? currently, I am using notepad and store it with UTF8 encoding
  6. Hello, I am trying to extract variables from the P3DV4 and store them on a CSV. The given example works great for me. But when I try to write the code myself it doesn't work. Moreover, when I just copy paste the code with varied parameters I still get some error. I have attached the error below along with the code. Please do help me out. CODE-------------------------------------------------------------------------------------------------------------------------------------------- -- "Record to CSV" example data logging LUA plug-in, by Pete Dowson, September 2008 -- Open an exisi
  7. Thank You for your help sir It worked as soon as I used SINT instead of UNIT. I am now trying to read altitude from the simulator. It says the offset has two parts, 0574 and 0570. now if I want to read the height do I make two independent events and read them?
  8. Hello, I have been trying to extract some flight sim variables for physical representation such as gauges, using the oacsp library for Arduino and command gateway. I am trying to extract the bank angle data mapped with offset 0x057C. When I bank left I get some useful reading and I am able to convert it into degrees. But when rolled right, I get a constant value of 0 irrespective of my bank angle. Could you please help me out. I have attached my Arduino code below. Please disregard the file name pitch_read.ino
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.